type mvn com.mycila.maven-license-plugin:check
there are default groupId's and org.codehause.mojo is one of the two standard defaults (the other being org.apache.maven.plugin) On 9 July 2012 12:00, Robin Clarke <robin.cla...@gmail.com> wrote: > Hi, > > This is more a question about Maven, but I am hoping someone on this list > can give some advice on this issue. > > I used to be able to run "mvn license:check" and maven would use > com.mycila.maven-license-plugin. For some reason, Maven now tries to use > org.codehaus.mojo:license-maven-plugin and (rightly) barfs: > > [ERROR] Could not find goal 'check' in plugin > org.codehaus.mojo:license-maven-plugin:1.2 among available goals > third-party-report, check-file-header, add-third-party, > update-project-license, aggregate-add-third-party, license-list, > comment-style-list, update-file-header, download-licenses, help -> [Help 1] > > I have tried to remove this plugin from my local repository, and the LAN > repository, but Maven keeps redownloading the Codehaus version every time. > The only way round at the moment it to run "mvn > com.mycila.maven-license-plugin:maven-license-plugin:check" > > Can someone tell me how I can remove the Codehaus plugin? > > Thanks > Robin >