| Author |
Message |
|
|
Post subject: Maven not picking up a dependency!!!
Posted: Jun 13, 2006 - 08:11 AM
|
|
|
|
Hi,
I am new to this area(Maven/Mevenide). I have an overall project(Main) with sub projects xmls(A and B). Something like the following;
Main
project.xml
A
project.xml
B
project.xml
target
I have defined a dependency in B.project.xml which lists the jar which will be built from A.
Source code in A is compiled first and the jar is copied to the local repository. Then B is compiled and an error is thrown saying that it can't find a class which is part of the jar created in package A.
Don't know why this is occuring!!! The class that is causing the trouble is listed in the main 'target' directory. The relevant jar is in the repository. Any ideas???
Another question; when maven/mevenide is looking for a class, does it look in the target directory(where all output classes are stored) or does it extract the relevant class from the relevant jar??
Any info appreciated.
Chris. |
|
|
| |
|
|
|
 |
|
|
| |