summaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/pom.xml
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-11-09 11:00:21 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-11-09 16:48:01 +0100
commit603295776739bbe6658786d2e677a3470fbd7544 (patch)
tree4a054f612c017efa9b364021c50730a3e7529ad5 /sonar-batch-protocol/pom.xml
parent46cdf6128ed90235d8c15c29519c97adb90bc30f (diff)
downloadsonarqube-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.xml22
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>