Skip to content

Commit 18d7613

Browse files
committed
Add OSGI metadata to POM files
DEVSIX-1325
1 parent d2e07a6 commit 18d7613

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
@@ -144,6 +144,60 @@
144144
</execution>
145145
</executions>
146146
</plugin>
147+
<plugin>
148+
<groupId>org.apache.felix</groupId>
149+
<artifactId>maven-bundle-plugin</artifactId>
150+
<version>3.2.0</version>
151+
<extensions>true</extensions>
152+
<executions>
153+
<execution>
154+
<id>bundle-manifest</id>
155+
<phase>process-classes</phase>
156+
<goals>
157+
<goal>manifest</goal>
158+
</goals>
159+
</execution>
160+
</executions>
161+
<configuration>
162+
<unpackBundle>true</unpackBundle>
163+
</configuration>
164+
</plugin>
165+
<plugin>
166+
<groupId>com.github.ekryd.sortpom</groupId>
167+
<artifactId>sortpom-maven-plugin</artifactId>
168+
<version>2.4.0</version>
169+
<executions>
170+
<execution>
171+
<phase>verify</phase>
172+
<goals>
173+
<goal>sort</goal>
174+
</goals>
175+
</execution>
176+
</executions>
177+
<configuration>
178+
<lineSeparator>\n</lineSeparator>
179+
<encoding>${project.build.sourceEncoding}</encoding>
180+
<sortProperties>true</sortProperties>
181+
<keepBlankLines>true</keepBlankLines>
182+
<expandEmptyElements>false</expandEmptyElements>
183+
<nrOfIndentSpace>2</nrOfIndentSpace>
184+
<sortDependencies>scope</sortDependencies>
185+
<skip>${skipSortPom}</skip>
186+
</configuration>
187+
</plugin>
188+
<plugin>
189+
<groupId>org.codehaus.mojo</groupId>
190+
<artifactId>tidy-maven-plugin</artifactId>
191+
<version>1.0.0</version>
192+
<executions>
193+
<execution>
194+
<phase>verify</phase>
195+
<goals>
196+
<goal>pom</goal>
197+
</goals>
198+
</execution>
199+
</executions>
200+
</plugin>
147201
</plugins>
148202
<resources>
149203
<resource>

0 commit comments

Comments
 (0)