[ 
https://issues.apache.org/jira/browse/ARCHETYPE-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813575#comment-17813575
 ] 

David Matějček commented on ARCHETYPE-628:
------------------------------------------

This seems to me as your environment is missing some truststore, see 
[https://www.baeldung.com/java-trustanchors-parameter-must-be-non-empty] for 
example.

https://stackoverflow.com/questions/49176390/set-jre-to-use-windows-trust-store-specifically-the-users-trust-store

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

Reply via email to