Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
a89620f6
Commit
a89620f6
authored
Mar 14, 2016
by
Yiming Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9 from yiming187/parent_pom
Update framework parent pom
parents
80bd483b
f4991ecd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
174 additions
and
36 deletions
+174
-36
pom.xml
framework-parent/pom.xml
+168
-0
pom.xml
pom.xml
+6
-36
No files found.
framework-parent/pom.xml
0 → 100644
View file @
a89620f6
<?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.ctrip.framework
</groupId>
<artifactId>
framework-parent
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<name>
Ctrip Framework Parent
</name>
<description>
Ctrip Framework Parent
</description>
<organization>
<name>
Ctrip, Inc.
</name>
<url>
http://www.ctrip.com
</url>
</organization>
<properties>
<java.version>
1.7
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
</properties>
<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>
<include>
**/*Test.java
</include>
</includes>
<excludes>
<exclude>
**/Abstract*.java
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-enforcer-plugin
</artifactId>
<version>
1.4.1
</version>
<executions>
<execution>
<id>
enforce-maven3
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>
[3.3.9,)
</version>
<message>
** projects must use Maven 3.3.9 or later version.
</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
<execution>
<id>
enforce-java7
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>
[1.7.0,)
</version>
<message>
** Projects must use Java 7 or later version
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
<execution>
<id>
enforce-src-main-java
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<fail>
true
</fail>
<rules>
<requireFilesDontExist>
<files>
<file>
src/java
</file>
<file>
src/java.test
</file>
<file>
src/conf
</file>
<file>
src/conf.test
</file>
</files>
<message>
** projects must use standard Maven directory layout
(src/main/java etc.)
</message>
</requireFilesDontExist>
</rules>
</configuration>
</execution>
<execution>
<id>
enforce-banned-dependencies
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<fail>
true
</fail>
<rules>
<bannedDependencies>
<excludes>
<exclude>
javax.servlet:servlet-api
</exclude>
<exclude>
org.mortbay.jetty:servlet-api-2.5
</exclude>
</excludes>
<message>
** There are some banned dependencies.
</message>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
<encoding>
${project.build.sourceEncoding}
</encoding>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
3.0.0
</version>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
pl.project13.maven
</groupId>
<artifactId>
git-commit-id-plugin
</artifactId>
<version>
2.2.0
</version>
<executions>
<execution>
<goals>
<goal>
revision
</goal>
</goals>
</execution>
</executions>
<configuration>
<verbose>
true
</verbose>
<dateFormat>
yyyy-MM-dd'T'HH:mm:ssZ
</dateFormat>
<generateGitPropertiesFile>
true
</generateGitPropertiesFile>
<failOnNoGitDirectory>
false
</failOnNoGitDirectory>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>
ctrip_fx_release
</id>
<url>
${ctrip.fx.release.repo}
</url>
</repository>
<snapshotRepository>
<id>
ctrip_fx_snapshot
</id>
<url>
${ctrip.fx.snapshot.repo}
</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
pom.xml
View file @
a89620f6
...
...
@@ -9,6 +9,12 @@
<packaging>
pom
</packaging>
<description>
Ctrip Configuration Center
</description>
<url>
https://github.com/ctripcorp/apollo
</url>
<parent>
<groupId>
com.ctrip.framework
</groupId>
<artifactId>
framework-parent
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<relativePath>
framework-parent
</relativePath>
</parent>
<organization>
<name>
Ctrip, Inc.
</name>
<url>
http://www.ctrip.com
</url>
...
...
@@ -55,7 +61,6 @@
</developer>
</developers>
<properties>
<project.build.sourceEncoding>
utf-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
</properties>
<modules>
...
...
@@ -118,26 +123,6 @@
<pluginManagement>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-source-plugin
</artifactId>
<version>
3.0.0
</version>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
1.3.3.RELEASE
</version>
...
...
@@ -151,11 +136,6 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>
maven-source-plugin
</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
...
...
@@ -187,16 +167,6 @@
</build>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>
releases
</id>
<url>
http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxrelease
</url>
</repository>
<snapshotRepository>
<id>
snapshots
</id>
<url>
http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxsnapshot
</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>
spring-milestones
</id>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment