<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    探討Java技術,努力學習,分享心得

    我不是技術控,拿來主義其實也挺好,但是一定要有自己的想法

    統計

    留言簿

    閱讀排行榜

    評論排行榜

    Maven的工程目錄結構

    pom.xml 的參照模型

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.brms.governor</groupId>
    <artifactId>brms-governor</artifactId>
    <version>0.9.0</version>
    <packaging>pom</packaging>
    <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <java-version>1.6</java-version>
    <java-encoding>UTF-8</java-encoding>
    <dpap-version>1.1.2</dpap-version>
    <brms-server-version>0.9.0</brms-server-version>
    <brms-governor-version>0.9.0</brms-governor-version>
    <wro4j-version>1.6.3</wro4j-version>
    <wro4j-minimize>false</wro4j-minimize>
    <mybatis-version>3.0.5</mybatis-version>
    <mybatis-spring-version>1.0.1</mybatis-spring-version>
    </properties>
    <dependencyManagement>
    <dependencies>
    <dependency>
    <groupId>com.brms.server</groupId>
    <artifactId>brms-server-base</artifactId>
    <version>${brms-server-version}</version>
    </dependency>
    <dependency>
    <groupId>redis.clients</groupId>
    <artifactId>jedis</artifactId>
    <version>2.1.0</version>
    <exclusions>
    <exclusion>
    <groupId>commons-pool</groupId>
    <artifactId>commons-pool</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context-support</artifactId>
    <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.data</groupId>
    <artifactId>spring-data-redis</artifactId>
    <version>1.1.1.RELEASE</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context-support</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.5</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jsp-api</artifactId>
    <version>2.0</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.8.2</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>oracle</groupId>
    <artifactId>oracle-jdbc</artifactId>
    <version>10.1.0.2.0</version>
    <scope>test</scope>
    </dependency>
    <!-- mybatis 坐標 -->
    <dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis</artifactId>
    <version>${mybatis-version}</version>
    </dependency>
    <dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-spring</artifactId>
    <version>${mybatis-spring-version}</version>
    </dependency>
    <!-- DPAP framework start -->
    <dependency>
    <groupId>com</groupId>
    <artifactId>framework-shared</artifactId>
    <version>${dpap-version}</version>
    </dependency>
    <dependency>
    <groupId>com</groupId>
    <artifactId>framework-server</artifactId>
    <version>${dpap-version}</version>
    <exclusions>
    <exclusion>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>com</groupId>
    <artifactId>framework-sso</artifactId>
    <version>${dpap-version}</version>
    </dependency>
    <dependency>
    <groupId>org.lazyluke</groupId>
    <artifactId>log4jdbc-remix</artifactId>
    <version>0.2.7</version>
    </dependency>
    <!-- DPAP framework end -->
    </dependencies>
    </dependencyManagement>
    <distributionManagement>
    <repository>
    <id>releases</id>
    <name>release repository</name>
    <url>http://私服:端口/nexus/content/repositories/releases</url>
    </repository>
    <snapshotRepository>
    <id>snapshots</id>
    <name>snapshot repository</name>
    <url>http://私服:端口/nexus/content/repositories/snapshots</url>
    </snapshotRepository>
    </distributionManagement>
    <build>
    <pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.eclipse.m2e</groupId>
    <artifactId>lifecycle-mapping</artifactId>
    <version>1.0.0</version>
    <configuration>
    <lifecycleMappingMetadata>
    <pluginExecutions>
    <pluginExecution>
    <pluginExecutionFilter>
    <groupId>ro.isdc.wro4j</groupId>
    <artifactId>wro4j-maven-plugin</artifactId>
    <versionRange>[1.6.0,)</versionRange>
    <goals>
    <goal>run</goal>
    </goals>
    </pluginExecutionFilter>
    <action>
    <execute />
    </action>
    </pluginExecution>
    </pluginExecutions>
    </lifecycleMappingMetadata>
    </configuration>
    </plugin>
    <plugin>
    <groupId>ro.isdc.wro4j</groupId>
    <artifactId>wro4j-maven-plugin</artifactId>
    <version>${wro4j-version}</version>
    <executions>
    <execution>
    <phase>process-resources</phase>
    <goals>
    <goal>run</goal>
    </goals>
    </execution>
    </executions>
    <configuration>
    <minimize>${wro4j-minimize}</minimize>
    <extraConfigFile>${basedir}/src/main/resources/com/module/${moduleContext}/server/META-INF/wro.properties</extraConfigFile>
    <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
    <cssDestinationFolder>${project.build.directory}/classes/com/module/${moduleContext}/server/META-INF/styles/wro/</cssDestinationFolder>
    <jsDestinationFolder>${project.build.directory}/classes/com/module/${moduleContext}/server/META-INF/scripts/wro/</jsDestinationFolder>
    <wroFile>${basedir}/src/main/resources/com/module/${moduleContext}/server/META-INF/wro.xml</wroFile>
    <groupNameMappingFile>${project.build.directory}/classes/com/module/${moduleContext}/server/META-INF/wromapping.properties</groupNameMappingFile>
    </configuration>
    </plugin>
    <plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat6-maven-plugin</artifactId>
    <version>2.1</version>
    </plugin>
    </plugins>
    </pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <version>2.1.1</version>
    <configuration>
    <attach>true</attach>
    <encoding>UTF-8</encoding>
    </configuration>
    <executions>
    <execution>
    <phase>compile</phase>
    <goals>
    <goal>jar</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.5.1</version>
    <configuration>
    <source>${java-version}</source>
    <target>${java-version}</target>
    <encoding>${java-encoding}</encoding>
    </configuration>
    </plugin>
    </plugins>
    </build>
    <profiles>
    <profile>
    <id>dev</id>
    <properties>
    <staticServer>http://靜態資源服務器/dpap/dpap</staticServer>
    </properties>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <configuration>
    <webResources>
    <resource>
    <directory>src/main/webapp</directory>
    <includes>
    <include>WEB-INF/web.xml</include>
    </includes>
    <filtering>true</filtering>
    </resource>
    </webResources>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>
    <profile>
    <id>normal</id>
    <properties>
    <staticServer>http://靜態資源服務器/dpap/dpap</staticServer>
    </properties>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <configuration>
    <webResources>
    <resource>
    <directory>src/main/webapp</directory>
    <includes>
    <include>WEB-INF/web.xml</include>
    </includes>
    <filtering>true</filtering>
    </resource>
    </webResources>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>
    <profile>
    <id>sit</id>
    <properties>
    <staticServer>http://靜態資源服務器/dpap/dpap</staticServer>
    </properties>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <configuration>
    <webResources>
    <resource>
    <directory>src/main/webapp</directory>
    <includes>
    <include>WEB-INF/web.xml</include>
    </includes>
    <filtering>true</filtering>
    </resource>
    </webResources>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>
    <profile>
    <id>prd</id>
    <properties>
    <staticServer>http://靜態資源服務器/dpap/foss</staticServer>
    </properties>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <configuration>
    <webResources>
    <resource>
    <directory>src/main/webapp</directory>
    <includes>
    <include>WEB-INF/web.xml</include>
    </includes>
    <filtering>true</filtering>
    </resource>
    </webResources>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>
    </profiles>
    <modules>
    <module>common-login</module>
    <module>common-sysconfig</module>
    <module>common-frameworkimpl</module>
    <module>common-dict</module>
    <module>common-monitor</module>
    <module>common-message</module>
    <module>common-sync</module>
    <module>common-authorization</module>
    </modules>
    </project>

    posted on 2015-02-10 17:07 瞿祥軍 閱讀(643) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
    博客園   IT新聞   Chat2DB   C++博客   博問  
     
    主站蜘蛛池模板: 精品国产亚洲男女在线线电影 | 免费福利在线观看| 成人免费视频77777| 91精品国产亚洲爽啪在线影院| 国产免费拔擦拔擦8X高清在线人| 中文字幕亚洲乱码熟女一区二区| fc2免费人成在线视频| 在线亚洲97se亚洲综合在线| 久久精品成人免费观看97| 亚洲人成在线播放网站| 伊人免费在线观看| 亚洲国产成人久久精品影视| 97国产在线公开免费观看| 亚洲成综合人影院在院播放| 国产在线国偷精品产拍免费| 亚洲风情亚Aⅴ在线发布| 日韩精品电影一区亚洲| 国产精品美女久久久免费| 色拍自拍亚洲综合图区| 99久久久国产精品免费无卡顿| 亚洲日韩一区二区一无码| 亚洲国产精品一区二区第一页免| a级毛片免费观看网站| 亚洲精品线在线观看| 18禁超污无遮挡无码免费网站国产 | 亚洲一区中文字幕| 国产jizzjizz视频全部免费| 一本到卡二卡三卡免费高| 亚洲嫩草影院久久精品| 成年在线网站免费观看无广告| 国产精品亚洲а∨天堂2021| 在线a亚洲v天堂网2019无码| 59pao成国产成视频永久免费| 亚洲精品无码久久久久APP | 青娱分类视频精品免费2| 黄色网址大全免费| 亚洲成a人片77777老司机| 久久久久国产精品免费免费搜索| 一级成人a做片免费| 久久亚洲精品成人无码网站| 四虎永久精品免费观看|