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


Here's an update on item 2.

I installed a new MacOSX Monterey 12.4 and a new Java from Oracle and removed 
JAVA_HOME from my .cshrc. So my environment is completely different from the 
last time I built JDO.

When I try mvn clean install:

[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.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.005 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.007 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 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.002 s 
- in javax.jdo.identity.ShortIdentityTest
[INFO] Running javax.jdo.ObjectStateTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s 
- in javax.jdo.ObjectStateTest
[INFO] Running javax.jdo.EnhancerTest
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.485 s 
- in javax.jdo.EnhancerTest
[INFO] Running javax.jdo.PMFMapMapTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s 
- in javax.jdo.PMFMapMapTest
[INFO] Running javax.jdo.schema.XMLTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.627 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.004 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.029 s 
- in javax.jdo.JDOHelperConfigTest
[INFO] Running javax.jdo.JDOHelperTest
[INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 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 [  1.801 s]
[INFO] JDO API ............................................ SUCCESS [ 17.274 s]
[INFO] JDO TCK Execution Maven Mojo ....................... FAILURE [  0.223 s]
[INFO] JDO Technology Compatibility Kit (TCK) ............. SKIPPED
[INFO] JDO Root POM ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.414 s
[INFO] Finished at: 2022-06-22T19:46:27-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=BAgAAAAxDxYejINbmqMAAAA1OuUCwZsBnS90m8hfg7f9-j8-W23AqJabFG_6rC6HZ6vLweMoIrnWmYGgg1DjWJBzwoiyImwEnfGTkbkDkxzWRZ1gpDKzjknKZQ091cSabVY7pz6yCyb080pe5ZcwckvB-N6dyjX5vEdh4NzVhcFdeSwdZRJre_VcDiuR6z9CTp15VxZqOa6QE6W-AY5Llh9DEVfsnEb2riHyV2xDYDUsrC7O0
[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%

Any ideas? See you tomorrow.

Craig



On Jun 22, 2022, at 14:37, Michael Bouschen 
<m...@apache.org><mailto:m...@apache.org> wrote:

Hi,

We will have our regular meeting Thursday June 23 11:00 AM Pacific Daylight 
Time (PDT) 21:00 Central European Summer Time (CEST) to discuss JDO TCK issues 
and status.

We use the following dial-in for audio and video. You need a Skype account to 
join.
https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmoEAAACrF-S3VZs6rr02eLmGAdM3hlalGH6PnAyJ79Lfi7wMbvAf35TM3fC6Zhd9N8d5jVHthj27_U8wZLR3QlcdKJtyJaF0aT_LkDeoMfcA0I8GXinmpYQUa9Iz9rZnWa9b_bolQZju2_VuQV2mmehZXFyvaBY_k4-PCuMD_GQJAE83ElM1

Agenda:

1. Branches 3.2 and 3.2.1: anything left?

2. JIRA JDO-815 "Change headers on source files to use https:// instead of 
http://"https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmosAAAAvfxhHSxnEeM086kko0DGDBOCBV96OFJWzEj6Re3GF1Yb-KeucWfjCHjIQANV1XqITKCzwDV1q7SiCxPi9kAbengYlakeQAaaUpLleNhg8kz_1OJexqNQ-6ArwdoZCNfiZz71mAh7vgipTByYkxnfygbJmWYgcCLT0himpHEA76OxyDl8fx5ec7Pxo0
   PR #50 
"<https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmosAAAAvfxhHSxnEeM086kko0DGDBOCBV96OFJWzEj6Re3GF1Yb-KeucWfjCHjIQANV1XqITKCzwDV1q7SiCxPi9kAbengYlakeQAaaUpLleNhg8kz_1OJexqNQ-6ArwdoZCNfiZz71mAh7vgipTByYkxnfygbJmWYgcCLT0himpHEA76OxyDl8fx5ec7Pxo0PR#50>Update
 pom.xml to change http to https"https://github.com/apache/db-jdo/pull/50

3. Derby's removal of the security manager (see email from Tilmann)

4. JIRA JDO-812 
"<https://github.com/apache/db-jdo/pull/503.Derby'sremovalofthesecuritymanager(seeemailfromTilmann)4.JIRAJDO-812>Move
 to JDK 11 as the lowest supported 
version"https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmosAAABbzpolLu0qFZ9FjhZn1av-eA9ozh7YAmamVIC_HP97QC6q9B8O4VDLiFmElWaVUF3aTgvE_0tgYJUuC2ph7Q_0PzB5n3X91Dy0K9OKCUcb4jKjX0IplvzMbaKZvFqAblIzCUpZPMe-xRBGUZWf5oa-zijMkWViyVc4Y5S5r0OHMWRrwqHBnJOM4_8l0

5. Other issues

Action Items from weeks past:

[Jun 15 2022] AI Craig verify that changing the headers now passes the RAT test 
without any other changes.
[Dec 09 2021] AI Craig: Try to contact all current/former participants in JDO 
development and see if and how they want to be recognized on the JDO and DB web 
sites.https://db.apache.org/whoweare.html
[Oct 07 2021] AI Craig send a private message to all JSR-243 Expert Group 
members asking if they wish to continue.
[Mar 25 2021] AI Craig: investigate 
"<https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmosAAABbzpolLu0qFZ9FjhZn1av-eA9ozh7YAmamVIC_HP97QC6q9B8O4VDLiFmElWaVUF3aTgvE_0tgYJUuC2ph7Q_0PzB5n3X91Dy0K9OKCUcb4jKjX0IplvzMbaKZvFqAblIzCUpZPMe-xRBGUZWf5oa-zijMkWViyVc4Y5S5r0OHMWRrwqHBnJOM4_8l05.OtherissuesActionItemsfromweekspast:[Jun152022]AICraigverifythatchangingtheheadersnowpassestheRATtestwithoutanyotherchanges.[Dec092021]AICraig:Trytocontactallcurrent/formerparticipantsinJDOdevelopmentandseeifandhowtheywanttoberecognizedontheJDOandDBwebsites.https://db.apache.org/whoweare.html[Oct072021]AICraigsendaprivatemessagetoallJSR-243ExpertGroupmembersaskingiftheywishtocontinue.[Mar252021]AICraig:investigate>merging"
 papajdo and apache.clr accounts
[Oct 17 2014] AI Matthew any updates for "Modify specification to address NoSQL 
datastores":https://mx.akquinet.de/link?id=BAgAAAAxDxYejINbmowAAADnfnYITApZmx2WW5xzNUVfJn3crIoJxkMeONEOc4ipm1pcgaY9ikSJuf-c_EDJpt-Mm90HEJ4uSI8tzj4R4Jbe8fvpHibwGaMMIuyKQLD-BsD0SLhZlM4QG4DcGdNPVVRHtMMmkU9q7XIGsPkEe9gbZHP9QvHewmjPGXBfiujGk-4Dh1ilTCjdeJhsBA2

Regards Michael




Craig L Russell
c...@apache.org<mailto:c...@apache.org>




--
Michael Bouschen
akquinet tech@spree GmbH
Bülowstraße 66 • D-10783 Berlin
Tel:   +49 30 235520-33
Fax:  +49 30 217520-12

E-Mail: michael.bousc...@akquinet.de<mailto:michael.bousc...@akquinet.de>
Web:   www.akquinet.de<http://www.akquinet.de/>

Geschäftsführung: Martin Weber, Dr. Torsten Fink, Heinz Wilming
Amtsgericht Berlin HRB 86780 • USt.-Id. Nr.: DE 225 964 680

[Facebook]<http://www.facebook.com/akquinet>  
[XING]<https://www.xing.com/companies/akquinetag>  
[LinkedIn]<https://www.linkedin.com/company/akquinet-ag>  
[Twitter]<https://twitter.com/akquinet>

Reply via email to