[ https://issues.apache.org/jira/browse/ARCHETYPE-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887142#comment-17887142 ]
Slawomir Jaranowski commented on ARCHETYPE-628: ----------------------------------------------- Please try with newer Maven and JDK version. I logs I see ... {noformat} aused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.ssl.Alerts.getSSLException (Alerts.java:214) at sun.security.ssl.SSLSocketImpl.fatal (SSLSocketImpl.java:1958) at sun.security.ssl.SSLSocketImpl.fatal (SSLSocketImpl.java:1915) at sun.security.ssl.SSLSocketImpl.handleException (SSLSocketImpl.java:1898) at sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1419) at sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1396) {noformat} The problem is not connected to archetype plugin. > error thrown when trying to create maven project from command line > ------------------------------------------------------------------ > > Key: ARCHETYPE-628 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-628 > Project: Maven Archetype > Issue Type: Bug > Components: Plugin > Environment: I just configured version 3.8.4, I have windows 10, I > have already configured the environment variables (M2_HOME, MAVEN_HOME) > Reporter: CLAUDIA MARTINEZ > Priority: Major > Attachments: maven_error.txt > > > I just configured version 3.8.4, I have windows 10, I have already configured > the environment variables (M2_HOME, MAVEN_HOME), and I am trying to create a > maven project from the console with the following line: > mvn archetype:generate > or I have also tried with the sentence that they suggest in the maven site: > mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app > -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 > -DinteractiveMode=false > But it always throws me the same error (see attached txt file), that the > plugin for the "Archetype" prefix was not found. > I already googled the error, and it seems that everything works very well for > everyone, but it has not allowed me to create the project from the command > line. > I hope you can help me. -- This message was sent by Atlassian Jira (v8.20.10#820010)