Hi
I'm getting some strange behaviour when trying to compile and install my
projects. Here's my situation...
Parent POM with definitions for 2 sub-modules:
- Module 1: Uses the antrun plugin to hook into the integration-test
phase to compile our xml schema into XmlBeans jar using Weblogic 8.1
SP4's xbean.jar (This compiles over the top of the jar that Maven
creates)
- Module 2: Plain jar project that depends on Module 1.
If I run mvn clean install on Module 1 and then on Module 2, everything
is fine. However, if I run mvn clean install on the parent POM I get
compilation problems with Module 2 as it can't find Module 1 classes
(Module 1 is being compiled successfully first).
Either way, the compiled Module 1 gets put into the repository as
expected, but doesn't seem to get used by Maven in the compilation of
Module 2.
My thinking is that Maven keeps a cached version of compiled jar files
and doesn't look them up in the repository when compiling a series of
sub modules.
Can anyone shed some light on this??
Thanks
Paul
This message should be regarded as confidential. If you have received this
email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by
an authorised signatory. The contents of this email may relate to dealings
with other companies within the Detica Group plc group of companies.
Detica Limited is registered in England under No: 1337451.
Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.