Re: Cross-project dependencies

2009-08-04 Thread Brian Fox
The reactor mode would only help if you had a parent above A and B that was aggregating both projects. Then all of them would be in the reactor together and you'd be able to influence what gets built. (by default it would build them in the correct order based on dependencies). On Tue, Aug 4, 2009

Cross-project dependencies

2009-08-04 Thread Lewis, Eric
Hi I have a problem, which might be solved using Maven's make-like reactor mode - but I'm not sure if it is! Consider the following projects/modules Project A +--- Module A1 +--- Module A2 Project B +--- Module B1 +--- Module B2 Now, if A1 depends on B1, but B2 depends on A2, it's impossible t

RE: Cross-project dependencies on unit test code

2005-09-30 Thread Allison, Bob
eptember 29, 2005 11:39 To: Maven Users List Subject: RE: Cross-project dependencies on unit test code Answers: 1) There needs to be an API package so that the Impl and Test packages can both depend on it (otherwise your base tests would depend on the impl classes, but your impl depends on the ba

RE: Cross-project dependencies on unit test code

2005-09-29 Thread Dave Neuer
unit tests? -Original Message- From: Tim Dysinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 12:39 To: [EMAIL PROTECTED]; Brett Porter Cc: Maven Users List Subject: Re: Cross-project dependencies on unit test code Ok. Let's say we did it that way. We are still

RE: Cross-project dependencies on unit test code

2005-09-29 Thread Dave Neuer
-Original Message- From: Tim Dysinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 12:39 PM To: [EMAIL PROTECTED]; Brett Porter Cc: Maven Users List Subject: Re: Cross-project dependencies on unit test code > Ok. Let's say we did it that way. We are still fa

Re: Cross-project dependencies on unit test code

2005-09-28 Thread Trygve Laugstøl
On Wed, 2005-09-28 at 09:39 -0700, Tim Dysinger wrote: > Ok. Let's say we did it that way. We are still faced with the same > problem with the maven-eclipse-plugin. Maven-eclipse-plugin does not > like having your source and test directories the same. > > ${basedir}/src/java > ${basedir}/src/

RE: Cross-project dependencies on unit test code

2005-09-28 Thread Allison, Bob
- From: Tim Dysinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 12:39 To: [EMAIL PROTECTED]; Brett Porter Cc: Maven Users List Subject: Re: Cross-project dependencies on unit test code Ok. Let's say we did it that way. We are still faced with the same problem with the

Re: Cross-project dependencies on unit test code

2005-09-28 Thread Tim Dysinger
Ok. Let's say we did it that way. We are still faced with the same problem with the maven-eclipse-plugin. Maven-eclipse-plugin does not like having your source and test directories the same. ${basedir}/src/java ${basedir}/src/java I can't do this without using eclipse. The plugin, in this c

Re: Cross-project dependencies on unit test code

2005-09-27 Thread Brett Porter
This has been asked 2 or 3 times this week. IIRC someone was going to write up their experience doing it? Would anyone like to volunteer to add it to the wiki? - Brett On 9/28/05, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: > Hi Tim, > > May you try with something like this : > wrapper > +- core-a

Re: Cross-project dependencies on unit test code

2005-09-27 Thread Raphaël Piéroni
Hi Tim, May you try with something like this : wrapper +- core-api +- core-test (depend only on api) +- core-impl (with some test cases - depends on core-api and core-test the later with scope test) +- use-core-1 (depend on core-impl, depends on core-test at scope test - the test cases must not

Cross-project dependencies on unit test code

2005-09-27 Thread Tim Dysinger
I have a "best practices" question. I have a multi-project setup with three sub-projects. Two of the sub-projects have tests which subclass tests in the "core" project. However, just having the sub-projects depend on "core" does not expose the unit test code and the build fails with a compilati