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

Maven Archetype 2.0.0 not found #250

Closed
hayaofr opened this issue Jul 26, 2016 · 5 comments
Closed

Maven Archetype 2.0.0 not found #250

hayaofr opened this issue Jul 26, 2016 · 5 comments

Comments

@hayaofr
Copy link

hayaofr commented Jul 26, 2016

Hello,
I want to try the new msf4j framework but there is an error when trying to create the project with maven archetype.
It tells that archetype version 2.0.0 does not exist.
I've tried with version 1.0.0 with success but the generated code does not match the tutorial.

Regards

Samuel

@thusithathilina
Copy link
Contributor

Hi Samuel,
Can you share the full error log that you get?

Thanks
Thusitha

@hayaofr
Copy link
Author

hayaofr commented Jul 27, 2016

Hi,
Here is the full log :
[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
[INFO] Archetype repository not defined. Using the one from [org.wso2.msf4j:msf4j-microservice:1.0.0] found in catalog remote
Downloading: https://repo.maven.apache.org/maven2/org/wso2/msf4j/msf4j-microservice/2.0.0/msf4j-microservice-2.0.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.595 s
[INFO] Finished at: 2016-07-27T09:01:54+02:00
[INFO] Final Memory: 19M/316M
[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.wso2.
msf4j:msf4j-microservice:2.0.0) -> [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

@thusithathilina
Copy link
Contributor

Hi Samuel,

Can you please add the wso2 nexus repo and try
URL will be http://maven.wso2.org/nexus/content/groups/wso2-public/
We will sync the archtype to maven central ASAP

Thanks
Thusitha

@thusithathilina
Copy link
Contributor

Hi Samuel,
We have synced the artifacts to the maven central from wso2 nexus. Now you should be able to use the arch type without any issue. Let us know if you have any issues.

Thanks
Thusitha

@hayaofr
Copy link
Author

hayaofr commented Jul 28, 2016

Hi,

Thank you for your answers.
I've tried successfully both solutions.

Samuel

@hayaofr hayaofr closed this as completed Jul 28, 2016
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

2 participants