Yeah you can disable tests using:

<plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-surefire-plugin</artifactId>
       <version>2.4.2</version>
       <configuration>
         <skipTests>true</skipTests>
       </configuration>
     </plugin>

But isn't this missing the larger point?  Your going to need those
dependencies at some point right?  Seems you need a maven proxy/repo where
you can deploy this, you might check out Artifactory.

-Dave


On Fri, Jan 15, 2010 at 10:42 AM, fus <f...@op.pl> wrote:
>
> Hello everyone,
>
> I use maven2 to integrate couple of libraries but there is one another
> library which is unavailable from maven repository, so I defined my own
> library in eclipse. I wrote some tests, which are connected with this
> library, and  running tests 'by hand' works but packaging with maven
> unfortunately no, because there are missing dependencies.
>
> Is there any option to specify my assembly plugin to not run tests ?
> At this time I run: "mvn -Dmaven.test.skip=true package" but it`s a little
> bit annoying.
>
> Thanks for help.
> Fuss.
> --
> View this message in context:
http://old.nabble.com/maven-test-skip-tp27180863p27180863.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

Reply via email to