Maven 2 & 3

got the error like(Searching repository for plugin with prefix: 'archetype',repository is black listed,The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exits)

Details

  • Number of attachments :
    0

Description

I start maven to use in my project but I got the errors Please help to solve this.

C:\Documents and Settings\rahult4\Desktop>mvn archetype:create -DgroupId=com.myc
ompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Feb 19 16:27:14 IST 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------

Issue Links

Activity

Hide
Brian Fox added a comment -

This is caused by junk metadata in your repo.

Show
Brian Fox added a comment - This is caused by junk metadata in your repo.

People

  • Assignee:
    Unassigned
    Reporter:
    R
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: