Make sure that you have MAVEN_HOME and MAVEN_HOME_LOCAL set to two different directories for building. I had some similar problems when I had them set to the same dir (overwriting my plugins as I was installing them).
It doesn't seem to be a problem after you're done building. Paul -----Original Message----- From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 5:03 PM To: Maven Users List Subject: Problem building maven-plugins I'm trying to build maven-plugins and running into a problem. If I follow the FAQ and run "maven -Dgoal=clean,plugin:install multiproject:goal", everything runs fine until it finishes the "clean" plugin. The next plugin processed is the clover plugin, and it failes on the error 'Unknown goal "clean"'. If I remove clean and simply run "maven -Dgoal=plugin:install multiproject:goal", it works through the jar plugin. When it gets to the java plugin, it fails with an error "Unable to obtain goal [plugin] -- file:/C:/Documents and Settings/pofallon/.maven/plugins/maven-plugin-plugin-1.2-SNAPSH OT/:15:33: <attainGoal> Goal [jar:jar] has no action definition." Running "maven -Dgoal=clean multiproject:goal" works fine. It appears that the act of installing a plugin makes it unavailable to the currently running maven process. This causes the build to fail at the first attempt to use a newly installed plugin. We've verified this on two different machines here (both running JDK 1.4 -- one win2k, one XP). I've seen this happen with maven RC2 and 1.1 SNAPSHOT (with CVS checkouts as recently as earlier today). Any suggestions or tips are greatly appreciated. Thanks, Paul -- Paul O'Fallon Software Development Manager Manheim Auctions www.manheim.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
