aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-10-15 09:07:42 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-10-15 09:07:59 +0200
commit5581754621ee9f07f2c34be6122e2d0e8e383b02 (patch)
tree5d4b29e797054e72d6ddcdf8a10de4f8e6f9ea4c
parentfae90f2a020e9dd9cff5d8faffbdc17185c70f92 (diff)
downloadsonar-scanner-cli-5581754621ee9f07f2c34be6122e2d0e8e383b02.tar.gz
sonar-scanner-cli-5581754621ee9f07f2c34be6122e2d0e8e383b02.zip
Add signature to the release
-rw-r--r--README.md4
-rw-r--r--sonar-runner-api/pom.xml32
2 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md
index a12b80a..59c22ce 100644
--- a/README.md
+++ b/README.md
@@ -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> \ No newline at end of file
diff --git a/sonar-runner-api/pom.xml b/sonar-runner-api/pom.xml
index 24c2fb3..af31498 100644
--- a/sonar-runner-api/pom.xml
+++ b/sonar-runner-api/pom.xml
@@ -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>