|
|
@@ -79,4 +79,44 @@ |
|
|
|
<scope>test</scope> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.felix</groupId> |
|
|
|
<artifactId>maven-bundle-plugin</artifactId> |
|
|
|
<version>2.3.7</version> |
|
|
|
<extensions>true</extensions> |
|
|
|
<configuration> |
|
|
|
<instructions> |
|
|
|
<Import-Package>!*</Import-Package> |
|
|
|
<Require-Bundle>org.apache.httpcomponents.httpclient;bundle-version="4.2.2";optional="true", |
|
|
|
org.apache.httpcomponents.httpcore;bundle-version="4.2.2";optional="true", |
|
|
|
com.googlecode.json-simple |
|
|
|
</Require-Bundle> |
|
|
|
<Export-Package>!.,org.sonar.wsclient, |
|
|
|
org.sonar.wsclient.connectors, |
|
|
|
org.sonar.wsclient.services</Export-Package> |
|
|
|
</instructions> |
|
|
|
</configuration> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>bundle-manifest</id> |
|
|
|
<phase>process-classes</phase> |
|
|
|
<goals> |
|
|
|
<goal>manifest</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</project> |