<dependencies>
<!-- Dependencies with scope "compile" are shaded and removed from transitive dependencies-->
<dependency>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-impl</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
+ <!-- Use the MANIFEST generated by maven-bundle-plugin -->
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<configuration>
<artifactItems>
<artifactItem>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-impl</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
- <outputDirectory>${pom.build.outputDirectory}</outputDirectory>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
<destFileName>sonar-runner-impl.jar</destFileName>
</artifactItem>
</artifactItems>
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${pom.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
<dependencies>
<dependency>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-api</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-impl</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<goal>single</goal>
</goals>
<configuration>
- <finalName>sonar-runner-${pom.version}</finalName>
+ <finalName>sonar-runner-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<escapeString>\</escapeString>
<descriptors>
- <descriptor>${pom.basedir}/assembly.xml</descriptor>
+ <descriptor>${project.basedir}/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
<minsize>280000</minsize>
<maxsize>310000</maxsize>
<files>
- <file>${pom.build.directory}/sonar-runner-${pom.version}.zip</file>
+ <file>${project.build.directory}/sonar-runner-${project.version}.zip</file>
</files>
</requireFilesSize>
</rules>
<artifactId>sonar-home</artifactId>
</dependency>
<dependency>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-batch</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<scope>provided</scope>
</dependency>
<configuration>
<artifactItems>
<artifactItem>
- <groupId>${pom.groupId}</groupId>
+ <groupId>${project.groupId}</groupId>
<artifactId>sonar-runner-batch</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
- <outputDirectory>${pom.build.outputDirectory}</outputDirectory>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
<destFileName>sonar-runner-batch.jar</destFileName>
</artifactItem>
</artifactItems>