As I said, it shouldn't, but it might be worth trying plugin:deploy instead
and see if that works (that unpacks it to MAVEN_HOME_LOCAL).

You don't need to set the local directory - it was just to make sure it
wasn't set to the same as MAVEN_HOME.

- Brett

> -----Original Message-----
> From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 17 December 2003 9:43 AM
> To: Maven Users List
> Subject: RE: Problem building maven-plugins
> 
> 
> Thanks for the suggestions!  However, I am still seeing the 
> problem. Originally I did not have MAVEN_HOME_LOCAL set (it 
> was defaulting to %HOME%\.maven).  I set this to 
> c:\devtools\mavenlocal and re-ran the FAQ-suggested build.  
> This still failed on the clover plugin (with the same error 
> about 'clean' being an unknown goal).
> 
> Looking at the plugin:uninstall/install steps for "clean", it 
> appears to remove the plugin from MAVEN_HOME and 
> MAVEN_HOME_LOCAL, and then installs only to MAVEN_HOME (see below)
> 
>      plugin:uninstall:
>          [delete] Deleting 1 files from C:\devtools\maven\plugins
>          [delete] Deleting 5 files from C:\devtools\mavenlocal\plugins
>          [delete] Deleted 2 directories from 
> C:\devtools\mavenlocal\plugins
> 
>      plugin:install:
>          [copy] Copying 1 file to C:\devtools\maven\plugins
> 
> Does that make a difference?
> 
> Thanks for your help,
> Paul
> 
> > -----Original Message-----
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, December 16, 2003 5:09 PM
> > To: 'Maven Users List'
> > Subject: RE: Problem building maven-plugins
> > 
> > I think the "unknown goal 'clean'" is fixed in the 1.0 branch.
> > 
> > I'm not sure why the other problem occurs, as it has worked
> > for me. Can you try separating the plugin home and the plugin 
> > unpacked dir as another poster has just suggested, and let us 
> > know the results?
> > 
> > Thanks,
> > Brett
> > 
> > > -----Original Message-----
> > > From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, 17 December 2003 9:03 AM
> > > 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]
> 

Reply via email to