Skip to content

Commit 7f71d4c

Browse files
author
Tino Ojala
committed
bbottema#288. Fix core-module osgi headers
1 parent 367d98c commit 7f71d4c

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

Diff for: modules/core-module/pom.xml

+20
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@
2121
<automaticModuleName>org.simplejavamail.core</automaticModuleName>
2222
</properties>
2323

24+
<build>
25+
<plugins>
26+
<plugin>
27+
<groupId>org.apache.felix</groupId>
28+
<artifactId>maven-bundle-plugin</artifactId>
29+
<configuration>
30+
<instructions>
31+
<Export-Package>
32+
org.simplejavamail.*
33+
</Export-Package>
34+
<Import-Package>
35+
!org.jacoco.*,
36+
*
37+
</Import-Package>
38+
</instructions>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
2444
<dependencies>
2545

2646
<!-- core dependencies -->

Diff for: pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<groupId>org.slf4j</groupId>
107107
<artifactId>slf4j-api</artifactId>
108108
<version>1.7.32</version>
109+
<scope>provided</scope>
109110
</dependency>
110111
<dependency>
111112
<groupId>com.google.code.findbugs</groupId>
@@ -265,4 +266,4 @@
265266
</build>
266267
</profile>
267268
</profiles>
268-
</project>
269+
</project>

0 commit comments

Comments
 (0)