DATALDAP-119 - Use parent 'artifactory' profile for snapshot releases.

This commit is contained in:
Greg Turnquist
2019-07-03 17:02:52 -05:00
parent f46b2782e3
commit 93af2f21f3
2 changed files with 24 additions and 45 deletions

39
pom.xml
View File

@@ -174,46 +174,7 @@
<spring-ldap>2.3.2.BUILD-SNAPSHOT</spring-ldap>
</properties>
</profile>
<profile>
<id>snapshot</id>
<build>
<plugins>
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>2.6.1</version>
<inherited>false</inherited>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>publish</goal>
</goals>
<configuration>
<buildInfo>
<buildUrl>{{BUILD_URL}}</buildUrl>
</buildInfo>
<deployProperties>
<zip.name>spring-data-ldap</zip.name>
<zip.displayname>spring-data-ldap</zip.displayname>
<zip.deployed>false</zip.deployed>
<archives>*:*:*:*@zip</archives>
</deployProperties>
<publisher>
<contextUrl>https://repo.spring.io</contextUrl>
<username>{{ARTIFACTORY_USR}}</username>
<password>{{ARTIFACTORY_PSW}}</password>
<repoKey>libs-snapshot-local</repoKey>
<snapshotRepoKey>libs-snapshot-local</snapshotRepoKey>
</publisher>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>