提交 f4991ecd 编写于 作者: Y Yiming Liu

set repo by properties

上级 14522460
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>com.ctrip.framework</groupId> <groupId>com.ctrip.framework</groupId>
<artifactId>framework-bom-parent</artifactId> <artifactId>framework-parent</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Ctrip Framework Parent</name> <name>Ctrip Framework Parent</name>
...@@ -16,22 +16,14 @@ ...@@ -16,22 +16,14 @@
<java.version>1.7</java.version> <java.version>1.7</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <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> </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> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration> <configuration>
<includes> <includes>
<include>**/*Tests.java</include> <include>**/*Tests.java</include>
...@@ -58,8 +50,8 @@ ...@@ -58,8 +50,8 @@
<configuration> <configuration>
<rules> <rules>
<requireMavenVersion> <requireMavenVersion>
<version>[3.2.5,)</version> <version>[3.3.9,)</version>
<message>** projects must use Maven 3.2.5 or later version.</message> <message>** projects must use Maven 3.3.9 or later version.</message>
</requireMavenVersion> </requireMavenVersion>
</rules> </rules>
</configuration> </configuration>
...@@ -164,12 +156,12 @@ ...@@ -164,12 +156,12 @@
</build> </build>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>releases</id> <id>ctrip_fx_release</id>
<url>http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxrelease</url> <url>${ctrip.fx.release.repo}</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>snapshots</id> <id>ctrip_fx_snapshot</id>
<url>http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxsnapshot</url> <url>${ctrip.fx.snapshot.repo}</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
</project> </project>
\ No newline at end of file
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
<url>https://github.com/ctripcorp/apollo</url> <url>https://github.com/ctripcorp/apollo</url>
<parent> <parent>
<groupId>com.ctrip.framework</groupId> <groupId>com.ctrip.framework</groupId>
<artifactId>framework-bom-parent</artifactId> <artifactId>framework-parent</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>framework-bom-parent</relativePath> <relativePath>framework-parent</relativePath>
</parent> </parent>
<organization> <organization>
<name>Ctrip, Inc.</name> <name>Ctrip, Inc.</name>
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
</developer> </developer>
</developers> </developers>
<properties> <properties>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>
<modules> <modules>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册