diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-09 11:00:21 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-09 16:48:01 +0100 |
commit | 603295776739bbe6658786d2e677a3470fbd7544 (patch) | |
tree | 4a054f612c017efa9b364021c50730a3e7529ad5 /sonar-batch-protocol/pom.xml | |
parent | 46cdf6128ed90235d8c15c29519c97adb90bc30f (diff) | |
download | sonarqube-603295776739bbe6658786d2e677a3470fbd7544.tar.gz sonarqube-603295776739bbe6658786d2e677a3470fbd7544.zip |
SONAR-6922 Fix some quality flaws and provide executable JAR
Diffstat (limited to 'sonar-batch-protocol/pom.xml')
-rw-r--r-- | sonar-batch-protocol/pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sonar-batch-protocol/pom.xml b/sonar-batch-protocol/pom.xml index add1b341cc5..d7dd35788b9 100644 --- a/sonar-batch-protocol/pom.xml +++ b/sonar-batch-protocol/pom.xml @@ -61,6 +61,28 @@ <skipTests>${skipBatchTests}</skipTests> </configuration> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <archive> + <manifest> + <mainClass>org.sonar.batch.protocol.viewer.ViewerApplication</mainClass> + </manifest> + </archive> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> |