Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
pulsar
提交
13054396
pulsar
项目概览
apache
/
pulsar
通知
129
Star
40
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
pulsar
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
提交
体验新版 GitCode,发现更多精彩内容 >>
提交
13054396
编写于
7月 28, 2017
作者:
M
Matteo Merli
提交者:
GitHub
7月 28, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Maven artifacts relases into Apache (#607)
上级
85a1c6c4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
38 addition
and
98 deletion
+38
-98
.travis.yml
.travis.yml
+7
-10
.travis/settings.xml
.travis/settings.xml
+25
-17
pom.xml
pom.xml
+6
-71
未找到文件。
.travis.yml
浏览文件 @
13054396
...
...
@@ -56,19 +56,16 @@ script:
-
(cd site && make travis_build)
deploy
:
# Disabled the deployment of snapshots jars to Maven central for now
# until we figure out a way to deploy them through the proper Apache
# route.
# -
# provider: script
# skip_cleanup: true
# script: mvn deploy -DskipTests --settings .travis/settings.xml
# on:
# tags: false
-
provider
:
script
skip_cleanup
:
true
script
:
mvn deploy -DskipTests --settings .travis/settings.xml
on
:
tags
:
false
-
provider
:
script
skip_cleanup
:
true
script
:
mvn install deploy -Prelease -DskipTests --settings .travis/settings.xml
script
:
mvn install deploy -P
apache-
release -DskipTests --settings .travis/settings.xml
on
:
repo
:
apache/incubator-pulsar
tags
:
true
...
...
.travis/settings.xml
浏览文件 @
13054396
...
...
@@ -20,23 +20,31 @@
-->
<settings>
<servers>
<server>
<!-- Maven Central Deployment -->
<id>
ossrh
</id>
<username>
${env.SONATYPE_USERNAME}
</username>
<password>
${env.SONATYPE_PASSWORD}
</password>
</server>
<!-- To publish a snapshot of some part of Maven -->
<server>
<id>
apache.snapshots.https
</id>
<username>
${env.APACHE_USER}
</username>
<password>
${env.APACHE_PASSWORD}
</password>
</server>
<!-- To stage a release of some part of Maven -->
<server>
<id>
apache.releases.https
</id>
<username>
${env.APACHE_USER}
</username>
<password>
${env.APACHE_PASSWORD}
</password>
</server>
</servers>
<profiles>
<profile>
<id>
ossrh
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<gpg.executable>
${env.GPG_EXECUTABLE}
</gpg.executable>
<gpg.passphrase>
${env.GPG_PASSPHRASE}
</gpg.passphrase>
</properties>
</profile>
</profiles>
<profile>
<id>
apache
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<gpg.executable>
${env.GPG_EXECUTABLE}
</gpg.executable>
<gpg.passphrase>
${env.GPG_PASSPHRASE}
</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
pom.xml
浏览文件 @
13054396
...
...
@@ -23,6 +23,12 @@
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>
<packaging>
pom
</packaging>
<parent>
<groupId>
org.apache
</groupId>
<artifactId>
apache
</artifactId>
<version>
18
</version>
</parent>
<groupId>
org.apache.pulsar
</groupId>
<artifactId>
pulsar
</artifactId>
...
...
@@ -846,66 +852,6 @@ flexible messaging model and an intuitive client API.</description>
</plugins>
</reporting>
</profile>
<profile>
<!-- For releases, attach javadoc, source jar and gpg signatures -->
<id>
release
</id>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
2.2.1
</version>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<executions>
<execution>
<id>
attach-javadocs
</id>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-gpg-plugin
</artifactId>
<version>
1.5
</version>
<executions>
<execution>
<id>
sign-artifacts
</id>
<phase>
verify
</phase>
<goals>
<goal>
sign
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.sonatype.plugins
</groupId>
<artifactId>
nexus-staging-maven-plugin
</artifactId>
<version>
1.6.7
</version>
<extensions>
true
</extensions>
<configuration>
<serverId>
ossrh
</serverId>
<nexusUrl>
https://oss.sonatype.org/
</nexusUrl>
<autoReleaseAfterClose>
true
</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
...
...
@@ -927,15 +873,4 @@ flexible messaging model and an intuitive client API.</description>
<url>
http://yahoo.bintray.com/maven
</url>
</repository>
</repositories>
<distributionManagement>
<snapshotRepository>
<id>
ossrh
</id>
<url>
https://oss.sonatype.org/content/repositories/snapshots
</url>
</snapshotRepository>
<repository>
<id>
ossrh
</id>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录