You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ben Tatham <be...@nanometrics.ca> on 2007/03/08 18:07:58 UTC

mvn clean problems

I am having a problem that was reported last year, but the workaround 
they mentioned doesn't seem to be working. 

Here was the original posting:  
http://mail-archives.apache.org/mod_mbox/maven-dev/200603.mbox/%3C125759541.1141253887231.JavaMail.haus-jira@codehaus01.managed.contegix.com%3E

Basically, I am getting a java.lang.NoClassDefFoundError for  
org/apache/maven/shared/model/fileset/SetBase

Internal error in the plugin manager executing goal 
'org.apache.maven.plugins:maven-clean-plugin:2.1.1-maestro-1.1:clean': 
Unable to find the mojo 
'org.apache.maven.plugins:maven-clean-plugin:2.1.1-maestro-1.1:clean' in 
the plugin 'org.apache.maven.plugins:maven-clean-plugin'
org/apache/maven/shared/model/fileset/SetBase

The original work around was to make sure that "central" 
pluginRepository was not in your pom.xml.  Well, its not in my case, 
although the help:effective-pom does have it (but I assume that comes 
from the Super POM). 

Please help.  This is working for some of our team, but not for others.  
This problems blocks use from doing mvn release as well, because that 
does a mvn clean internally.

Thanks in advance,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


SV: mvn clean problems

Posted by Gu...@tietoenator.com.
Hi,

I had the same problem and resolved it by removing the references to the maestro-project-server from the settings.xml

:-)
 

> -----Ursprungligt meddelande-----
> Från: Ben Tatham [mailto:bentatham@nanometrics.ca] 
> Skickat: den 8 mars 2007 18:08
> Till: Maven Users List
> Ämne: mvn clean problems
> 
> I am having a problem that was reported last year, but the 
> workaround they mentioned doesn't seem to be working. 
> 
> Here was the original posting:  
> http://mail-archives.apache.org/mod_mbox/maven-dev/200603.mbox
> /%3C125759541.1141253887231.JavaMail.haus-jira@codehaus01.mana
> ged.contegix.com%3E
> 
> Basically, I am getting a java.lang.NoClassDefFoundError for 
> org/apache/maven/shared/model/fileset/SetBase
> 
> Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-clean-plugin:2.1.1-maestro-1.1
> :clean': 
> Unable to find the mojo
> 'org.apache.maven.plugins:maven-clean-plugin:2.1.1-maestro-1.1
> :clean' in the plugin 'org.apache.maven.plugins:maven-clean-plugin'
> org/apache/maven/shared/model/fileset/SetBase
> 
> The original work around was to make sure that "central" 
> pluginRepository was not in your pom.xml.  Well, its not in 
> my case, although the help:effective-pom does have it (but I 
> assume that comes from the Super POM). 
> 
> Please help.  This is working for some of our team, but not 
> for others.  
> This problems blocks use from doing mvn release as well, 
> because that does a mvn clean internally.
> 
> Thanks in advance,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org