Skip to content

Commit c6e49a4

Browse files
committed
Get flatten maven pom file plugin back
1 parent 38eb8ed commit c6e49a4

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

pom.xml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -156,29 +156,30 @@
156156
</execution>
157157
</executions>
158158
</plugin>
159-
<plugin>
160-
<groupId>org.apache.felix</groupId>
161-
<artifactId>maven-bundle-plugin</artifactId>
162-
<version>3.0.1</version>
163-
<extensions>true</extensions>
164-
<configuration>
165-
<manifestLocation>META-INF</manifestLocation>
166-
<instructions>
167-
<Bundle-Version>$(replace;$(project.version);-SNAPSHOT;.$(tstamp;yyyyMMdd-HHmm))</Bundle-Version>
168-
<Bundle-Vendor>The AsyncHttpClient Project</Bundle-Vendor>
169-
<Import-Package>javax.activation;version="[1.1,2)", *</Import-Package>
170-
</instructions>
171-
</configuration>
172-
<executions>
173-
<execution>
174-
<id>osgi-bundle</id>
175-
<phase>package</phase>
176-
<goals>
177-
<goal>bundle</goal>
178-
</goals>
179-
</execution>
180-
</executions>
181-
</plugin>
159+
<plugin>
160+
<groupId>org.codehaus.mojo</groupId>
161+
<artifactId>flatten-maven-plugin</artifactId>
162+
<version>1.0.0</version>
163+
<configuration>
164+
<updatePomFile>true</updatePomFile>
165+
</configuration>
166+
<executions>
167+
<execution>
168+
<id>flatten</id>
169+
<phase>process-resources</phase>
170+
<goals>
171+
<goal>flatten</goal>
172+
</goals>
173+
</execution>
174+
<execution>
175+
<id>flatten.clean</id>
176+
<phase>clean</phase>
177+
<goals>
178+
<goal>clean</goal>
179+
</goals>
180+
</execution>
181+
</executions>
182+
</plugin>
182183
<plugin>
183184
<groupId>org.apache.maven.plugins</groupId>
184185
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)