You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/27 09:11:55 UTC
[GitHub] [netbeans] menny68 opened a new issue, #4552: need to update maven-war-plugin for maven web application using jdk17
menny68 opened a new issue, #4552:
URL: https://github.com/apache/netbeans/issues/4552
### Apache NetBeans version
Apache NetBeans 14
### What happened
building a project of type maven web application using jdk 17 source level 17 got the following error
.... Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' ...
### How to reproduce
create new project
type = maven web application
application server glassfish 6
javaee version = jakarta ee8 web
set code source level 17
target version 17
build the project
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
ubuntu 20.04
### JDK
openjdk 17
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
work around bump maven-web-plugin to version 3.3.2 in pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] OndroMih commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "OndroMih (via GitHub)" <gi...@apache.org>.
OndroMih commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1624804431
The fix in the currently used archetype is now released: https://mvnrepository.com/artifact/io.github.juneau001/webapp-jakartaee10/1.1.0
We can upgrade it while waiting for the new archetype
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] OndroMih commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "OndroMih (via GitHub)" <gi...@apache.org>.
OndroMih commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1634247965
> @OndroMih I'd suggest to do a PR to update the used artifact for now so that this get included into NB19. Can you prepare one?
>
> If the new NetBeans internal solution (aka #5969) is ready, we'd just override that change.
NB19 targets an August release, right? I can prepare a PR for that but I can't get to it sooner than in a week or 2.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1382732861
NB17 will have maven hints which annotate outdated dependencies #5009
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] stoxford commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "stoxford (via GitHub)" <gi...@apache.org>.
stoxford commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1484504986
I'm encountering this same issue in NetBeans 17. How to reproduce: "New Project …" -> "Java with Maven" -> "Web Application" -> Use name and location defaults -> Server: "Apache TomEE Webprofile 8.0.14", Java EE Version: "Java EE 8 Web" -> "Finish". Now just clean and build the newly-created project. It will fail.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien closed issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #4552: need to update maven-war-plugin for maven web application using jdk17
URL: https://github.com/apache/netbeans/issues/4552
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] asbachb commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "asbachb (via GitHub)" <gi...@apache.org>.
asbachb commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1632956670
@OndroMih I'd suggest to do a PR to update the used artifact for now so that this get included into NB19. Can you prepare one?
If the new NetBeans internal solution (aka #5969) is ready, we'd just override that change.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] OndroMih commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "OndroMih (via GitHub)" <gi...@apache.org>.
OndroMih commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1636903167
Here's the PR to update the current achetype: https://github.com/apache/netbeans/pull/6201
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1634284814
@OndroMih feature freeze is July 18th / next week. So we would have to merge everything this weekend.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] OndroMih commented on issue #4552: need to update maven-war-plugin for maven web application using jdk17
Posted by "OndroMih (via GitHub)" <gi...@apache.org>.
OndroMih commented on issue #4552:
URL: https://github.com/apache/netbeans/issues/4552#issuecomment-1617523532
While #5969 is in draft mode, there's a fix in the currently used archetype https://github.com/juneau001/jakartaee10-archetype.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists