java - Maven - How to get the parent pom file dependency in sbt project -
not able resolve dependencies of maven project in sbt.here issue,
for example :
myproject => module1(pom.xml) ,module2(pom.xml) , parentpom.xml
after deployment artifactory, have module1.jar,module2.jar , parentpom.pom
in artifactory,when trying add dependency of module1 in sbt project getting following error:
sbt.resolveexception: unresolved dependency: org.test#module1;5.22.0-snapshot: local-snapshots: no ivy file nor artifact found org.test#myproject;5.22.0-snapshot.
can please me this!!
if module1.jar
, module2.jar
mavne
generated jar go inside jar , fild pom.xml
file, may inside metainf
inside jar, search pom.xml, , name of pom.xml
file inside jar, give same name in project pom.xml, if not work can write me, can put project pom.xml
, module1.jars
pom.xml`
edited:
from url had given in comment https://github.com/activiti/activiti/blob/master/pom.xml after pom.xml file should try add in project pom.xml this
add dependency
<groupid>org.activiti</groupid> <artifactid>activiti-root</artifactid> <modelversion>4.0.0</modelversion>
as in above pom.xml have parent pom need parent pom in maven repository.
<parent> <groupid>org.sonatype.oss</groupid> <artifactid>oss-parent</artifactid> <version>7</version> </parent>
and should ready internal dependency activity pom.xml.
Comments
Post a Comment