Skip to content

Commit 6ad3b7f

Browse files
committed
fix Export-Package header of legacy module
1 parent 8dc3818 commit 6ad3b7f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## XMLUnit for Java 2.10.3 - /not released, yet/
44

55
* marked OSGi `Import-Package` optional for javax.xml.bind packages in xmlunit-core.
6+
Also fixed the `Export-Package` header of the legacy module.
67
Issue [#300](https://github.com/xmlunit/xmlunit/issues/300)
78

89
## XMLUnit for Java 2.10.2 - /Released 2025-05-23/

xmlunit-legacy/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@
9696
</execution>
9797
</executions>
9898
</plugin>
99+
<plugin>
100+
<groupId>org.apache.felix</groupId>
101+
<artifactId>maven-bundle-plugin</artifactId>
102+
<configuration>
103+
<instructions>
104+
<Export-Package>org.custommonkey.xmlunit.*;version=${project.version};-noimport:=true</Export-Package>
105+
</instructions>
106+
</configuration>
107+
</plugin>
99108
</plugins>
100109
</build>
101110
</project>

0 commit comments

Comments
 (0)