Browse Source

SONAR-3950 Populate MANIFEST of ws-client with required osgi entries

tags/3.4
Julien HENRY 11 years ago
parent
commit
f6b2b0e962
1 changed files with 40 additions and 0 deletions
  1. 40
    0
      sonar-ws-client/pom.xml

+ 40
- 0
sonar-ws-client/pom.xml View File

@@ -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>

Loading…
Cancel
Save