aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTom <thomas.verin@sonarsource.com>2016-05-27 17:14:46 +0200
committerTom <thomas.verin@sonarsource.com>2016-05-27 17:14:46 +0200
commitad239bd651c1ccd555c4f84111416bb0b2aefe0b (patch)
tree6aa3a121fcced54242b7095ddbf772850d2cb1ca /pom.xml
parent5b89819c676b1969213a7df2c5f5e3145dbd33b5 (diff)
downloadsonarqube-ad239bd651c1ccd555c4f84111416bb0b2aefe0b.tar.gz
sonarqube-ad239bd651c1ccd555c4f84111416bb0b2aefe0b.zip
reverse deploy exclusion cause they fails QA5.6-RC2
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml99
1 files changed, 1 insertions, 98 deletions
diff --git a/pom.xml b/pom.xml
index a34f6b8360b..4d96a5a9148 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,7 +87,6 @@
<!-- used for deployment to SonarSource Artifactory -->
<gitRepositoryName>sonarqube</gitRepositoryName>
- <artifactoryExclusion></artifactoryExclusion>
</properties>
<build>
@@ -1122,9 +1121,6 @@
</profile>
<profile>
<id>release</id>
- <properties>
- <artifactoryExclusion>**/sonar-application*</artifactoryExclusion>
- </properties>
<build>
<plugins>
<plugin>
@@ -1515,100 +1511,7 @@
<module>it</module>
<module>tests</module>
</modules>
- </profile>
- <profile>
- <id>deploy-sonarsource</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-deploy-settings</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>gitRepositoryName</property>
- <message>You must set name of Git repository in your pom</message>
- </requireProperty>
- <requireEnvironmentVariable>
- <variableName>ARTIFACTORY_URL</variableName>
- </requireEnvironmentVariable>
- <requireEnvironmentVariable>
- <variableName>ARTIFACTORY_DEPLOY_REPO</variableName>
- </requireEnvironmentVariable>
- <requireEnvironmentVariable>
- <variableName>ARTIFACTORY_DEPLOY_USERNAME</variableName>
- </requireEnvironmentVariable>
- <requireEnvironmentVariable>
- <variableName>ARTIFACTORY_DEPLOY_PASSWORD</variableName>
- </requireEnvironmentVariable>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- this maven plugin is not deployed in Maven Central. It should be downloaded
- from JFrog JCenter or from SonarSource repositories -->
- <groupId>org.jfrog.buildinfo</groupId>
- <artifactId>artifactory-maven-plugin</artifactId>
- <version>${version.artifactory.plugin}</version>
- <executions>
- <execution>
- <id>build-info</id>
- <goals>
- <goal>publish</goal>
- </goals>
- <configuration>
- <artifactory>
- <envVarsExcludePatterns>
- *password*,*PASSWORD*,*secret*,*MAVEN_CMD_LINE_ARGS*,sun.java.command,*token*,*TOKEN*,*LOGIN*,*login*
- </envVarsExcludePatterns>
- <includeEnvVars>true</includeEnvVars>
- <timeoutSec>60</timeoutSec>
- </artifactory>
- <deployProperties>
- <vcs.revision>{{GIT_COMMIT|TRAVIS_COMMIT}}</vcs.revision>
- <vcs.branch>{{GIT_BRANCH|TRAVIS_BRANCH}}</vcs.branch>
- <build.name>${gitRepositoryName}</build.name>
- <build.number>{{BUILD_ID|TRAVIS_BUILD_NUMBER}}</build.number>
- </deployProperties>
- <licenses>
- <autoDiscover>true</autoDiscover>
- <includePublishedArtifacts>false</includePublishedArtifacts>
- <runChecks>true</runChecks>
- <scopes>project,provided</scopes>
- <violationRecipients>licences-control@sonarsource.com</violationRecipients>
- </licenses>
- <publisher>
- <contextUrl>${env.ARTIFACTORY_URL}</contextUrl>
- <repoKey>${env.ARTIFACTORY_DEPLOY_REPO}</repoKey>
- <username>${env.ARTIFACTORY_DEPLOY_USERNAME}</username>
- <password>${env.ARTIFACTORY_DEPLOY_PASSWORD}</password>
- <publishBuildInfo>true</publishBuildInfo>
- <publishArtifacts>true</publishArtifacts>
- <excludePatterns>${artifactoryExclusion}</excludePatterns>
- <filterExcludedArtifactsFromBuild>true</filterExcludedArtifactsFromBuild>
- </publisher>
- <buildInfo>
- <buildName>${gitRepositoryName}</buildName>
- <buildNumber>{{BUILD_ID|TRAVIS_BUILD_NUMBER}}</buildNumber>
- <buildUrl>{{CI_BUILD_URL|BUILD_URL}}</buildUrl>
- <vcsRevision>{{GIT_COMMIT|TRAVIS_COMMIT}}</vcsRevision>
- </buildInfo>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
+ </profile>
</profiles>
</project>