tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Running the platform.ui build with Java 21 results in three times the same message

Open vogella opened this issue 8 months ago • 1 comments

It is expected / desired to see the same message multiple times per compile step?

Running the eclipse.platform.ui build locally with mvn verify -Pbuild-individual-bundles -DskipTests results in multiple entries like this:

[INFO] --- tycho-compiler:4.0.4-SNAPSHOT:testCompile (default-testCompile) @ org.eclipse.ui.navigator.resources ---
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml

Feels like this message is redundant, longer example:

[INFO] Resolving class path of [bundle] Navigator Workbench Components
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ org.eclipse.ui.navigator.resources ---
[INFO] skip non existing resourceDirectory /home/vogella/git/eclipse.platform.ui/bundles/org.eclipse.ui.navigator.resources/src/main/resources
[INFO] 
[INFO] --- resources:3.3.1:resources (filter-resources) @ org.eclipse.ui.navigator.resources ---
[INFO] skip non existing resourceDirectory /home/vogella/git/eclipse.platform.ui/bundles/org.eclipse.ui.navigator.resources/src/main/resources
[INFO] 
[INFO] --- tycho-compiler:4.0.4-SNAPSHOT:compile (default-compile) @ org.eclipse.ui.navigator.resources ---
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- tycho-bnd:4.0.4-SNAPSHOT:process (default-process) @ org.eclipse.ui.navigator.resources ---
[INFO] 
[INFO] --- tycho-ds:4.0.4-SNAPSHOT:declarative-services (default-declarative-services) @ org.eclipse.ui.navigator.resources ---
[INFO] 
[INFO] --- tycho-apitools:4.0.4-SNAPSHOT:generate (generate) @ org.eclipse.ui.navigator.resources ---
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ org.eclipse.ui.navigator.resources ---
[INFO] skip non existing resourceDirectory /home/vogella/git/eclipse.platform.ui/bundles/org.eclipse.ui.navigator.resources/src/test/resources
[INFO] 
[INFO] --- tycho-compiler:4.0.4-SNAPSHOT:testCompile (default-testCompile) @ org.eclipse.ui.navigator.resources ---
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[INFO] 
[INFO] --- tyc

vogella avatar Nov 07 '23 19:11 vogella

For platform I see the same message even more often:

[INFO]   from team/bundles/org.eclipse.core.net/.polyglot.META-INF
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] --- tycho-p2-extras:4.0.4:compare-version-with-baselines (compare-attached-artifacts-with-release) @ eclipse.platform.resources.tests ---
[WARNING]  Parameter 'comparator' is read-only, must not be used in configuration
[INFO] skip non existing resourceDirectory /home/vogella/git/eclipse.platform/runtime/tests/src/main/resources
[INFO] 
[INFO] --- tycho-apitools:4.0.4:generate (generate) @ runtime-tests ---
[INFO] Execution was skipped
[WARNING]  Parameter 'comparator' is read-only, must not be used in configuration
[INFO] 
[INFO] --- tycho-source:4.0.4:plugin-source (plugin-source) @ runtime-tests ---
[INFO] Execution was skipped
[INFO] 
[INFO] --- tycho-p2-extras:4.0.4:compare-version-with-baselines (compare-attached-artifacts-with-release) @ runtime-tests ---
[WARNING]  Parameter 'comparator' is read-only, must not be used in configuration
[INFO] Execution was skipped
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
^C[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-17 this might lead to faulty dependency resolution, consider define a suitable JDK in the toolchains.xml

vogella avatar Nov 08 '23 20:11 vogella