Reputation: 2054
I am using maven 3.0.3. I am running mvn archetype:generate and I am getting the following error:-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.0:generate failed: Unable to load the mojo 'generate' in the plugin 'org.apache.maven.plugins:maven-archetype-plugin:2.0'. A required class is missing: org/codehaus/plexus/components/interactivity/PrompterException
I tried cleaning the maven-archetype-plugin directory in the repository. No Luck!
Your help appreciated!
Upvotes: 0
Views: 395
Reputation: 97447
Just try to extends your command line
mvn archetpe:2.2:generate ...
Upvotes: 0