Skip to content

Commit

Permalink
Merge branch 'master' into maven-resolver-2.0.x-571
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jun 27, 2024
2 parents eb24c24 + d0edd79 commit 6b7a85a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion maven-resolver-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@

<properties>
<bnd.instructions.additions><![CDATA[
Automatic-Module-Name: org.apache.maven.resolver
-jpms-module-info: org.apache.maven.resolver
-removeheaders Automatic-Module-Name
]]></bnd.instructions.additions>
</properties>

Expand Down
7 changes: 7 additions & 0 deletions maven-resolver-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
<name>Maven Artifact Resolver SPI</name>
<description>The service provider interface for repository system implementations and repository connectors.</description>

<properties>
<bnd.instructions.additions><![CDATA[
-jpms-module-info
-removeheaders Automatic-Module-Name
]]></bnd.instructions.additions>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
Expand Down
7 changes: 7 additions & 0 deletions maven-resolver-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
<name>Maven Artifact Resolver Utilities</name>
<description>A collection of utility classes to ease usage of the repository system.</description>

<properties>
<bnd.instructions.additions><![CDATA[
-jpms-module-info
-removeheaders Automatic-Module-Name
]]></bnd.instructions.additions>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
Expand Down
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,10 @@
Bundle-SymbolicName: org.apache.${replacestring;${project.artifactId};-;.}
Automatic-Module-Name: ${Bundle-SymbolicName}
# Export packages not containing the substring 'internal'
-exportcontents: ${removeall;${packages};${packages;NAMED;*internal*}}
-exportcontents: \
*.impl.*;x-internal:=true, \
*.internal.*;x-internal:=true, \
*
# Ensure all maven-resolver packages of exactly the same version are imported
# and mark optional Maven dependencies as optional.
mavenResolverVersion=${versionmask;===;${version_cleanup;${project.version}}}
Expand Down

0 comments on commit 6b7a85a

Please sign in to comment.