`
jin8000608172
  • 浏览: 141894 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

maven实战

阅读更多
<settings>
	<!--<localRepository>D:/maven-2.2.1/.m2/repository</localRepository>-->
	<proxies>
		<proxy>
			<id>normal</id>
			<active>true</active>
			<protocol>http</protocol>
			<username>congmin.jin</username>
			<password>123456</password>
			<host>nexus.tech.2caipiao.com/</host>
			<port>80</port>
			<nonProxyHosts>nexus.tech.2caipiao.com</nonProxyHosts>
		</proxy>
	</proxies>
	<mirrors>
		<mirror>
			<!--This is used to direct the public snapshots repo in the profile below 
				over to a different nexus group -->
			<id>nexus-public-snapshots</id>
			<mirrorOf>public-snapshots</mirrorOf>
			<url>http://nexus.tech.2caipiao.com/content/groups/public-snapshots
			</url>
		</mirror>
		<mirror>
			<!--This sends everything else to /public -->
			<id>nexus</id>
			<mirrorOf>*</mirrorOf>
			<url>http://nexus.tech.2caipiao.com/content/groups/public</url>
		</mirror>
	</mirrors>
	<profiles>
		<profile>
			<id>development</id>
			<repositories>
				<repository>
					<id>central</id>
					<url>http://central</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>central</id>
					<url>http://central</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</pluginRepository>
			</pluginRepositories>
		</profile>
		<profile>
			<!--this profile will allow snapshots to be searched when activated -->
			<id>public-snapshots</id>
			<repositories>
				<repository>
					<id>public-snapshots</id>
					<url>http://public-snapshots</url>
					<releases>
						<enabled>false</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>public-snapshots</id>
					<url>http://public-snapshots</url>
					<releases>
						<enabled>false</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>development</activeProfile>
	</activeProfiles>
	<servers>
		<server>
			<id>Releases</id>
			<username>congmin.jin</username>
			<password>123456</password>
		</server>
		<server>
			<id>Snapshots</id>
			<username>deployment</username>
			<password>deploydv89</password>
		</server>
		<server>
			<id>thirdparty</id>
			<username>congmin.jin</username>
			<password>123456</password>
		</server>
		<server>
            <id>tomcat-66-16</id>
			<username>admin</username>
			<password>aa123123</password>
		</server>
		<server>
            <id>tomcat-localhost</id>
			<username>admin</username>
			<password>aa123123</password>
		</server>
	</servers>
</settings>


<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.xxx.moneygateway</groupId>
	<artifactId>moneygateway-rootpom</artifactId>
	<version>1.0-SNAPSHOT</version>
	<packaging>pom</packaging>
	<name>moneygateway-rootpom</name>
	<modules>
		<module>moneygateway-common</module>
		<module>moneygateway-client</module>
		<module>moneygateway-server</module>
	</modules>
</project>



<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>
  <parent>
		<groupId>com.xxx.maven</groupId>
		<artifactId>parentpom-jar</artifactId>
		<version>1.0.0-SNAPSHOT</version>
  </parent>
  <groupId>com.xxx.moneygateway</groupId>
  <artifactId>moneygateway-common</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <name>Moneygateway-common for The Moneygateway project</name>
  <description>提款银行公用包</description>
  
  <dependencies>
  		<dependency>
			<groupId>com.xxx.coreservice</groupId>
			<artifactId>coreservice-common</artifactId>
			<version>1.3.0-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-asm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.objectweb</groupId>
                    <artifactId>asm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-commons-annotations</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-jdbc</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-tx</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-orm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-simple</artifactId>
                </exclusion>
            </exclusions>
		</dependency>
  </dependencies>
</project>


<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>
  <parent>
		<groupId>com.xxx.maven</groupId>
		<artifactId>parentpom-jar</artifactId>
		<version>1.0.0-SNAPSHOT</version>
  </parent>
  <groupId>com.xxx.moneygateway</groupId>
  <artifactId>moneygateway-common</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <name>Moneygateway-common for The Moneygateway project</name>
  <description>提款银行公用包</description>
  
  <dependencies>
  		<dependency>
			<groupId>com.xxx.coreservice</groupId>
			<artifactId>coreservice-common</artifactId>
			<version>1.3.0-SNAPSHOT</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-asm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.objectweb</groupId>
                    <artifactId>asm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-commons-annotations</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-jdbc</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-tx</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-orm</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-simple</artifactId>
                </exclusion>
            </exclusions>
		</dependency>
  </dependencies>
</project>


<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>
 <parent>
		<groupId>com.xxx.maven</groupId>
		<artifactId>parentpom-jar</artifactId>
		<version>1.0.0-SNAPSHOT</version>
  </parent>
  <groupId>com.xxx.moneygateway</groupId>
  <artifactId>moneygateway-client</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <name>client for moneygatewayservice</name>
  <description>client for moneygatewayservice</description>
  
   <properties>
        <spring.version>3.2.3.RELEASE</spring.version>
   </properties>
  
  	<build>
		<finalName>moneygateway</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.12.3</version>
				<configuration>
					<!-- 防止testng的干扰 -->
					<testNGArtifactName>none:none</testNGArtifactName>
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
	</build>
	
  <dependencies>
  	<dependency>
       <groupId>com.xxx.moneygateway</groupId>
       <artifactId>moneygateway-common</artifactId>
       <version>1.0.0-SNAPSHOT</version>
   </dependency>
    <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
			<groupId>com.xxx.memcachedclient</groupId>
			<artifactId>xxx-memcachedclient</artifactId>
			<version>2.0.0-SNAPSHOT</version>
		</dependency>
        <dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.10</version>
			<scope>test</scope>
		</dependency>
  </dependencies>
</project>

<?xml version="1.0"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.xxx.maven</groupId>
		<artifactId>parentpom-war</artifactId>
		<version>1.0.0-SNAPSHOT</version>
	</parent>

	<groupId>com.xxx.moneygateway</groupId>
	<artifactId>moneygateway-server</artifactId>
	<version>1.0.0-SNAPSHOT</version>
	<packaging>war</packaging>
	<name>moneygateway-server Maven Webapp</name>

	<properties>
		<spring.version>3.2.3.RELEASE</spring.version>
	</properties>

	<profiles>
		<profile>
			<id>product</id>
			<dependencies>
				<dependency>
					<groupId>com.xxx.passwordencrypt</groupId>
					<artifactId>xxx-passwordencrypt</artifactId>
					<version>2.0.1</version>
				</dependency>
			</dependencies>
		</profile>
	</profiles>

	<build>
		<finalName>moneygateway</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.12.3</version>
				<configuration>
					<!-- 防止testng的干扰 -->
					<testNGArtifactName>none:none</testNGArtifactName>
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>com.xxxpiao</groupId>
			<artifactId>tiger-commons</artifactId>
			<version>1.2.1-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.xxx.coreservice</groupId>
			<artifactId>coreservice-client</artifactId>
			<version>1.3.1-SNAPSHOT</version>
		</dependency>
		<dependency>
		  <groupId>com.xxx.payment</groupId>
		  <artifactId>payment-client</artifactId>
		  <version>1.0.2-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.xxx.moneygateway</groupId>
			<artifactId>moneygateway-common</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>
		
		<dependency>
			<groupId>com.xxx.datachange</groupId>
			<artifactId>xxx-datachange-client</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>		
		
		<!-- spring jar -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<version>${spring.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jms</artifactId>
			<version>${spring.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aspects</artifactId>
			<version>${spring.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>${spring.version}</version>
		</dependency>

		<!-- 以下spring未必需要,但可将同一版本提升 -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-orm</artifactId><!-- 还有个hibernate悲观锁的异常类用到 -->
			<version>${spring.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-oxm</artifactId>
			<version>${spring.version}</version>
		</dependency>

		<dependency>
			<groupId>com.xxx.springutil</groupId>
			<artifactId>xxx-springutil</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>com.alibaba</groupId>
			<artifactId>druid</artifactId>
			<version>0.2.5</version>
		</dependency>

		<dependency>
			<groupId>quartz</groupId>
			<artifactId>quartz</artifactId>
			<version>1.5.2</version>
		</dependency>

		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.4</version>
		</dependency>
		<dependency>
			<groupId>commons-dbcp</groupId>
			<artifactId>commons-dbcp</artifactId>
			<version>1.4</version>
		</dependency>

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.5</version>
		</dependency>

		<!-- test -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.xxx.unit</groupId>
			<artifactId>xxx-unitutil</artifactId>
			<version>1.0.0-SNAPSHOT</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-dbutils</groupId>
			<artifactId>commons-dbutils</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<version>${spring.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>6.8.5</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jmock</groupId>
			<artifactId>jmock</artifactId>
			<version>2.6.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<version>1.9.5</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

</project>
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

    Maven 实战(中文pdf)

    《Maven实战》是一本专为Java开发人员设计的指南,深入浅出地介绍了Maven这一强大的项目管理和构建工具。Maven是Apache软件基金会开发的一个开源项目,它以XML文件格式定义项目,能够自动化构建、依赖管理和项目信息...

    Maven 实战(361)_12804356.pdf

    Maven 实战(361)_12804356.pdf

    maven 实战 所有源代码

    ** Maven实战:所有源代码详解 ** Maven是一款强大的项目管理和构建工具,广泛应用于Java开发领域。它通过一套约定优于配置的原则,简化了项目的构建、依赖管理以及文档生成等工作。本篇文章将深入探讨"Maven实战...

    Maven 实战(书签版),十分清晰强烈推荐

    Maven 实战(书签版) 影印版,影印规整,十分清晰,强烈推荐!

    Maven 实战源码

    《Maven实战源码》是一本专为Java开发者设计的指南,旨在帮助初学者和有经验的开发者深入理解和掌握Maven这一强大的项目管理和构建工具。Maven不仅简化了项目的构建过程,还通过依赖管理和插件机制,使得软件开发...

    Maven 实战.pdf-完整版

    Maven的实战性强,意味着在学习和使用过程中,通常会结合大量的实例操作,使读者能更好地理解和掌握Maven的具体应用。本书由许晓斌执笔,是国内首本全面介绍Maven的专著,基于最新的Maven3.0版本编写,详细介绍了...

    maven 实战 in action 中文版 3.3

    ** Maven实战In Action中文版3.3:构建高效Java项目** Maven,作为Apache软件基金会的一个项目,是一款强大的项目管理工具,尤其在Java开发领域,它简化了构建、依赖管理和项目文档的流程。《Maven实战In Action...

    Maven 实战之背景案例.pdf

    《Maven实战》这本书通过一个简单但实际的账户注册服务案例来介绍Maven的使用和特性,帮助读者更好地理解和掌握Maven。 账户注册服务案例模拟了互联网上常见的账户注册流程,其中用户注册时需输入账号ID、email以及...

    maven 实战(还没有看)

    **Maven实战——深入理解与应用** Maven是一款强大的Java项目管理工具,它通过XML格式的配置文件,统一管理项目的构建、报告以及依赖关系。在本文中,我们将深入探讨Maven实战中的关键概念,包括安装配置、项目构建...

    Maven实战2_maven_

    **Maven实战2:深入理解与应用** Maven是一个强大的Java项目管理工具,它通过一套标准的构建生命周期和依赖管理机制,简化了项目的构建、测试和部署过程。本教程《Maven实战2》旨在帮助开发者深入理解和高效使用...

    读书笔记:maven资源&amp;《Maven实战》 TOREAD 《Maven实战完整版》.zip

    读书笔记:maven资源&amp;《Maven实战》 TOREAD 《Maven实战完整版》

    《Maven 实战》.zip

    你是否早已厌倦了日复一日的手工构建工作?...注重实战是本书的另一个特点,不仅在各个知识点都辅有大量的小案例,而且还有一个综合性的案例贯穿全书。如果你想使用Maven,或正在使用Maven,本书将给你绝佳的指导。

    Maven《实战》许晓斌完整版包含源码

    **Maven实战——许晓斌完整版** Maven是一个强大的项目管理和构建工具,广泛应用于Java开发领域。由Apache Software Foundation维护,它简化了构建过程,通过一个统一的配置方式管理项目的构建、报告和依赖关系。...

    maven 详细教程 实战 例子 电子书

    ** Maven 详细教程 实战 例子 电子书 ** Maven 是一个强大的项目管理工具,广泛应用于Java开发领域。它简化了构建、依赖管理和项目生命周期的管理,使得开发者能够更专注于代码本身,而不是构建过程。本教程将深入...

    读书笔记:learn about maven from maven 实战.zip

    读书笔记:learn about maven from maven 实战

Global site tag (gtag.js) - Google Analytics