Commit f4991ecd by Yiming Liu

set repo by properties

parent 14522460
......@@ -3,7 +3,7 @@
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.ctrip.framework</groupId>
<artifactId>framework-bom-parent</artifactId>
<artifactId>framework-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Ctrip Framework Parent</name>
......@@ -16,22 +16,14 @@
<java.version>1.7</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>public</id>
<name>Public repositories</name>
<url>http://maven.dev.sh.ctripcorp.com:8081/nexus/content/groups/public</url>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
......@@ -58,8 +50,8 @@
<configuration>
<rules>
<requireMavenVersion>
<version>[3.2.5,)</version>
<message>** projects must use Maven 3.2.5 or later version.</message>
<version>[3.3.9,)</version>
<message>** projects must use Maven 3.3.9 or later version.</message>
</requireMavenVersion>
</rules>
</configuration>
......@@ -164,12 +156,12 @@
</build>
<distributionManagement>
<repository>
<id>releases</id>
<url>http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxrelease</url>
<id>ctrip_fx_release</id>
<url>${ctrip.fx.release.repo}</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxsnapshot</url>
<id>ctrip_fx_snapshot</id>
<url>${ctrip.fx.snapshot.repo}</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
......@@ -11,9 +11,9 @@
<url>https://github.com/ctripcorp/apollo</url>
<parent>
<groupId>com.ctrip.framework</groupId>
<artifactId>framework-bom-parent</artifactId>
<artifactId>framework-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>framework-bom-parent</relativePath>
<relativePath>framework-parent</relativePath>
</parent>
<organization>
<name>Ctrip, Inc.</name>
......@@ -61,7 +61,6 @@
</developer>
</developers>
<properties>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
</properties>
<modules>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment