[OPENJPA-2798] Automatic-Module-Name is added

This commit is contained in:
Maxim Solodovnik 2020-03-15 15:59:45 +07:00
parent e4227473b0
commit 44c4d8dc02
20 changed files with 39 additions and 0 deletions

View File

@ -35,6 +35,9 @@
<packaging>jar</packaging>
<name>OpenJPA Aggregate Jar with Dependencies</name>
<properties>
<automatic-module-name>org.apache.openjpa.all</automatic-module-name>
</properties>
<build>
<plugins>
<!-- disable creating javadoc for this module -->

View File

@ -44,6 +44,7 @@
<test.jvm.maxheapsize>1024m</test.jvm.maxheapsize>
<test.jvm.arguments>-Xmx${test.jvm.maxheapsize}</test.jvm.arguments>
<surefire.jvm.args>${test.jvm.arguments}</surefire.jvm.args>
<automatic-module-name>org.apache.openjpa.examples.gallery</automatic-module-name>
</properties>
<dependencies>

View File

@ -42,6 +42,7 @@
<properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<automatic-module-name>org.apache.openjpa.examples.openbooks</automatic-module-name>
</properties>
<dependencies>
<dependency>

View File

@ -49,6 +49,7 @@
<properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<automatic-module-name>org.apache.openjpa.examples.simple</automatic-module-name>
</properties>
<build>
<plugins>

View File

@ -44,6 +44,7 @@
<dbcp.minIdle>2</dbcp.minIdle>
<dbcp.maxWait>10000</dbcp.maxWait>
<dbcp.args>MaxTotal=${dbcp.maxTotal},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args>
<automatic-module-name>org.apache.openjpa.integration.daytrader</automatic-module-name>
</properties>
<dependencies>

View File

@ -45,6 +45,7 @@
<test.jvm.jmxauth>com.sun.management.jmxremote.authenticate=false</test.jvm.jmxauth>
<test.jvm.arguments>-Xmx${test.jvm.maxheapsize} -D${test.jvm.jmxprovider} -D${test.jvm.jmxauth}</test.jvm.arguments>
<surefire.jvm.args>${test.jvm.arguments}</surefire.jvm.args>
<automatic-module-name>org.apache.openjpa.integration.jmx</automatic-module-name>
</properties>
<dependencies>

View File

@ -40,6 +40,7 @@
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<!-- use SLF4JLogFactory for logging -->
<openjpa.Log>slf4j</openjpa.Log>
<automatic-module-name>org.apache.openjpa.integration.slf4j</automatic-module-name>
</properties>
<dependencies>

View File

@ -38,6 +38,7 @@
<properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<automatic-module-name>org.apache.openjpa.integration.validation</automatic-module-name>
</properties>
<profiles>

View File

@ -35,6 +35,9 @@
<name>OpenJPA JDBC</name>
<description>OpenJPA JDBC</description>
<properties>
<automatic-module-name>org.apache.openjpa.jdbc</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -35,6 +35,9 @@
<packaging>jar</packaging>
<name>OpenJPA JEST</name>
<properties>
<automatic-module-name>org.apache.openjpa.jest</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -35,6 +35,9 @@
<name>OpenJPA Kernel</name>
<description>OpenJPA Kernel</description>
<properties>
<automatic-module-name>org.apache.openjpa.kernel</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -35,6 +35,9 @@
<name>OpenJPA Utilities Library</name>
<description>OpenJPA Utilities Library</description>
<properties>
<automatic-module-name>org.apache.openjpa.lib</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>jakarta-regexp</groupId>

View File

@ -35,6 +35,9 @@
<name>OpenJPA Persistence JDBC</name>
<description>OpenJPA Persistence JDBC</description>
<properties>
<automatic-module-name>org.apache.openjpa.persistence.jdbc</automatic-module-name>
</properties>
<profiles>
<!-- Profile for testing with test-dynamic-enhancer -->
<profile>

View File

@ -41,6 +41,7 @@
<derby.locks.deadlockTimeout>5</derby.locks.deadlockTimeout>
<!-- set this =** on cmdline to skip all tests -->
<surefire.excludes.locking />
<automatic-module-name>org.apache.openjpa.persistence.locking</automatic-module-name>
</properties>
<profiles>

View File

@ -35,6 +35,9 @@
<name>OpenJPA Persistence</name>
<description>OpenJPA Persistence</description>
<properties>
<automatic-module-name>org.apache.openjpa.persistence</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -35,6 +35,9 @@
<name>OpenJPA Slice</name>
<description>OpenJPA Slice</description>
<properties>
<automatic-module-name>org.apache.openjpa.slice</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -30,6 +30,7 @@
<properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<automatic-module-name>org.apache.openjpa.tools.statistics.was</automatic-module-name>
</properties>
<dependencies>

View File

@ -30,6 +30,7 @@
<properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location>
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
<automatic-module-name>org.apache.openjpa.tools.statistics</automatic-module-name>
</properties>
<dependencies>

View File

@ -35,6 +35,9 @@
<name>OpenJPA XML Store</name>
<description>OpenJPA XML Store</description>
<properties>
<automatic-module-name>org.apache.openjpa.xmlstore</automatic-module-name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.openjpa</groupId>

View File

@ -97,6 +97,7 @@
<bval.version>1.1.2</bval.version>
<jmock.version>2.9.0</jmock.version>
<automatic-module-name>-SUBMODULES-NEED-TO-OVERRIDE-THIS-</automatic-module-name>
</properties>
<licenses>
@ -2086,6 +2087,7 @@
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Implementation-Date>${timestamp}</Implementation-Date>
<Automatic-Module-Name>${automatic-module-name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>