Skip to content

Commit 17c3161

Browse files
committed
Add OSGI metadata to POM files
DEVSIX-1325
1 parent e6dec40 commit 17c3161

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

pom.xml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,60 @@
192192
<skipTests>${skipTests}</skipTests>
193193
</configuration>
194194
</plugin>
195+
<plugin>
196+
<groupId>org.apache.felix</groupId>
197+
<artifactId>maven-bundle-plugin</artifactId>
198+
<version>3.2.0</version>
199+
<extensions>true</extensions>
200+
<executions>
201+
<execution>
202+
<id>bundle-manifest</id>
203+
<phase>process-classes</phase>
204+
<goals>
205+
<goal>manifest</goal>
206+
</goals>
207+
</execution>
208+
</executions>
209+
<configuration>
210+
<unpackBundle>true</unpackBundle>
211+
</configuration>
212+
</plugin>
213+
<plugin>
214+
<groupId>com.github.ekryd.sortpom</groupId>
215+
<artifactId>sortpom-maven-plugin</artifactId>
216+
<version>2.4.0</version>
217+
<executions>
218+
<execution>
219+
<phase>verify</phase>
220+
<goals>
221+
<goal>sort</goal>
222+
</goals>
223+
</execution>
224+
</executions>
225+
<configuration>
226+
<lineSeparator>\n</lineSeparator>
227+
<encoding>${project.build.sourceEncoding}</encoding>
228+
<sortProperties>true</sortProperties>
229+
<keepBlankLines>true</keepBlankLines>
230+
<expandEmptyElements>false</expandEmptyElements>
231+
<nrOfIndentSpace>2</nrOfIndentSpace>
232+
<sortDependencies>scope</sortDependencies>
233+
<skip>${skipSortPom}</skip>
234+
</configuration>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.codehaus.mojo</groupId>
238+
<artifactId>tidy-maven-plugin</artifactId>
239+
<version>1.0.0</version>
240+
<executions>
241+
<execution>
242+
<phase>verify</phase>
243+
<goals>
244+
<goal>pom</goal>
245+
</goals>
246+
</execution>
247+
</executions>
248+
</plugin>
195249
</plugins>
196250
</build>
197251

0 commit comments

Comments
 (0)