Browse Source

Add signature to the release

tags/2.5-rc1
Julien HENRY 8 years ago
parent
commit
5581754621
2 changed files with 36 additions and 0 deletions
  1. 4
    0
      README.md
  2. 32
    0
      sonar-runner-api/pom.xml

+ 4
- 0
README.md View File

@@ -8,3 +8,7 @@ http://docs.sonarqube.org/display/SONAR/Analyzing+with+SonarQube+Runner

Issue Tracker:
http://jira.sonarsource.com/browse/SONARUNNER

Release:
sonar-runner-api need to be signed for use in SonarLint for Eclipse. So you need to pass following properties during perform:
mvn release:perform -Djarsigner.keystore=<path to keystore.jks> -Djarsigner.storepass=<password>

+ 32
- 0
sonar-runner-api/pom.xml View File

@@ -178,6 +178,38 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>sign</releaseProfiles>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<alias>sonarsource-codesign-2015-2017</alias>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

Loading…
Cancel
Save