Skip to content

Commit 3ea37e8

Browse files
committed
Backport #3684 in 2.15
1 parent 587382c commit 3ea37e8

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

pom.xml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<artifactId>jackson-databind</artifactId>
1616
<version>2.15.0-SNAPSHOT</version>
1717
<name>jackson-databind</name>
18-
<packaging>bundle</packaging>
18+
<packaging>jar</packaging>
1919
<description>General data-binding functionality for Jackson: works on core streaming API</description>
2020
<url>https://github.com/FasterXML/jackson</url>
2121
<inceptionYear>2008</inceptionYear>
@@ -145,8 +145,33 @@
145145
</repositories>
146146

147147
<build>
148-
<plugins>
149-
<plugin>
148+
<plugins>
149+
<!-- 27-Nov-2022, tatu: [databind#3684] Configure Felix plugin to just produce
150+
MANIFEST.MF for maven-jar-plugin to use
151+
-->
152+
<plugin>
153+
<groupId>org.apache.felix</groupId>
154+
<artifactId>maven-bundle-plugin</artifactId>
155+
<executions>
156+
<execution>
157+
<id>bundle-manifest</id>
158+
<phase>process-classes</phase>
159+
<goals>
160+
<goal>manifest</goal>
161+
</goals>
162+
</execution>
163+
</executions>
164+
</plugin>
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-jar-plugin</artifactId>
168+
<configuration>
169+
<archive>
170+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
171+
</archive>
172+
</configuration>
173+
</plugin>
174+
<plugin>
150175
<groupId>org.jacoco</groupId>
151176
<artifactId>jacoco-maven-plugin</artifactId>
152177
<executions>

0 commit comments

Comments
 (0)