You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Søren P <wm...@hotmail.com> on 2007/04/29 14:28:56 UTC
newbie problem with "package" phase
just installed mvn 2.0.6. Tried to follow the website usage guide but ran
into problems immediately.
step 1: mvn archetype:create -DgroupId=com.test -DartifactId=testapp
OK
step 2: mvn package
then i get en exception about surefire class not found and the packaging
fails.
im using jdk1.6.0 on winxp if that has any relevance.
btw. if its trying to run the unit test phase is there some way to skip
that?
also where do I find documentation on groupId and artifactId, and the hole
dependency concept?
_________________________________________________________________
Ta' på udsalg året rundt på MSN Shopping: http://shopping.msn.dk her
finder du altid de bedste priser
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: newbie problem with "package" phase
Posted by Tim Kettler <ti...@udo.edu>.
Am Sonntag, den 29.04.2007, 14:28 +0200 schrieb Søren P:
> just installed mvn 2.0.6. Tried to follow the website usage guide but ran
> into problems immediately.
>
> step 1: mvn archetype:create -DgroupId=com.test -DartifactId=testapp
> OK
>
> step 2: mvn package
> then i get en exception about surefire class not found and the packaging
> fails.
Please post the log output of 'mvn -X package'.
> im using jdk1.6.0 on winxp if that has any relevance.
>
> btw. if its trying to run the unit test phase is there some way to skip
> that?
Yes: Just add '-Dmaven.test.skip=true' to your command line.
> also where do I find documentation on groupId and artifactId, and the hole
> dependency concept?
What documentation for groupId and artifactId do you have in mind? For
the dependency mechanism have a look at [1].
-Tim
[1]
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> _________________________________________________________________
> Ta' på udsalg året rundt på MSN Shopping: http://shopping.msn.dk her
> finder du altid de bedste priser
>
>
> ---------------------------------------------------------------------
> 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