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

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

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

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

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

    統計

    留言簿

    閱讀排行榜

    評論排行榜

    2015年2月10日 #

    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 @ 2015-02-10 17:07 瞿祥軍 閱讀(643) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲午夜电影在线观看| 亚洲国产成人久久精品app| 日韩成人精品日本亚洲| 亚洲成在人线aⅴ免费毛片| 亚洲中文久久精品无码1| 久久国产免费福利永久| 亚洲激情黄色小说| 无码人妻一区二区三区免费手机| 亚洲精品美女视频| 国产片AV片永久免费观看 | 动漫黄网站免费永久在线观看| 亚洲嫩模在线观看| 1000部拍拍拍18免费网站| 亚洲国产av美女网站| 女人与禽交视频免费看| 亚洲av日韩aⅴ无码色老头| 亚洲国产综合无码一区二区二三区 | 国产亚洲精品仙踪林在线播放| 深夜国产福利99亚洲视频| 美美女高清毛片视频黄的一免费| 亚洲国产aⅴ综合网| 国产日韩一区二区三免费高清| 亚洲制服中文字幕第一区| 永久免费的网站在线观看| 国产精品亚洲专区无码WEB| mm1313亚洲精品无码又大又粗| 久久WWW免费人成—看片| 婷婷亚洲综合五月天小说| 中文字幕人成无码免费视频| 亚洲高清国产拍精品熟女| 亚洲自偷自偷在线制服| free哆啪啪免费永久| 菠萝菠萝蜜在线免费视频| 黑人精品videos亚洲人| 成人性生交大片免费看无遮挡 | 久久黄色免费网站| 亚洲精品一卡2卡3卡四卡乱码| 久久亚洲2019中文字幕| 99在线精品视频观看免费| xxxxxx日本处大片免费看 | 久久亚洲精品人成综合网|