You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by William Kinney <wk...@dfi-intl.com> on 2006/08/07 22:02:04 UTC

Trying to use latest maven-war-plugin

Hello,

I'm trying to use the "<targetPath>" element that comes with
maven-war-plugin. But apparently that is only in version 2.0.2-SNAPSHOT.
I tried to 'mvn install' the maven-plugin from SVN repo
(https://svn.apache.org/repos/asf/maven/plugins/trunk/), and it made me
'mvn install' the maven core trunk
(https://svn.apache.org/repos/asf/maven/components/trunk/). I
successfully built the trunk of maven core, now when I try to build the
maven-plugins I get:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to build project
'C:\temp\maven-plugin\maven-plugin-plugin\pom.xml
; it requires Maven version 2.0.5-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to build project
'C:\temp\maven-p
lugin\maven-plugin-plugin\pom.xml; it requires Maven version
2.0.5-SNAPSHOT


How do I now build from the plugins directory with 2.0.5-SNAPSHOT? It
looks like the version built in the maven components trunk is
2.1-SNAPSHOT...

Thanks,
Will 



-----Original Message-----
From: Chas Douglass [mailto:chas@floogle.net] 
Sent: Monday, August 07, 2006 3:49 PM
To: Maven Users List
Subject: Re: mvn & cygwin

Douglas Ferguson wrote:
> Anybody using mvn & cygwin?
> 
>  
> 
> I just ran into this problem, where <<path-to-project>> = my local
path.
> 
> It seems like it is a cygwin path vs. windows path issue. 
> 
>  
> 
> svn: '/cygdrive/c/<<path-to-project>>/c:/<<path-to-project>> ' is not 
> a working copy
> 
>  
> 
> Anybody got a good work around?
> 

I believe you are seeing http://jira.codehaus.org/browse/MRELEASE-146

I am unable to use the release plugin because of this.

Chas Douglass




---------------------------------------------------------------------
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


Re: Trying to use latest maven-war-plugin

Posted by Wendy Smoak <ws...@gmail.com>.
On 8/7/06, William Kinney <wk...@dfi-intl.com> wrote:

> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to build project
> 'C:\temp\maven-plugin\maven-plugin-plugin\pom.xml
> ; it requires Maven version 2.0.5-SNAPSHOT
...
> How do I now build from the plugins directory with 2.0.5-SNAPSHOT? It
> looks like the version built in the maven components trunk is
> 2.1-SNAPSHOT...

It's on a branch:
   http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/

-- 
Wendy

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