Skip to content

Commit d8bc8c2

Browse files
authored
Merge pull request #146 from castortech/master
Added OSGI manifest and switched to spotbugs
2 parents 512ac83 + 7eece5b commit d8bc8c2

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

Diff for: pom.xml

+25-2
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,28 @@
239239
</configuration>
240240
</plugin>
241241

242+
<plugin>
243+
<artifactId>maven-jar-plugin</artifactId>
244+
<configuration>
245+
<archive>
246+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
247+
</archive>
248+
</configuration>
249+
</plugin>
250+
<plugin>
251+
<groupId>org.apache.felix</groupId>
252+
<artifactId>maven-bundle-plugin</artifactId>
253+
<executions>
254+
<execution>
255+
<id>bundle-manifest</id>
256+
<phase>process-classes</phase>
257+
<goals>
258+
<goal>manifest</goal>
259+
</goals>
260+
</execution>
261+
</executions>
262+
</plugin>
263+
242264
<plugin>
243265
<groupId>org.apache.maven.plugins</groupId>
244266
<artifactId>maven-surefire-plugin</artifactId>
@@ -381,8 +403,9 @@
381403
<build>
382404
<plugins>
383405
<plugin>
384-
<groupId>org.codehaus.mojo</groupId>
385-
<artifactId>findbugs-maven-plugin</artifactId>
406+
<groupId>com.github.spotbugs</groupId>
407+
<artifactId>spotbugs-maven-plugin</artifactId>
408+
<version>3.1.0-RC6</version>
386409
<executions>
387410
<execution>
388411
<phase>none</phase>

0 commit comments

Comments
 (0)