diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-12 10:59:13 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-12 10:59:13 +0100 |
commit | 934c9708f5a04171bdb92cf454e1b3f55e276291 (patch) | |
tree | b935cdde02ef44ed941c1a35744b9d32b99f5ee9 | |
parent | 676b19a17f17484853638fad738839f8bebb2b72 (diff) | |
download | sonarqube-934c9708f5a04171bdb92cf454e1b3f55e276291.tar.gz sonarqube-934c9708f5a04171bdb92cf454e1b3f55e276291.zip |
SONAR-6922 Fix assembly size
-rw-r--r-- | sonar-batch-protocol/pom.xml | 7 | ||||
-rw-r--r-- | sonar-batch-protocol/src/main/assembly/viewer.xml | 22 |
2 files changed, 25 insertions, 4 deletions
diff --git a/sonar-batch-protocol/pom.xml b/sonar-batch-protocol/pom.xml index 66104efcdf9..225cc6eb6d8 100644 --- a/sonar-batch-protocol/pom.xml +++ b/sonar-batch-protocol/pom.xml @@ -65,15 +65,14 @@ <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>scanner-report-viewer-${project.version}</finalName> - <appendAssemblyId>false</appendAssemblyId> <archive> <manifest> <mainClass>org.sonar.batch.protocol.viewer.ViewerApplication</mainClass> </manifest> </archive> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> + <descriptors> + <descriptor>src/main/assembly/viewer.xml</descriptor> + </descriptors> </configuration> <executions> <execution> diff --git a/sonar-batch-protocol/src/main/assembly/viewer.xml b/sonar-batch-protocol/src/main/assembly/viewer.xml new file mode 100644 index 00000000000..dcb1ad07c78 --- /dev/null +++ b/sonar-batch-protocol/src/main/assembly/viewer.xml @@ -0,0 +1,22 @@ +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + <id>full</id> + <formats> + <format>jar</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <dependencySets> + <dependencySet> + <outputDirectory>/</outputDirectory> + <useProjectArtifact>true</useProjectArtifact> + <unpack>true</unpack> + <scope>runtime</scope> + </dependencySet> + </dependencySets> + <fileSets> + <fileSet> + <directory>${project.build.outputDirectory}</directory> + </fileSet> + </fileSets> +</assembly>
\ No newline at end of file |