On Sep 4, 2007, at 3:05 PM, Wayne Fay wrote:

You need to run "mvn install" to put the artifacts in your local cache
from MyProj-Core. Then you can depend on it in
MyProj-Integration-Tests (just like any other dependency) and it will
pull the file out of the cache and use it during its own execution ie
mvn test etc.

So what is the point of having modules at all? If you have to install them anyway, why aren't they all just separate projects?

Ok, lets say I install the Core project, is there a way in my Integration-Tests to get a filename for that project? Core creates a tar.bz2 file, and my integration tests need to extract the tar.bz2 to a temp directory, then run some programs and verify the expected output.

As for calling "mvn compile" from a subproject and expecting that it
will go build the parent and all modules, that's just not how Maven
works. You can build from the top (parent) and get this kind of build,
but not from modules themselves.

Poop.

--
Joshua ChaitinPollak
Software Engineer
Kiva Systems



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to