Revert "[OPENJPA-2798] java11 friendly (#57)"

this introduces a dependency which requires attribution. No need to imo

This reverts commit 7ec0015edf.
This commit is contained in:
Mark Struberg 2020-02-29 16:05:56 +01:00
parent fd9585839a
commit 962cbbc624
30 changed files with 32 additions and 69 deletions

View File

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

View File

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

View File

@ -42,7 +42,6 @@
<properties> <properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location> <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> <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> </properties>
<dependencies> <dependencies>
<dependency> <dependency>

View File

@ -49,7 +49,6 @@
<properties> <properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location> <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> <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> </properties>
<build> <build>
<plugins> <plugins>

View File

@ -44,7 +44,6 @@
<dbcp.minIdle>2</dbcp.minIdle> <dbcp.minIdle>2</dbcp.minIdle>
<dbcp.maxWait>10000</dbcp.maxWait> <dbcp.maxWait>10000</dbcp.maxWait>
<dbcp.args>MaxTotal=${dbcp.maxTotal},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args> <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> </properties>
<dependencies> <dependencies>

View File

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

View File

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

View File

@ -446,8 +446,9 @@ databaseName=${db.name}
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>

View File

@ -38,7 +38,6 @@
<properties> <properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location> <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> <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> </properties>
<profiles> <profiles>
@ -96,7 +95,7 @@
<version>4.0.2.GA</version> <version>4.0.2.GA</version>
<scope>test</scope> <scope>test</scope>
<exclusions> <exclusions>
<!-- force usage of own jpa --> <!-- force usage of the geronimo-jpa_2.1_spec -->
<exclusion> <exclusion>
<groupId>org.hibernate.java-persistence</groupId> <groupId>org.hibernate.java-persistence</groupId>
<artifactId>jpa-api</artifactId> <artifactId>jpa-api</artifactId>

View File

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

View File

@ -35,9 +35,6 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<name>OpenJPA JEST</name> <name>OpenJPA JEST</name>
<properties>
<automatic-module-name>org.apache.openjpa.jest</automatic-module-name>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
@ -45,8 +42,8 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>

View File

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

View File

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

View File

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

View File

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

View File

@ -35,9 +35,6 @@
<name>OpenJPA Persistence</name> <name>OpenJPA Persistence</name>
<description>OpenJPA Persistence</description> <description>OpenJPA Persistence</description>
<properties>
<automatic-module-name>org.apache.openjpa.persistence</automatic-module-name>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
@ -45,8 +42,8 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -139,7 +139,7 @@
<include>org.apache.commons:commons-dbcp2</include> <include>org.apache.commons:commons-dbcp2</include>
<include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include> <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
<include>org.eclipse.persistence:jakarta.persistence</include> <include>org.apache.geronimo.specs:geronimo-jpa_2.2_spec</include>
<include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include> <include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include>
<include>org.apache.geronimo.specs:geronimo-validation_1.0_spec</include> <include>org.apache.geronimo.specs:geronimo-validation_1.0_spec</include>
<include>org.apache.bval:org.apache.bval.bundle</include> <include>org.apache.bval:org.apache.bval.bundle</include>

View File

@ -78,7 +78,7 @@
<include>org.apache.commons:commons-dbcp2</include> <include>org.apache.commons:commons-dbcp2</include>
<include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include> <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
<include>org.eclipse.persistence:jakarta.persistence</include> <include>org.apache.geronimo.specs:geronimo-jpa_2.2_spec</include>
<include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include> <include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include>
<include>org.apache.geronimo.specs:geronimo-validation_1.0_spec</include> <include>org.apache.geronimo.specs:geronimo-validation_1.0_spec</include>
<include>org.apache.bval:org.apache.bval.bundle</include> <include>org.apache.bval:org.apache.bval.bundle</include>

View File

@ -35,9 +35,6 @@
<name>OpenJPA Slice</name> <name>OpenJPA Slice</name>
<description>OpenJPA Slice</description> <description>OpenJPA Slice</description>
<properties>
<automatic-module-name>org.apache.openjpa.slice</automatic-module-name>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
@ -50,8 +47,8 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -30,7 +30,6 @@
<properties> <properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location> <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> <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> </properties>
<dependencies> <dependencies>

View File

@ -30,13 +30,12 @@
<properties> <properties>
<checkstyle.config.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}checkstyle.xml</checkstyle.config.location> <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> <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> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -118,8 +118,8 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -34,9 +34,10 @@
<artifactId>enhance</artifactId> <artifactId>enhance</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -42,8 +42,8 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -36,8 +36,8 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -35,8 +35,8 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -35,8 +35,8 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

@ -35,8 +35,8 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>

View File

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

View File

@ -97,7 +97,6 @@
<bval.version>1.1.2</bval.version> <bval.version>1.1.2</bval.version>
<jmock.version>2.9.0</jmock.version> <jmock.version>2.9.0</jmock.version>
<automatic-module-name>-SUBMODULES-NEED-TO-OVERRIDE-THIS-</automatic-module-name>
</properties> </properties>
<licenses> <licenses>
@ -1716,9 +1715,9 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.persistence</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>jakarta.persistence</artifactId> <artifactId>geronimo-jpa_2.2_spec</artifactId>
<version>2.2.3</version> <version>1.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
@ -2087,7 +2086,6 @@
<manifestEntries> <manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build> <Implementation-Build>${buildNumber}</Implementation-Build>
<Implementation-Date>${timestamp}</Implementation-Date> <Implementation-Date>${timestamp}</Implementation-Date>
<Automatic-Module-Name>${automatic-module-name}</Automatic-Module-Name>
</manifestEntries> </manifestEntries>
</archive> </archive>
</configuration> </configuration>