Hi all,

I'm using the release plugin for a particular project. The global
structure of this project consists of a parent pom with several modules.
When the release plugin runs, everything is fine until the tests are
run. Some modules have tests that depend on other modules test-jars. But
at the moment the tests are run, they aren't installed so tests that
follow and need that particular version of a test-jar, I get a build
failed.

This is what happens:

- I run mvn release:prepare on project version X-SNAPSHOT
- I use defaults on release version (version X), svn tagging (tag X) and
next working version (Y-SNAPSHOT)
- release starts to run tests
- a test cannot find test jar version X of another module
- build fails

I then simply run mvn install and do another release:prepare. This does
result in a successful build.

Am I using the plugin wrong? Or should the test run from release:prepare
install the jars locally to avoid this?

Kind Regards,
Jan


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

Reply via email to