Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions maven-artifact/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ under the License.

<name>Maven Artifact</name>

<properties>
<moduleNameSuffix>artifact</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-builder-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Builder Support</name>
<description>Support for descriptor builders (model, setting, toolchains)</description>

<properties>
<moduleNameSuffix>builder</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-compat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Compat</name>
<description>Maven2 classes maintained as compatibility layer.</description>

<properties>
<moduleNameSuffix>compat</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
2 changes: 2 additions & 0 deletions maven-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ under the License.
<description>Maven Core classes.</description>

<properties>
<moduleNameSuffix>core</moduleNameSuffix>

<!-- Used in filtering of property file defining the versions of the plugins used in lifecycles -->
<version.maven-ejb-plugin>3.3.0</version.maven-ejb-plugin>
<version.maven-rar-plugin>3.1.0</version.maven-rar-plugin>
Expand Down
4 changes: 4 additions & 0 deletions maven-embedder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Embedder</name>
<description>Maven embeddable component, with CLI and logging support.</description>

<properties>
<moduleNameSuffix>embedder</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-jline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ under the License.
<name>Maven 3 JLine integration</name>
<description>Provides the JLine integration in Maven</description>

<properties>
<moduleNameSuffix>jline</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.jline</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-model-builder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Model Builder</name>
<description>The effective model builder, with inheritance, profile activation, interpolation, ...</description>

<properties>
<moduleNameSuffix>model.builder</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down
1 change: 1 addition & 0 deletions maven-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ under the License.

<properties>
<checkstyle.violation.ignore>FileLength</checkstyle.violation.ignore>
<moduleNameSuffix>model</moduleNameSuffix>
</properties>

<dependencies>
Expand Down
4 changes: 4 additions & 0 deletions maven-plugin-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Plugin API</name>
<description>The API for plugins - Mojos - development.</description>

<properties>
<moduleNameSuffix>plugin</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-repository-metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Repository Metadata Model</name>
<description>Per-directory local and remote repository metadata.</description>

<properties>
<moduleNameSuffix>repository.metadata</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-resolver-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Artifact Resolver Provider</name>
<description>Extensions to Maven Resolver for utilizing Maven POM and repository metadata.</description>

<properties>
<moduleNameSuffix>resolver.provider</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-settings-builder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ under the License.
</contributor>
</contributors>

<properties>
<moduleNameSuffix>settings.builder</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-settings/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ under the License.
<name>Maven Settings</name>
<description>Maven Settings model.</description>

<properties>
<moduleNameSuffix>settings</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down
4 changes: 4 additions & 0 deletions maven-slf4j-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ under the License.
<description>Maven SLF4J provider based on SLF4J's simple provider, extended to support Maven styled colors
for levels and stacktraces rendering.</description>

<properties>
<moduleNameSuffix>slf4j.provider</moduleNameSuffix>
</properties>

<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ under the License.
<checkstyle.excludes>**/package-info.java</checkstyle.excludes>
<project.build.outputTimestamp>2026-03-24T21:15:50Z</project.build.outputTimestamp>
<jlineVersion>3.30.9</jlineVersion>

<!-- The JPMS module name elements used in the Automatic-Module-Name -->
<!-- Note: Maven 3 can never become "pure modular" thing, we leave that to Maven 4+ -->
<moduleNamePrefix>${project.groupId}.v3.</moduleNamePrefix>
<moduleNameSuffix>invalid</moduleNameSuffix>
</properties>

<!--bootstrap-start-comment-->
Expand Down Expand Up @@ -527,6 +532,21 @@ under the License.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
Comment on lines +540 to +543

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<manifestEntries>
<Automatic-Module-Name>${moduleNamePrefix}${moduleNameSuffix}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
Expand Down
Loading