Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archetype does not exist #7

Open
charlierproctor opened this issue Sep 24, 2016 · 4 comments
Open

archetype does not exist #7

charlierproctor opened this issue Sep 24, 2016 · 4 comments

Comments

@charlierproctor
Copy link
Collaborator

When running:

    mvn archetype:generate \
        -DarchetypeGroupId=org.opendaylight.maple \
        -DarchetypeArtifactId=maple-archetype \
        -DarchetypeVersion=1.0.0-Beryllium-SR3

from the VM (via vagrant ssh), I encounter the following error:

vagrant@localhost ~ $     mvn archetype:generate \
>         -DarchetypeGroupId=org.opendaylight.maple \
>         -DarchetypeArtifactId=maple-archetype \
>         -DarchetypeVersion=1.0.0-Beryllium-SR3
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[WARNING] Archetype not found in any catalog. Falling back to central repository (http://repo.maven.apache.org/maven2).
[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
Downloading: http://repo.maven.apache.org/maven2/org/opendaylight/maple/maple-archetype/1.0.0-Beryllium-SR3/maple-archetype-1.0.0-Beryllium-SR3.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.795 s
[INFO] Finished at: 2016-09-24T21:49:07+00:00
[INFO] Final Memory: 13M/34M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.opendaylight.maple:maple-archetype:1.0.0-Beryllium-SR3) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
@said017
Copy link

said017 commented Feb 25, 2017

encounter the same problem . any solution ?

@fno2010
Copy link
Member

fno2010 commented Feb 25, 2017

@said017 I'm glad to know you are trying this repo. I remember this is a intermediate issue. Because we could not replicate it, we didn't fix it... Last time, @charlierproctor rebuilt the vm and everything worked well.

@said017
Copy link

said017 commented Feb 25, 2017

@fno2010 i just update the maven to 3.3.9 from 3.05 and all work!

@fno2010
Copy link
Member

fno2010 commented Feb 26, 2017

@said017 Great! But I think this line has installed maven 3.3.9 into the vm. Why you were still using maven 3.0.5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants