In fact, in the trunk/B, there are some modules, for example B1 & B2,
but B2 uses B1 as the dependency. When executing the command "mvn clean
install" for B2, Maven finds the dependency B1, but it is not located in
local repository. Therefore, there's an error "missing artifact...". You
can check at
svn co svn+ssh://[email protected]/cosmos/trunk
with "guest" as password (twice for entering password)
Kinh
Anders Hammar a écrit :
What does the build output say - any errors?
/Anders
On Fri, Dec 11, 2009 at 13:38, NGUYEN Cong Kinh <
[email protected]> wrote:
Hello everybody,
I'm using Maven 2.2.1, JDK 6. I have a problem concerning compilation by
Maven. In fact, for example I have the following structure:
- trunk
+ pom.xml
+-- A
+ pom.xml
+-- A1
+ pom.xml
+-- A11
...
+-- A12
...
+-- A2
+-- A3
+-- B
+-- B1
In the trunk, I execute the "mvn clean install" (before executing this
command, I used rm -rf ~/.m2/repository). Only modules in the trunk/A are
copied to ~/.m2/repository. The other modules in trunk/B, they compiled to
target/..., but they aren't copied to ~/.m2/repository.
Is there any way to specify that they must be copied to local repository ?
Thanks in advance,
Kinh
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]