rivenbarkc commented on issue #5778:
URL: https://github.com/apache/netbeans/issues/5778#issuecomment-1643800419

   Also happens with NetBeans 18, GlassFish 6.2.5, Jakarta 9.1, and Maven 
3.9.1.  GlassFish is installed locally on the development PC.  Maven has local 
repository and Maven Central through a Nexus Proxy.  The proxy does have the 
io.github.juneau001 webapp-jakarta91-1.1.0 JAR and POM files.
   
   OUTPUT
   ======
   cd C:\Users\rivenbarkc\Git Projects\NewsApp; "JAVA_HOME=C:\\Program 
Files\\Java\\jdk-18.0.2.1" "M2_HOME=C:\\Program Files\\Maven" cmd /c 
"\"C:\\Program Files\\Maven\\bin\\mvn.cmd\" 
-DarchetypeGroupId=io.github.juneau001 -DarchetypeArtifactId=webapp-jakartaee91 
-DarchetypeVersion=1.1.0 
-DarchetypeRepository=https://repo.maven.apache.org/maven2 
-DgroupId=org.drsolutions.lighthouse -DartifactId=NewsApp-ejb 
-Dversion=2.2.0-SNAPSHOT \"-Dbasedir=C:\\Users\\rivenbarkc\\Git 
Projects\\NewsApp\" -Darchetype.interactive=false -DarchetypeCatalog=local 
\"-Dmaven.ext.class.path=C:\\Program 
Files\\NetBeans-18\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
--batch-mode org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate"
   Scanning for projects...
   
   -----------------< org.drsolutions.lighthouse:NewsApp >-----------------
   Building NewsApp-2.2.0-SNAPSHOT 2.2.0-SNAPSHOT
     from pom.xml
   --------------------------------[ war ]---------------------------------
   
   >>> archetype:3.2.1:generate (default-cli) > generate-sources @ NewsApp >>>
   
   --- dependency:2.6:copy (default) @ NewsApp ---
   Parameter 'local' is deprecated core expression; Avoid use of 
ArtifactRepository type. If you need access to local repository, switch to 
'${repositorySystemSession}' expression and get LRM from it instead.
   
   <<< archetype:3.2.1:generate (default-cli) < generate-sources @ NewsApp <<<
   
   
   --- archetype:3.2.1:generate (default-cli) @ NewsApp ---
   Parameter 'localRepository' is deprecated core expression; Avoid use of 
ArtifactRepository type. If you need access to local repository, switch to 
'${repositorySystemSession}' expression and get LRM from it instead.
   Generating project in Batch mode
   Archetype not found in any catalog. Falling back to central repository.
   Add a repository with id 'archetype' in your settings.xml if archetype's 
repository is elsewhere.
   ----------------------------------------------------------------------------
   Using following parameters for creating project from Archetype: 
webapp-jakartaee91:1.1.0
   ----------------------------------------------------------------------------
   Parameter: groupId, Value: org.drsolutions.lighthouse
   Parameter: artifactId, Value: NewsApp-ejb
   Parameter: version, Value: 2.2.0-SNAPSHOT
   Parameter: package, Value: org.drsolutions.lighthouse.NewsApp-ejb
   Parameter: packageInPathFormat, Value: org/drsolutions/lighthouse/NewsApp-ejb
   Parameter: package, Value: org.drsolutions.lighthouse.NewsApp-ejb
   Parameter: groupId, Value: org.drsolutions.lighthouse
   Parameter: artifactId, Value: NewsApp-ejb
   Parameter: version, Value: 2.2.0-SNAPSHOT
   ------------------------------------------------------------------------
   BUILD FAILURE
   ------------------------------------------------------------------------
   Total time:  4.188 s
   Finished at: 2023-07-20T07:53:56-04:00
   ------------------------------------------------------------------------
   Failed to execute goal 
org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on 
project NewsApp: Unable to add module to the current project as it is not of 
packaging type 'pom' -> [Help 1]
   
   To see the full stack trace of the errors, re-run Maven with the -e switch.
   Re-run Maven using the -X switch to enable full debug logging.
   
   For more information about the errors and possible solutions, please read 
the following articles:
   [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   


-- 
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

Reply via email to