You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Antonio Parolini <An...@hcuge.ch> on 2009/02/17 16:27:12 UTC
RE: Bug with maven-dependency-plugin?
Same here: Using the servebox plugin and having the same exception. It's
probably the same problem.
The workaround is also to force the use of 2.0-alpha-4.
I've posted a issue on their issue tracker:
https://sourceforge.net/tracker2/index.php?func=detail&aid=2609391&group_id=192345&atid=941018#
-antonio
pwilder wrote:
>
> I'll point out that I seem to have had the same issue after modifying the
> israfil maven-flex template from
> http://ancientprogramming.blogspot.com/2007/11/quickstart-flex-development-with-this.html
> to use the ServeBox flex plugin
> (http://maven.servebox.org/sites/maven-flex-plugin/flex-plugin/). I think
> I have worked around this issue but I thought posting my information might
> help another googler out there somewhere.
>
> Philip
> ----------------------------
>
>
>
> Brian E Fox wrote:
>>
>> Huh? The flex2 plugin depends on the dependency plugin? That's not
>> right...plugins shouldn't be used as dependencies of other plugins and
>> now you can see why.....
>>
>> You might wanna ping the flex2 author and have him/her fix that.
>>
>> -----Original Message-----
>> From: Sebastien ARBOGAST [mailto:sebastien.arbogast@gmail.com]
>> Sent: Sunday, March 02, 2008 12:48 PM
>> To: Maven Users List
>> Subject: Re: Bug with maven-dependency-plugin?
>>
>> I finally found the plugin that is using 2.0-alpha-4 version of
>> maven-dependency-plugin. One of my modules is using maven-flex2-plugin
>> from
>> net.israfil.mojo which depends explicitly on maven-dependency-plugin:
>> 2.0-alpha-4So I fixed the problem by changing the version of the plugin
>> configuration to 2.0-alpha-4. Now it works great.
>>
>> 2008/3/2, Dennis Lundberg <de...@apache.org>:
>>>
>>> Perhaps there is something wrong with the meta data in your local
>>> repository. You could try removing the following directory and have
>>> Maven download the artifact again:
>>>
>>> ~/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/
>>>
>>>
>>> Sebastien ARBOGAST wrote:
>>> > I have a problem using maven-dependency-plugin. One of my modules
>>> configures
>>> > this plugin:
>>> > <plugin>
>>> > <groupId>org.apache.maven.plugins</groupId>
>>> > <artifactId>maven-dependency-plugin</artifactId>
>>> > <version>2.0</version>
>>> > <executions>
>>> > <execution>
>>> > <id>copy-flex-resources</id>
>>> > <phase>compile</phase>
>>> > <goals>
>>> > <goal>copy-dependencies</goal>
>>> > </goals>
>>> > <configuration>
>>> > <outputDirectory>${project.build.directory
>>> > }/flex-resources</outputDirectory>
>>> > <includeTypes>swf,swc</includeTypes>
>>> > <stripVersion>true</stripVersion>
>>> > </configuration>
>>> > </execution>
>>> > </executions>
>>> > </plugin>
>>> >
>>> > And I get the following error:
>>> >
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [ERROR] BUILD ERROR
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] Internal error in the plugin manager executing goal '
>>> >
>>> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> ':
>>> > Unable to find the mojo '
>>> >
>>> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> '
>>> > in the plugin 'org.apache.maven.plugins:maven-dependency-plugin'
>>> > Component descriptor cannot be found in the component repository:
>>> >
>>> org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> > .
>>> >
>>> > What does 2.0-alpha-4 do here?
>>> > Does anybody have an idea?
>>> >
>>>
>>>
>>> --
>>>
>>> Dennis Lundberg
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>> --
>> Sébastien Arbogast
>>
>> http://sebastien-arbogast.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Bug-with-maven-dependency-plugin--tp15789785p22059480.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re : RE: Bug with maven-dependency-plugin?
Posted by Jean-François Mathiot <jm...@servebox.com>.
Hi Antonio and Philip,
We have already fixed this issue (your workaround is good). The fix will be available on 2.2.0.
Many thanks.
Jeff
Jean-Francois Mathiot
____________________________________
Tel : 0 821 800 891
Gsm : +33 (0) 607 967 911
____________________________________
-----Original Message-----
From: Antonio Parolini <An...@hcuge.ch>
Date: Tue, 17 Feb 2009 07:27:12
To: <us...@maven.apache.org>
Subject: RE: Bug with maven-dependency-plugin?
Same here: Using the servebox plugin and having the same exception. It's
probably the same problem.
The workaround is also to force the use of 2.0-alpha-4.
I've posted a issue on their issue tracker:
https://sourceforge.net/tracker2/index.php?func=detail&aid=2609391&group_id=192345&atid=941018#
-antonio
pwilder wrote:
>
> I'll point out that I seem to have had the same issue after modifying the
> israfil maven-flex template from
> http://ancientprogramming.blogspot.com/2007/11/quickstart-flex-development-with-this.html
> to use the ServeBox flex plugin
> (http://maven.servebox.org/sites/maven-flex-plugin/flex-plugin/). I think
> I have worked around this issue but I thought posting my information might
> help another googler out there somewhere.
>
> Philip
> ----------------------------
>
>
>
> Brian E Fox wrote:
>>
>> Huh? The flex2 plugin depends on the dependency plugin? That's not
>> right...plugins shouldn't be used as dependencies of other plugins and
>> now you can see why.....
>>
>> You might wanna ping the flex2 author and have him/her fix that.
>>
>> -----Original Message-----
>> From: Sebastien ARBOGAST [mailto:sebastien.arbogast@gmail.com]
>> Sent: Sunday, March 02, 2008 12:48 PM
>> To: Maven Users List
>> Subject: Re: Bug with maven-dependency-plugin?
>>
>> I finally found the plugin that is using 2.0-alpha-4 version of
>> maven-dependency-plugin. One of my modules is using maven-flex2-plugin
>> from
>> net.israfil.mojo which depends explicitly on maven-dependency-plugin:
>> 2.0-alpha-4So I fixed the problem by changing the version of the plugin
>> configuration to 2.0-alpha-4. Now it works great.
>>
>> 2008/3/2, Dennis Lundberg <de...@apache.org>:
>>>
>>> Perhaps there is something wrong with the meta data in your local
>>> repository. You could try removing the following directory and have
>>> Maven download the artifact again:
>>>
>>> ~/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/
>>>
>>>
>>> Sebastien ARBOGAST wrote:
>>> > I have a problem using maven-dependency-plugin. One of my modules
>>> configures
>>> > this plugin:
>>> > <plugin>
>>> > <groupId>org.apache.maven.plugins</groupId>
>>> > <artifactId>maven-dependency-plugin</artifactId>
>>> > <version>2.0</version>
>>> > <executions>
>>> > <execution>
>>> > <id>copy-flex-resources</id>
>>> > <phase>compile</phase>
>>> > <goals>
>>> > <goal>copy-dependencies</goal>
>>> > </goals>
>>> > <configuration>
>>> > <outputDirectory>${project.build.directory
>>> > }/flex-resources</outputDirectory>
>>> > <includeTypes>swf,swc</includeTypes>
>>> > <stripVersion>true</stripVersion>
>>> > </configuration>
>>> > </execution>
>>> > </executions>
>>> > </plugin>
>>> >
>>> > And I get the following error:
>>> >
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [ERROR] BUILD ERROR
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] Internal error in the plugin manager executing goal '
>>> >
>>> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> ':
>>> > Unable to find the mojo '
>>> >
>>> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> '
>>> > in the plugin 'org.apache.maven.plugins:maven-dependency-plugin'
>>> > Component descriptor cannot be found in the component repository:
>>> >
>>> org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:copy-dependencies
>>> > .
>>> >
>>> > What does 2.0-alpha-4 do here?
>>> > Does anybody have an idea?
>>> >
>>>
>>>
>>> --
>>>
>>> Dennis Lundberg
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>> --
>> Sébastien Arbogast
>>
>> http://sebastien-arbogast.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Bug-with-maven-dependency-plugin--tp15789785p22059480.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org