maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaakov Chaikin <yaakov.chai...@gmail.com>
Subject -DskipTests=true gets ignored
Date Thu, 12 Nov 2009 22:20:41 GMT
Ok,

Checked documentation, googled. Still not understanding why the
following is happening.

I have a multi-module project. In the root pom.xml, I have:
<properties>
  <skipTests>true</skipTests>
<properties>


In my child pom.xml I have the following:

<properties>
   <skipTests>${skipSelfContainingTests}</skipTests>
<properties>

In my settings.xml, I have this:
<properties>
  <skipSelfContainingTests>false</skipSelfContainingTests>
</properties>

When I do mvn help:effective-pom on the child module, it does show
that my skipTests=false. However, when I do mvn help:effective-pom
-DskipTests=true, the effective pom STILL shows up with
skipTests=false!

What am I doing wrong here?

Thanks,
Yaakov.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message