mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-10 08:51:19 +00:00
OSGi descriptor pruning - see #489
This commit is contained in:
54
pom.xml
54
pom.xml
@@ -610,60 +610,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<configuration>
|
||||
<archive>
|
||||
<!-- Generate a jar INDEX.LIST -->
|
||||
<index>true</index>
|
||||
<!-- A manifest containing the OSGi metadata has been generated using the maven-bundle-plugin -->
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
<!-- Add the Maven coordinates in the manifest -->
|
||||
<manifestEntries>
|
||||
<Maven-Group-Id>${project.groupId}</Maven-Group-Id>
|
||||
<Maven-Artifact-Id>${project.artifactId}</Maven-Artifact-Id>
|
||||
<Maven-Version>${project.version}</Maven-Version>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
<!-- Remove examples and docoverride -->
|
||||
<excludes>
|
||||
<exclude>/docoverride/**</exclude>
|
||||
<exclude>/examples/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>io.vertx.core*</Export-Package>
|
||||
<Private-Package>!docoverride*, !examples*</Private-Package>
|
||||
<Import-Package>org.slf4j*;resolution:=optional,
|
||||
org.apache.log4j;resolution:=optional,
|
||||
org.apache.logging.log4*;resolution:=optional,
|
||||
*
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<resources>
|
||||
|
||||
Reference in New Issue
Block a user