matthiasblaesing commented on PR #8899: URL: https://github.com/apache/netbeans/pull/8899#issuecomment-3428690520
I looked through this and makes sense to me. However testing is frustrating. I could not create a new payara micro project with the IDE. I built this branch and then activated the Enterprise cluster in the IDE. Now choosing File -> Java with Maven -> Payara Micro Application fails > cd /tmp; JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 /home/matthias/src/netbeans/nbbuild/netbeans/java/maven/bin/mvn -DarchetypeGroupId=fish.payara.starter -DarchetypeArtifactId=payara-starter-archetype -DarchetypeRepository=https://repo.maven.apache.org/maven2 -DgroupId=test -DartifactId=mavenproject2 -Dversion=1.0-SNAPSHOT -Dpackage=test.mavenproject2 -Dbasedir=/tmp -DpayaraMicroVersion=7.2025.1.Beta1 -DpayaraVersion=7.2025.1.Beta1 -DautoBindHttp=true -DcontextRoot=/ -Dplatform=micro -Darchetype.interactive=false -DarchetypeCatalog=local --batch-mode --no-transfer-progress org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate ... > Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (fish.payara.starter:payara-starter-archetype:1.0) -> [Help 1] This is correct, there is only `1.0.0-beta16` on central. So I used that and that generates a broken project: > cd /tmp/mavenproject3; JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 ./mvnw --no-transfer-progress install > Cannot run program "./mvnw" (in directory "/tmp/mavenproject3"): error=13, Keine Berechtigung And indeed there is `mvnw` but it is not executable. I fixed that, but I think that should not happen in an archetype. After that I noticed that the pom.xml defined a payara version, but that is not picked up: <img width="1463" height="681" alt="grafik" src="https://github.com/user-attachments/assets/d5573075-68b7-4736-8fcb-bcafeac85073" /> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
