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

[question] unable to use archetype ("does not exist"), Nexus #5

Open
paulvi opened this issue Aug 6, 2013 · 1 comment
Open

[question] unable to use archetype ("does not exist"), Nexus #5

paulvi opened this issue Aug 6, 2013 · 1 comment

Comments

@paulvi
Copy link

paulvi commented Aug 6, 2013

When using mvn archetype:generate -DarchetypeCatalog=http://open-archetypes.github.io/maven-repo/snapshots/ and selecting 4 for this plugin

Choose a number or apply filter (format: [groupId:]artifactId, case sensitive co
ntains): : 4
Downloading: http://192.168.16.232:8081/nexus/content/groups/public/org/openarch
etypes/tycho-eclipse-plugin-archetype/1.0.0-SNAPSHOT/maven-metadata.xml
Downloading: http://192.168.16.232:8081/nexus/content/groups/public/org/openarch
etypes/tycho-eclipse-plugin-archetype/1.0.0-SNAPSHOT/tycho-eclipse-plugin-archet
ype-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9:42.197s
[INFO] Finished at: Tue Aug 06 12:52:20 CST 2013
[INFO] Final Memory: 12M/152M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.2:generate (default-cli) on project standalone-pom: The desired archetype does
not exist (org.openarchetypes:tycho-eclipse-plugin-archetype:1.0.0-SNAPSHOT) ->
[Help 1]

Though of cause files are present at https://github.com/open-archetypes/maven-repo/tree/gh-pages/snapshots/org/openarchetypes/tycho-eclipse-plugin-archetype/1.0.0-SNAPSHOT

When using Eclipse m2e and adding http://open-archetypes.github.com/maven-repo/snapshots/ catalog , on the 3rd Wizard page (where GroupId, ArtifactId are) Eclipse doesn't show properties and fails (even if adding properties manually)

cannot-use-tycho-eclipse-archetype

Is it network related problem or there are more things to check.

@paulvi
Copy link
Author

paulvi commented Aug 6, 2013

The problem was that setting.xml was set to use Nexus for all.

Please update README to mention use with Nexus.

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

1 participant