Skip to content

Commit

Permalink
Publish Maven artifacts by using profiles
Browse files Browse the repository at this point in the history
Change-Id: I031369ab110ba46b423bf10f532e4c51f1abf302
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/8491
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Todd Lipcon <[email protected]>
  • Loading branch information
mthakkar authored and toddlipcon committed Sep 24, 2015
1 parent 1534dbd commit 0cc0b46
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
<distributionManagement>
<repository>
<id>cdh.releases.repo</id>
<url>http://maven.jenkins.cloudera.com:8081/artifactory/libs-release-local</url>
<url>${deploy.maven}</url>
<name>Releases Repository</name>
</repository>
<snapshotRepository>
Expand All @@ -268,5 +268,20 @@
<module>kudu-csd</module>
</modules>
</profile>
<profile>
<id>deploy-local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<deploy.maven>http://maven.jenkins.cloudera.com:8081/artifactory/libs-release-local</deploy.maven>
</properties>
</profile>
<profile>
<id>deploy-remote</id>
<properties>
<deploy.maven>https://repository.cloudera.com/cloudera/libs-release-local</deploy.maven>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 0cc0b46

Please sign in to comment.