Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wrr-cat
apollo
提交
14522460
apollo
项目概览
wrr-cat
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
14522460
编写于
3月 14, 2016
作者:
Y
Yiming Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add framework parent pom
上级
80bd483b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
181 addition
and
35 deletion
+181
-35
framework-bom-parent/pom.xml
framework-bom-parent/pom.xml
+175
-0
pom.xml
pom.xml
+6
-35
未找到文件。
framework-bom-parent/pom.xml
0 → 100644
浏览文件 @
14522460
<?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-bom-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>
<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>
<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.2.5,)
</version>
<message>
** projects must use Maven 3.2.5 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>
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>
</project>
\ No newline at end of file
pom.xml
浏览文件 @
14522460
...
...
@@ -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-bom-parent
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<relativePath>
framework-bom-parent
</relativePath>
</parent>
<organization>
<name>
Ctrip, Inc.
</name>
<url>
http://www.ctrip.com
</url>
...
...
@@ -117,26 +123,6 @@
<build>
<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>
...
...
@@ -151,11 +137,6 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>
maven-source-plugin
</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
...
...
@@ -187,16 +168,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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录