On 2/24/07, jgant <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to