Hi guys, i have a little misunderstanding with one problem. I use Maven 2.0.9 Currently my project consists of several internal modules:
- module1 (jar)
- module2 (war)
- module3 (ear)
So i need to copy to war file in specific folder module1 jar. So what i do now : i included it via maven-dependency-plugin in package stage (copy goal). But if i didn't install module1 (mvn install) i can't build a project.
When maven-dependency-plugin looking for dependency for module1 (jar) it looks in local repository but it fail to find it because install is not made.
How can i copy dependency that is not in local repository yet but in project. Of course i can do it with the help of antmaven plugin but it is bad idea i guess.