aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven plugin error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven plugin error" Watch "Maven plugin error" New topic
Author

Maven plugin error

Emilio de la Torre
Greenhorn

Joined: Feb 16, 2012
Posts: 4
Hi, i just installed maven and execute this command

mvn archetype:generate -DarchetypeGroupId=org.ploin.archetype -DarchetypeArtifactId=tempSpringRichHibernate -DarchetypeVersion=1.7.1 -DarchetypeRepository=http://www.ploin-m2.de/nexus/content/groups/public/ -DgroupId=es.mycompany -DartifactId=myteamcenter
And when its going to download dependencies i get this error

Faild 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.ploin.archetype:tempSpringRichHibernate:1.7.1>

With archetypes without Spring it does download dependencies

Any ideas? Please
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

The org.ploin.archetype:tempSpringRichHibernate:1.7.1 artifact is not in Maven Central repository. You are going to first have to find out which repository contains this artifact and then add that to your settings.xml file, or reference it in some other way.


JBoss In Action
Tejas Shah
Greenhorn

Joined: Oct 26, 2009
Posts: 23

That does not exist anywhere. The guy who created it hosted it somewhere on http://www.ploin-m2.de/nexus/ but seems like the server was not stable.

-Tejas
Cherish your life...!!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

In such a case, where the repository is not well know and established, the best thing to do is manually add the artifact to your local repository using install:install-file. Or if several people need access to this (work environment), set up a Nexus repository and load it into there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven plugin error
 
Similar Threads
Maven - trouble with mvn archetype:create
Unable to create Spring AOP archetype using Maven in Eclipse
first example, i use maven2
how to run a project using maven
Not Getting Started with Maven - Archtype plugin Not found