Hi Manuel,
I tried your suggestion however I am still facing the same issue...
doing mvn install still ends up running the tests :(
Any other ideas?
Thanks
Neeraj
ps
I am running mvn 2.0.8

> Try this:

>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <skip>true</skip>
>       </configuration>
>     </plugin>

Regards.

2008/2/19, Neeraj Joshi <[EMAIL PROTECTED]>:
> Hi All,
> I am trying to disable execution of unit tests for a project as follows
>
> <project .....>
>    <dependencies>
>      ......
>   </dependencies>
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <skipTests>true</skipTests>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> </project>
>
> When I do
> > mvn install
> The JUnit tests still get executed.
> Only if I do
> > mvn install -Dmaven.test.skip=true
>
> This project is part of a profile (other projects within this profile 
need
> JUnit execution to be enabled
> as a result I can't set it as a property at the profile level).
>
> What am I doing wrong?
> Any help appreciated!
> Thanks
> Neeraj
>
> Apache Imperius - http://incubator.apache.org/imperius
>
> Neeraj Joshi
> Autonomic Computing Policy Development
> Tivoli, IBM
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
Manuel J. Recena Soto
* www.manuelrecena.com[/blog]
* [EMAIL PROTECTED], [EMAIL PROTECTED]
* +34 609710280 (ES)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Those are my principles. If you don't like them I have others. -- Groucho 
Marx" 

Apache Imperius - http://incubator.apache.org/imperius
 
Neeraj Joshi
Autonomic Computing Policy Development
Tivoli, IBM

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to