You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jgant <jo...@gmail.com> on 2007/02/24 21:38:50 UTC
Re: [m2] basic use of assembly plugin failing
Thanks Wendy! Your solution solved my problem. I've noticed the surfire
plugin causing alot of headaches with other projects, is this plugin buggy?
Maven devs, why do I need to delete the plugin for this to "fix" itself?
Wendy Smoak-3 wrote:
>
> On 2/24/07, jgant <jo...@gmail.com> wrote:
>>
>> Hello,
>> I'm trying to do something simple, create a jar that contains all
>> dependency
>> jars. I am attempting to use the assembly plugin with the predefined
>> "jar-with-dependencies" descriptor, and using the assembly:assembly goal.
>> Below are my pom.xml and the error thrown. Thanks for the help!
> ...
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
>> not
>> exist or no valid version could be found
>
> You're not getting as far as the assembly, Maven can't find the
> Surefire plugin, (which runs unit tests).
>
> If you're using the central repository, check your internet
> connection, especially if you're behind a proxy. Otherwise, check the
> connection to whatever repository you're using.
>
> If that all seems fine, try deleting
> ~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin and
> try the build again. I have no idea why this happens, but often
> deleting the plugin from your local repository and forcing Maven to
> download it again will fix the problem.
>
> --
> Wendy
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> 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/basic-use-of-assembly-plugin-failing-tf3284413s177.html#a9137567
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