Maven local install artifact does not include remote dependencies after war build -
i building target a.war, , a.war dependent on b.jar.
b.jar has been installed locally. b.jar has dependencies in remote repository.
when a.war built (which says successful) none of dependencies of b.jar included in final target a.war.
you're saying b.jar
"installed locally". unclear means.
if b.jar
maven artifact , "installed locally" means "installed in local maven repository", should take @ b.jar
's pom.xml
file , inspect dependencies
element. dependencies scope of compile
, runtime
, test
end being included in a.war
.
you can execute mvn dependency:tree
against b
module , see how dependencies calculated.
if b.jar
not maven artifact, maven can't know b.jar
's dependencies are. if happen refer "dependencies" "entries in manifest.mf
file", then, well, that's not enough maven.
Comments
Post a Comment