diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2012-11-12 11:04:13 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2012-11-12 11:22:28 +0100 |
commit | f6b2b0e962f0ecea9f7a699addfc55d4cae761d3 (patch) | |
tree | 8cb0d92ba8da4cf4b81c892bc8841b72df1cdaff /sonar-ws-client/pom.xml | |
parent | 33099dcf59d615e726edc07bc8e44e84b6b04386 (diff) | |
download | sonarqube-f6b2b0e962f0ecea9f7a699addfc55d4cae761d3.tar.gz sonarqube-f6b2b0e962f0ecea9f7a699addfc55d4cae761d3.zip |
SONAR-3950 Populate MANIFEST of ws-client with required osgi entries
Diffstat (limited to 'sonar-ws-client/pom.xml')
-rw-r--r-- | sonar-ws-client/pom.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sonar-ws-client/pom.xml b/sonar-ws-client/pom.xml index ec7b3dca56d..435db7abccf 100644 --- a/sonar-ws-client/pom.xml +++ b/sonar-ws-client/pom.xml @@ -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> |