Hmmm...I'm actually not seeing this:
C:\workspace\top>mvn clean test -pl module2 -X
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_24
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
O
So just so I understand completely:
if module2 depends on module1 and I execute "mvn clean test" at the top
"shared" parent, the classpath for module2 would look at
module1/target/classes vs ...module1.jar. Correct?
--
View this message in context:
http://maven.40175.n5.nabble.com/mvn-test-and-
I've been using Maven for some time, so I'm a bit embarrassed to ask this
question. That said...
If I have a multimodule project:
top
-module1
-module2
and the modules have the following dependencies:
module1 depends on top
module2 depends on top
module2 depends on module1
When I want
es
> just as well as the domain classes.
>
> Kalle
>
>
> On Fri, Oct 16, 2009 at 10:41 AM, leojhartiv wrote:
>>
>> I have the following project hierarchy:
>>
>> parent
>> -pom.xml
>> -domain
>> --pom.xml
>> -domain-builder
>>
I have the following project hierarchy:
parent
-pom.xml
-domain
--pom.xml
-domain-builder
--pom.xml
The domain project contains (surprise) all of my domain objects:
Account
Person
User
etc.
The domain-builder project represents the "Test Data Builder Pattern"
(http://nat.truemesh.com/a
yes, that solves my problem!
Kalle Korhonen-2 wrote:
>
> We do it like this:
> maven-surefire-plugin
>
> once
> target
> -Djava.library.path=lib
>
>
> On Wed, Sep 24, 2008 a
Hello,
I searched the archive, but was not able to find an answer to my question.
I am running maven as follows:
mvn clean test -Dsomeparameter=somevalue
someparameter will vary per mvn call.
It does not appear that my surefire tests are able to find this variable
when they execute, so I'm as