Skip to content

Commit

Permalink
GH-260 - Add stable automatic module names.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Oct 4, 2024
1 parent b45963d commit 0e02a3d
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 2 deletions.
4 changes: 4 additions & 0 deletions jmolecules-apt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<version>0.22.0-SNAPSHOT</version>
</parent>

<properties>
<module.name>org.jmolecules.integrations.apt</module.name>
</properties>

<dependencies>

<dependency>
Expand Down
4 changes: 4 additions & 0 deletions jmolecules-archunit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<name>jMolecules - ArchUnit rules</name>
<description>ArchUnit rules to enforce constraints implied by the jMolecules abstractions</description>

<properties>
<module.name>org.jmolecules.integrations.archunit</module.name>
</properties>

<dependencies>

<dependency>
Expand Down
4 changes: 4 additions & 0 deletions jmolecules-bytebuddy-nodep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

<artifactId>jmolecules-bytebuddy-nodep</artifactId>

<properties>
<module.name>org.jmolecules.integrations.bytebuddy.nodep</module.name>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
4 changes: 4 additions & 0 deletions jmolecules-bytebuddy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<description>A ByteBuddy plugin to translate jMolecules abstractions into implementation technology abstractions</description>
<artifactId>jmolecules-bytebuddy</artifactId>

<properties>
<module.name>org.jmolecules.integrations.bytebuddy</module.name>
</properties>

<dependencies>

<dependency>
Expand Down
4 changes: 4 additions & 0 deletions jmolecules-ddd-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<name>jMolecules - DDD integration</name>
<artifactId>jmolecules-ddd-integration</artifactId>

<properties>
<module.name>org.jmolecules.integrations.ddd</module.name>
</properties>

<dependencies>
<dependency>
<groupId>org.jmolecules</groupId>
Expand Down
4 changes: 4 additions & 0 deletions jmolecules-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<name>jMolecules - Jackson runtime integration</name>
<artifactId>jmolecules-jackson</artifactId>

<properties>
<module.name>org.jmolecules.integrations.jackson</module.name>
</properties>

<dependencies>

<dependency>
Expand Down
6 changes: 5 additions & 1 deletion jmolecules-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<description>JPA support code for the ByteBuddy based JPA integration of jMolecules</description>
<artifactId>jmolecules-jpa</artifactId>

<properties>
<module.name>org.jmolecules.integrations.jpa</module.name>
</properties>

<dependencies>

<dependency>
Expand Down Expand Up @@ -39,7 +43,7 @@
</dependency>

</dependencies>

<build>
<plugins>

Expand Down
4 changes: 4 additions & 0 deletions jmolecules-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<name>jMolecules - Spring runtime integration</name>
<artifactId>jmolecules-spring</artifactId>

<properties>
<module.name>org.jmolecules.integrations.spring</module.name>
</properties>

<dependencies>

<dependency>
Expand Down
17 changes: 16 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<bytebuddy.version>1.15.0</bytebuddy.version>
<hibernate.version>6.5.2.Final</hibernate.version>
<jmolecules.version>1.8.0</jmolecules.version>
<module.name>org.jmolecules.integrations</module.name>
<spring-boot.version>2.7.18</spring-boot.version>
<spring-boot3.version>3.3.3</spring-boot3.version>
<axon.version>4.10.0</axon.version>
Expand Down Expand Up @@ -89,10 +90,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<archive>
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<version>3.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down

0 comments on commit 0e02a3d

Please sign in to comment.