Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vogella opened this issue Nov 7, 2023 · 1 comment

Comments

@vogella
Copy link
Contributor

vogella commented Nov 7, 2023

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
Copy link
Contributor Author

vogella commented Nov 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant