Skip to content

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@
3636
<build>
3737
<pluginManagement>
3838
<plugins>
39+
<plugin>
40+
<artifactId>maven-jar-plugin</artifactId>
41+
<configuration>
42+
<archive>
43+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
44+
</archive>
45+
</configuration>
46+
</plugin>
3947
<plugin>
4048
<groupId>org.apache.felix</groupId>
4149
<artifactId>maven-bundle-plugin</artifactId>
@@ -47,7 +55,7 @@
4755
</supportedProjectTypes>
4856
<instructions>
4957
<Import-Package>
50-
!java
58+
!java
5159
</Import-Package>
5260
<Export-Package>
5361
{local-packages}
@@ -56,19 +64,11 @@
5664
</configuration>
5765
<executions>
5866
<execution>
59-
<id>manifest</id>
67+
<id>bundle-manifest</id>
68+
<phase>process-classes</phase>
6069
<goals>
6170
<goal>manifest</goal>
6271
</goals>
63-
<configuration>
64-
<supportIncrementalBuild>true</supportIncrementalBuild>
65-
</configuration>
66-
</execution>
67-
<execution>
68-
<id>bundle</id>
69-
<goals>
70-
<goal>bundle</goal>
71-
</goals>
7272
</execution>
7373
</executions>
7474
</plugin>

0 commit comments

Comments
 (0)