You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Pankraz76 (via GitHub)" <gi...@apache.org> on 2025/05/01 13:03:34 UTC

[PR] Pull #16981: `Migrate to Java 21` [maven]

Pankraz76 opened a new pull request, #2281:
URL: https://github.com/apache/maven/pull/2281

   ## `Migrate to Java 21`
   
   apply changes commonly needed when migrating to Java `21`
   
   https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [POC] Migrate to `Java 21 - code` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2869172622

   > We need a separate PR for bumping the required JDK to 21. Other PRs can follow and be based on that one.
   
   - https://github.com/apache/maven/pull/2319
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2845177797

   > Rising the Maven version requires an official, succeeded vote.
   
   is there an template? I wanted to pitch an similar Issue, buts its not allowed:
   - https://github.com/checkstyle/checkstyle/issues/16981


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2845171312

   Rising the Maven version requires an official, succeeded vote.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2844880532

   good catch, thx.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [POC] Migrate to `Java 21` - code [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2876463405

   wip reopen when ci green


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [POC] Migrate to `Java 21 - code` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2869185541

   item: `ResourceNotFoundException`: Could not find resource 'licenses/unrecognized.txt'. at remote-resources
   
   ```
   [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ apache-maven ---
   [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7
   [INFO] Copying 3 resources from 1 bundle.
   [INFO] Filtering appended resource: META-INF/LICENSE.vm
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  2.027 s
   [INFO] Finished at: 2025-05-11T00:46:30+02:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:3.3.0:process (process-resource-bundles) on project apache-maven: Error rendering Velocity resource 'META-INF/LICENSE.vm': Invocation of method 'getResourceAsFile' in  class org.codehaus.plexus.resource.DefaultResourceManager threw exception org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could not find resource 'licenses/unrecognized.txt'. at remote-resources[line 75, column 39] -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   ➜  apache-maven git:(code-infra--Migrate-to-Java-21) 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [POC] Migrate to `Java 21` - code [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 closed pull request #2281: [POC] Migrate to `Java 21` - code
URL: https://github.com/apache/maven/pull/2281


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2844822631

   Item:
   
   <img width="1397" alt="image" src="https://github.com/user-attachments/assets/0ac73b3e-6823-4228-bf9a-6c42f5873455" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "desruisseaux (via GitHub)" <gi...@apache.org>.
desruisseaux commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2844856808

   Does it needs to be synchronized with #2277 for avoiding overlaps and therefore, potential merge conflicts?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pull #2281: `Migrate to Java 21` [maven]

Posted by "Pankraz76 (via GitHub)" <gi...@apache.org>.
Pankraz76 commented on PR #2281:
URL: https://github.com/apache/maven/pull/2281#issuecomment-2844852513

   is this any good?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org