Hi Michael,

Since I had not really changed anything except my environment, I started with a 
clean main branch. The only thing I've changed is the pom to make the compiler 
work (and removed the errant .mavenrc).

clr% echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_71.jdk/Contents/Home
[MacBook-Pro-10:~/apache/git/db-jdo] clr% java -version
java version "1.8.0_71"
Java(TM) SE Runtime Environment (build 1.8.0_71-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode)

clr% cat ~/.mavenrc
cat: /Users/clr/.mavenrc: No such file or directory
clr% git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   exectck/pom.xml
        modified:   tck/pom.xml

no changes added to commit (use "git add" and/or "git commit -a")
[MacBook-Pro-10:~/apache/git/db-jdo] clr% git diff
diff --git a/exectck/pom.xml b/exectck/pom.xml
index 7bc67aed..8c49cc43 100644
--- a/exectck/pom.xml
+++ b/exectck/pom.xml
@@ -73,6 +73,15 @@
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <showWarnings>true</showWarnings>
+                    <fork>true</fork>
+                    <compilerArgument>-Xlint:unchecked</compilerArgument>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>
diff --git a/tck/pom.xml b/tck/pom.xml
index 3b70cb8c..4cfffe74 100644
--- a/tck/pom.xml
+++ b/tck/pom.xml
@@ -125,6 +125,15 @@
                     <windowtitle>${project.name} 
${pom.currentVersion}</windowtitle>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <showWarnings>true</showWarnings>
+                    <fork>true</fork>
+                    <compilerArgument>-Xlint:unchecked</compilerArgument>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>


> On Jun 25, 2022, at 03:20, Michael Bouschen <[email protected]> wrote:
> 
> Hi Craig,
> 
> about the test failure in the api submodule:
> I'm wondering whether it has to do with the changes for JDO-815 "Change 
> headers on source files to use https:// instead of http:".
> 
> I propose you stash your changes (or clone the db-jdo repository into a new 
> directory) and do a mvn clean install on the original main branch. I expect 
> this does not show the failures from below.
> If so could you please checkin your current changes into a branch and push 
> the branch? Then I can run the api tests using s diffent JDK, e.g. openjdk 11 
> from Zulu and whether this makes a difference.
> 
> Regards Michael
> 
> 
>> Hi Michael,
>> 
>> Thanks for checking... You found the issue.
>> 
>> My .mavenrc:
>> clr% cat ~/.mavenrc
>> echo "Maven config from .mavenrc"
>> export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
>> 
>> So that needs to be changed (or removed since it has no value).
>> 
>> I also looked at the difference between the api module which has an explicit 
>> maven-compiler-plugin:
>> 
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-compiler-plugin</artifactId>
>> <configuration>
>> <showWarnings>true</showWarnings>
>> <fork>true</fork>
>> <compilerArgument>-Xlint:unchecked</compilerArgument>
>> </configuration>
>> </plugin>
>> 
>> The other modules do not have the compiler plugin.
>> 
>> Removing .mavenrc makes everything... almost ok. There is this...
>> 
>> MacBook-Pro-10:~/apache/git/db-jdo] clr% mvn clean install
>> [INFO] Scanning for projects...
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] JDO PARENT [pom]
>> [INFO] JDO API [jar]
>> [INFO] JDO TCK Execution Maven Mojo [maven-plugin]
>> [INFO] JDO Technology Compatibility Kit (TCK) [jar]
>> [INFO] JDO Root POM [pom]
>> [INFO]
>> [INFO] ---------------------< org.apache.jdo:parent-pom 
>> >----------------------
>> [INFO] Building JDO PARENT 3.2.2-SNAPSHOT [1/5]
>> [INFO] --------------------------------[ pom 
>> ]---------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ parent-pom ---
>> [INFO] Deleting /Users/clr/apache/git/db-jdo/parent-pom/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
>> parent-pom ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
>> parent-pom ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
>> (process-resource-bundles) @ parent-pom ---
>> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
>> [INFO] Copying 3 resources from 1 bundle.
>> [INFO]
>> [INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ 
>> parent-pom ---
>> [INFO] No site descriptor found: nothing to attach.
>> [INFO]
>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ parent-pom 
>> ---
>> [INFO] Installing /Users/clr/apache/git/db-jdo/parent-pom/pom.xml to 
>> /Users/clr/.m2/repository/org/apache/jdo/parent-pom/3.2.2-SNAPSHOT/parent-pom-3.2.2-SNAPSHOT.pom
>> [INFO]
>> [INFO] -------------------------< javax.jdo:jdo-api 
>> >--------------------------
>> [INFO] Building JDO API 3.2.2-SNAPSHOT [2/5]
>> [INFO] --------------------------------[ jar 
>> ]---------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ jdo-api ---
>> [INFO] Deleting /Users/clr/apache/git/db-jdo/api/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
>> jdo-api ---
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
>> jdo-api ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
>> (process-resource-bundles) @ jdo-api ---
>> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
>> [INFO] Copying 3 resources from 1 bundle.
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
>> jdo-api ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
>> [INFO] Copying 44 resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ jdo-api 
>> ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 174 source files to 
>> /Users/clr/apache/git/db-jdo/api/target/classes
>> [INFO]
>> [INFO] --- maven-resources-plugin:3.2.0:testResources 
>> (default-testResources) @ jdo-api ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
>> [INFO] Copying 86 resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ 
>> jdo-api ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 34 source files to 
>> /Users/clr/apache/git/db-jdo/api/target/test-classes
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jdo-api ---
>> [INFO]
>> [INFO] -------------------------------------------------------
>> [INFO] T E S T S
>> [INFO] -------------------------------------------------------
>> [INFO] Running javax.jdo.listener.InstanceLifecycleEventTest
>> [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.004 s - in javax.jdo.listener.InstanceLifecycleEventTest
>> [INFO] Running javax.jdo.identity.IntIdentityTest
>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.001 s - in javax.jdo.identity.IntIdentityTest
>> [INFO] Running javax.jdo.identity.CharIdentityTest
>> [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.001 s - in javax.jdo.identity.CharIdentityTest
>> [INFO] Running javax.jdo.identity.ByteIdentityTest
>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.001 s - in javax.jdo.identity.ByteIdentityTest
>> [INFO] Running javax.jdo.identity.LongIdentityTest
>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.001 s - in javax.jdo.identity.LongIdentityTest
>> [INFO] Running javax.jdo.identity.SingleFieldIdentityTest
>> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - 
>> in javax.jdo.identity.SingleFieldIdentityTest
>> [INFO] Running javax.jdo.identity.ObjectIdentityTest
>> [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.025 s - in javax.jdo.identity.ObjectIdentityTest
>> [INFO] Running javax.jdo.identity.StringIdentityTest
>> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 
>> s - in javax.jdo.identity.StringIdentityTest
>> [INFO] Running javax.jdo.identity.ShortIdentityTest
>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s 
>> - in javax.jdo.identity.ShortIdentityTest
>> [INFO] Running javax.jdo.ObjectStateTest
>> [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.014 s - in javax.jdo.ObjectStateTest
>> [INFO] Running javax.jdo.EnhancerTest
>> [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 2.368 s - in javax.jdo.EnhancerTest
>> [INFO] Running javax.jdo.PMFMapMapTest
>> [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.037 s - in javax.jdo.PMFMapMapTest
>> [INFO] Running javax.jdo.schema.XMLTest
>> [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
>> 6.278 s <<< FAILURE! - in javax.jdo.schema.XMLTest
>> [ERROR] testDTDBased Time elapsed: 6.068 s <<< FAILURE!
>> junit.framework.AssertionFailedError:
>> Fatal error processing Positive0-dtd.jdo: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive1-dtd.jdo: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> Fatal error processing Negative0-dtd.jdo: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> Fatal error processing Positive15.8.2-dtd.orm: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.3-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.2.1-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.8.3-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.2-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.1-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.8.1-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.1-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.2.2-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.5-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.4-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive0-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.5-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive1-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.4-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.6-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested targetFatal error processing 
>> Positive15.3.6-dtd.orm: javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> Fatal error processing Negative0-dtd.orm: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> Fatal error processing Positive0-dtd.jdoquery: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> Fatal error processing Negative0-dtd.jdoquery: 
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException: PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
>> valid certification path to requested target
>> 
>>      at javax.jdo.schema.XMLTest.testDTDBased(XMLTest.java:115)
>> 
>> [INFO] Running javax.jdo.spi.JDOImplHelperTest
>> [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.001 s - in javax.jdo.spi.JDOImplHelperTest
>> [INFO] Running javax.jdo.spi.StateInterrogationTest
>> [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.003 s - in javax.jdo.spi.StateInterrogationTest
>> [INFO] Running javax.jdo.JDOHelperConfigTest
>> [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.033 s - in javax.jdo.JDOHelperConfigTest
>> [INFO] Running javax.jdo.JDOHelperTest
>> [INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>> 0.009 s - in javax.jdo.JDOHelperTest
>> [INFO]
>> 
>> 
>> Thanks,
>> Craig
>>> On Jun 24, 2022, at 08:47, Michael Bouschen <[email protected]> wrote:
>>> 
>>> Hi Craig,
>>> 
>>> the first output of your mvn clean install call says "Maven config from 
>>> .mavenrc".
>>> 
>>> Does it include any java setting? How does it look like? I do not have such 
>>> a config file .mavenrc.
>>> 
>>> Regards Michael
>>> 
>>>> Hi,
>>>> 
>>>> Still looking for help on this one. I added a JAVA_HOME env variable.
>>>> 
>>>> Exactly the same result:
>>>> 
>>>> [MacBook-Pro-10:~/apache/git/db-jdo] clr% mvn clean install
>>>> Maven config from .mavenrc
>>>> [INFO] Scanning for projects...
>>>> [INFO] 
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Build Order:
>>>> [INFO]
>>>> [INFO] JDO PARENT [pom]
>>>> [INFO] JDO API [jar]
>>>> [INFO] JDO TCK Execution Maven Mojo [maven-plugin]
>>>> [INFO] JDO Technology Compatibility Kit (TCK) [jar]
>>>> [INFO] JDO Root POM [pom]
>>>> [INFO]
>>>> [INFO] ---------------------< org.apache.jdo:parent-pom 
>>>> >----------------------
>>>> [INFO] Building JDO PARENT 3.2.2-SNAPSHOT [1/5]
>>>> [INFO] --------------------------------[ pom 
>>>> ]---------------------------------
>>>> [INFO]
>>>> [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ parent-pom ---
>>>> [INFO] Deleting /Users/clr/apache/git/db-jdo/parent-pom/target
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
>>>> parent-pom ---
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
>>>> parent-pom ---
>>>> [INFO]
>>>> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
>>>> (process-resource-bundles) @ parent-pom ---
>>>> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
>>>> [INFO] Copying 3 resources from 1 bundle.
>>>> [INFO]
>>>> [INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) 
>>>> @ parent-pom ---
>>>> [INFO] No site descriptor found: nothing to attach.
>>>> [INFO]
>>>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
>>>> parent-pom ---
>>>> [INFO] Installing /Users/clr/apache/git/db-jdo/parent-pom/pom.xml to 
>>>> /Users/clr/.m2/repository/org/apache/jdo/parent-pom/3.2.2-SNAPSHOT/parent-pom-3.2.2-SNAPSHOT.pom
>>>> [INFO]
>>>> [INFO] -------------------------< javax.jdo:jdo-api 
>>>> >--------------------------
>>>> [INFO] Building JDO API 3.2.2-SNAPSHOT [2/5]
>>>> [INFO] --------------------------------[ jar 
>>>> ]---------------------------------
>>>> [INFO]
>>>> [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ jdo-api ---
>>>> [INFO] Deleting /Users/clr/apache/git/db-jdo/api/target
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
>>>> jdo-api ---
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
>>>> jdo-api ---
>>>> [INFO]
>>>> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
>>>> (process-resource-bundles) @ jdo-api ---
>>>> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
>>>> [INFO] Copying 3 resources from 1 bundle.
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
>>>> jdo-api ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
>>>> [INFO] Copying 44 resources
>>>> [INFO] Copying 3 resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ 
>>>> jdo-api ---
>>>> [INFO] Changes detected - recompiling the module!
>>>> [INFO] Compiling 174 source files to 
>>>> /Users/clr/apache/git/db-jdo/api/target/classes
>>>> 
>>>> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the 
>>>> environment.
>>>> 
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:3.2.0:testResources 
>>>> (default-testResources) @ jdo-api ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
>>>> [INFO] Copying 86 resources
>>>> [INFO] Copying 3 resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) 
>>>> @ jdo-api ---
>>>> [INFO] Changes detected - recompiling the module!
>>>> [INFO] Compiling 34 source files to 
>>>> /Users/clr/apache/git/db-jdo/api/target/test-classes
>>>> 
>>>> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the 
>>>> environment.
>>>> 
>>>> [INFO]
>>>> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jdo-api ---
>>>> [INFO]
>>>> [INFO] -------------------------------------------------------
>>>> [INFO] T E S T S
>>>> [INFO] -------------------------------------------------------
>>>> [INFO] Running javax.jdo.listener.InstanceLifecycleEventTest
>>>> [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.005 s - in javax.jdo.listener.InstanceLifecycleEventTest
>>>> [INFO] Running javax.jdo.identity.IntIdentityTest
>>>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.009 s - in javax.jdo.identity.IntIdentityTest
>>>> [INFO] Running javax.jdo.identity.CharIdentityTest
>>>> [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 
>>>> s - in javax.jdo.identity.CharIdentityTest
>>>> [INFO] Running javax.jdo.identity.ByteIdentityTest
>>>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.001 s - in javax.jdo.identity.ByteIdentityTest
>>>> [INFO] Running javax.jdo.identity.LongIdentityTest
>>>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.007 s - in javax.jdo.identity.LongIdentityTest
>>>> [INFO] Running javax.jdo.identity.SingleFieldIdentityTest
>>>> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s 
>>>> - in javax.jdo.identity.SingleFieldIdentityTest
>>>> [INFO] Running javax.jdo.identity.ObjectIdentityTest
>>>> [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.048 s - in javax.jdo.identity.ObjectIdentityTest
>>>> [INFO] Running javax.jdo.identity.StringIdentityTest
>>>> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.001 s - in javax.jdo.identity.StringIdentityTest
>>>> [INFO] Running javax.jdo.identity.ShortIdentityTest
>>>> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.013 s - in javax.jdo.identity.ShortIdentityTest
>>>> [INFO] Running javax.jdo.ObjectStateTest
>>>> [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.056 s - in javax.jdo.ObjectStateTest
>>>> [INFO] Running javax.jdo.EnhancerTest
>>>> [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 3.046 s - in javax.jdo.EnhancerTest
>>>> [INFO] Running javax.jdo.PMFMapMapTest
>>>> [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.071 s - in javax.jdo.PMFMapMapTest
>>>> [INFO] Running javax.jdo.schema.XMLTest
>>>> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 3.122 s - in javax.jdo.schema.XMLTest
>>>> [INFO] Running javax.jdo.spi.JDOImplHelperTest
>>>> [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.01 s - in javax.jdo.spi.JDOImplHelperTest
>>>> [INFO] Running javax.jdo.spi.StateInterrogationTest
>>>> [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.005 s - in javax.jdo.spi.StateInterrogationTest
>>>> [INFO] Running javax.jdo.JDOHelperConfigTest
>>>> [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.05 s - in javax.jdo.JDOHelperConfigTest
>>>> [INFO] Running javax.jdo.JDOHelperTest
>>>> [INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
>>>> 0.018 s - in javax.jdo.JDOHelperTest
>>>> [INFO]
>>>> [INFO] Results:
>>>> [INFO]
>>>> [INFO] Tests run: 254, Failures: 0, Errors: 0, Skipped: 0
>>>> [INFO]
>>>> [INFO]
>>>> [INFO] --- maven-bundle-plugin:5.1.6:manifest (bundle-manifest) @ jdo-api 
>>>> ---
>>>> [INFO] No MANIFEST.MF file found, generating manifest.
>>>> [INFO] Writing manifest: 
>>>> /Users/clr/apache/git/db-jdo/api/target/classes/META-INF/MANIFEST.MF
>>>> [INFO]
>>>> [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ jdo-api ---
>>>> [INFO] Building jar: 
>>>> /Users/clr/apache/git/db-jdo/api/target/jdo-api-3.2.2-SNAPSHOT.jar
>>>> [INFO]
>>>> [INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) 
>>>> @ jdo-api ---
>>>> [INFO] Skipping because packaging 'jar' is not pom.
>>>> [INFO]
>>>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ jdo-api 
>>>> ---
>>>> [INFO] Installing 
>>>> /Users/clr/apache/git/db-jdo/api/target/jdo-api-3.2.2-SNAPSHOT.jar to 
>>>> /Users/clr/.m2/repository/javax/jdo/jdo-api/3.2.2-SNAPSHOT/jdo-api-3.2.2-SNAPSHOT.jar
>>>> [INFO] Installing /Users/clr/apache/git/db-jdo/api/pom.xml to 
>>>> /Users/clr/.m2/repository/javax/jdo/jdo-api/3.2.2-SNAPSHOT/jdo-api-3.2.2-SNAPSHOT.pom
>>>> [INFO]
>>>> [INFO] ---------------------< org.apache.jdo:jdo-exectck 
>>>> >---------------------
>>>> [INFO] Building JDO TCK Execution Maven Mojo 3.2.2-SNAPSHOT [3/5]
>>>> [INFO] ----------------------------[ maven-plugin 
>>>> ]----------------------------
>>>> [INFO]
>>>> [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ jdo-exectck ---
>>>> [INFO] Deleting /Users/clr/apache/git/db-jdo/exectck/target
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ 
>>>> jdo-exectck ---
>>>> [INFO]
>>>> [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ 
>>>> jdo-exectck ---
>>>> [INFO]
>>>> [INFO] --- maven-remote-resources-plugin:1.7.0:process 
>>>> (process-resource-bundles) @ jdo-exectck ---
>>>> [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
>>>> [INFO] Copying 3 resources from 1 bundle.
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
>>>> jdo-exectck ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
>>>> [INFO] skip non existing resourceDirectory 
>>>> /Users/clr/apache/git/db-jdo/exectck/src/main/resources
>>>> [INFO] Copying 3 resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ 
>>>> jdo-exectck ---
>>>> [INFO] Changes detected - recompiling the module!
>>>> [INFO] Compiling 8 source files to 
>>>> /Users/clr/apache/git/db-jdo/exectck/target/classes
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] COMPILATION ERROR :
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] No compiler is provided in this environment. Perhaps you are 
>>>> running on a JRE rather than a JDK?
>>>> [INFO] 1 error
>>>> [INFO] -------------------------------------------------------------
>>>> [INFO] 
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary for JDO Root POM 3.2.2-SNAPSHOT:
>>>> [INFO]
>>>> [INFO] JDO PARENT ......................................... SUCCESS [ 
>>>> 2.063 s]
>>>> [INFO] JDO API ............................................ SUCCESS [ 
>>>> 19.445 s]
>>>> [INFO] JDO TCK Execution Maven Mojo ....................... FAILURE [ 
>>>> 0.465 s]
>>>> [INFO] JDO Technology Compatibility Kit (TCK) ............. SKIPPED
>>>> [INFO] JDO Root POM ....................................... SKIPPED
>>>> [INFO] 
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO] 
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 22.123 s
>>>> [INFO] Finished at: 2022-06-23T15:14:34-07:00
>>>> [INFO] 
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile 
>>>> (default-compile) on project jdo-exectck: Compilation failure
>>>> [ERROR] No compiler is provided in this environment. Perhaps you are 
>>>> running on a JRE rather than a JDK?
>>>> [ERROR]
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
>>>> -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions, 
>>>> please read the following articles:
>>>> [ERROR] [Help 1] 
>>>> https://mx.akquinet.de/link?id=BAgAAACYQ5h30xnx26MAAABpbk2lvMevsvB7bbqlWtHsmXVGZeXyhhvWJCDfxjotQtskELP8uOfPbTLF2XOGyNvJnEq9fCSAsjSeZNutRf0_99ho1M4UkFVXmqH1zNaxL1VnczcYrNT16q2TGaHo7OvVGSN01WTGFL5015qDGGe-k7kSmdauCBfw-Z8cKpHTJUERoms7yU3524A4YVKicdgd6lCXWTK2t5xUbSvHZ6fdLg5I0
>>>>  
>>>> <https://mx.akquinet.de/link?id=BAgAAACYQ5h30xnx26MAAABpbk2lvMevsvB7bbqlWtHsmXVGZeXyhhvWJCDfxjotQtskELP8uOfPbTLF2XOGyNvJnEq9fCSAsjSeZNutRf0_99ho1M4UkFVXmqH1zNaxL1VnczcYrNT16q2TGaHo7OvVGSN01WTGFL5015qDGGe-k7kSmdauCBfw-Z8cKpHTJUERoms7yU3524A4YVKicdgd6lCXWTK2t5xUbSvHZ6fdLg5I0>
>>>>  
>>>> <https://mx.akquinet.de/link?id=BAgAAACYQ5h30xnx26MAAABpbk2lvMevsvB7bbqlWtHsmXVGZeXyhhvWJCDfxjotQtskELP8uOfPbTLF2XOGyNvJnEq9fCSAsjSeZNutRf0_99ho1M4UkFVXmqH1zNaxL1VnczcYrNT16q2TGaHo7OvVGSN01WTGFL5015qDGGe-k7kSmdauCBfw-Z8cKpHTJUERoms7yU3524A4YVKicdgd6lCXWTK2t5xUbSvHZ6fdLg5I0
>>>>  
>>>> <https://mx.akquinet.de/link?id=BAgAAACYQ5h30xnx26MAAABpbk2lvMevsvB7bbqlWtHsmXVGZeXyhhvWJCDfxjotQtskELP8uOfPbTLF2XOGyNvJnEq9fCSAsjSeZNutRf0_99ho1M4UkFVXmqH1zNaxL1VnczcYrNT16q2TGaHo7OvVGSN01WTGFL5015qDGGe-k7kSmdauCBfw-Z8cKpHTJUERoms7yU3524A4YVKicdgd6lCXWTK2t5xUbSvHZ6fdLg5I0>>
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with the 
>>>> command
>>>> [ERROR] mvn <args> -rf :jdo-exectck
>>>> [MacBook-Pro-10:~/apache/git/db-jdo] clr% echo $JAVA_HOME
>>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_71.jdk/Contents/Home
>>>> [MacBook-Pro-10:~/apache/git/db-jdo] clr% ls 
>>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_71.jdk/Contents/Home
>>>> COPYRIGHT                          THIRDPARTYLICENSEREADME.txt             
>>>> javafx-src.zip                          release
>>>> LICENSE                                    bin                             
>>>>         jre                                     src.zip
>>>> README.html                                db                              
>>>>         lib
>>>> THIRDPARTYLICENSEREADME-JAVAFX.txt include                                 
>>>> man
>>>> [MacBook-Pro-10:~/apache/git/db-jdo] clr% ls $JAVA_HOME/bin
>>>> appletviewer       jarsigner       javafxpackager  jcmd            jhat    
>>>>         jmc             jstack          keytool         policytool      
>>>> schemagen       unpack200
>>>> extcheck   java            javah           jconsole        jinfo           
>>>> jps             jstat           native2ascii    rmic            serialver  
>>>>      wsgen
>>>> idlj               javac           javap           jdb             jjs     
>>>>         jrunscript      jstatd          orbd            rmid            
>>>> servertool      wsimport
>>>> jar                javadoc         javapackager    jdeps           jmap    
>>>>         jsadebugd       jvisualvm       pack200         rmiregistry     
>>>> tnameserv       xjc
>>>> [MacBook-Pro-10:~/apache/git/db-jdo] clr
>>>> 
>>>>> On Jun 23, 2022, at 00:12, Bouschen, Michael 
>>>>> <[email protected]> wrote:
>>>>> 
>>>>> Hi Craig,
>>>>> 
>>>>> please try setting JAVA_HOME to the JDK you want to use. As far as I know 
>>>>> uses maven the JAVA_HOME environment variable internally to find the JDK. 
>>>>> This might explain the error message you get: "No compiler is provided in 
>>>>> this environment. Perhaps you are running on a JRE rather than a JDK?"
>>>>> 
>>>>> Regards Michael
>>>>> 
>>>>> 
>>>> Craig L Russell
>>>> [email protected]
>> Craig L Russell
>> [email protected]

Craig L Russell
[email protected]

Reply via email to