aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.agent
diff options
context:
space:
mode:
authorEvgeny Mandrikov <Godin@users.noreply.github.com>2017-01-17 22:42:02 +0100
committerGitHub <noreply@github.com>2017-01-17 22:42:02 +0100
commitd1a0f198cfc5e6397d7d6f9b912b85a0211201c7 (patch)
tree0f7406b602a97d75069f686a92f51692117a9093 /org.jacoco.agent
parentd80b6b55af2c6ad10c04067ef7853161deac7e83 (diff)
downloadjacoco-d1a0f198cfc5e6397d7d6f9b912b85a0211201c7.tar.gz
Generate OSGi Manifests (#211)
Diffstat (limited to 'org.jacoco.agent')
-rw-r--r--org.jacoco.agent/META-INF/MANIFEST.MF8
-rw-r--r--org.jacoco.agent/pom.xml22
2 files changed, 22 insertions, 8 deletions
diff --git a/org.jacoco.agent/META-INF/MANIFEST.MF b/org.jacoco.agent/META-INF/MANIFEST.MF
deleted file mode 100644
index 7936912c..00000000
--- a/org.jacoco.agent/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,8 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: JaCoCo Agent
-Bundle-SymbolicName: org.jacoco.agent
-Bundle-Version: 0.7.9.qualifier
-Bundle-Vendor: Mountainminds GmbH & Co. KG
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.jacoco.agent;version="0.7.9"
diff --git a/org.jacoco.agent/pom.xml b/org.jacoco.agent/pom.xml
index 0d485eb3..3693918b 100644
--- a/org.jacoco.agent/pom.xml
+++ b/org.jacoco.agent/pom.xml
@@ -78,6 +78,28 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>