This content has been marked as final.
Show 5 replies
-
1. Re: Dependencies via jboss-as-thirdparty
alrubinger Nov 5, 2008 4:08 AM (in response to alrubinger)BTW, I'm confused why this does work in thirdparty, but not my project.
[alrubinger@localhost thirdparty]$ mvn dependency:tree -Dincludes=org.jboss.jaxr ... [INFO] [dependency:tree] [INFO] org.jboss.jbossas:jboss-as-thirdparty:pom:5.0.0-SNAPSHOT [INFO] +- org.jboss.jaxr:juddi-saaj:jar:1.2.1.GA:compile [INFO] \- org.jboss.jaxr:juddi-service:jboss-sar:1.2.1.GA:compile
S,
ALR -
2. Re: Dependencies via jboss-as-thirdparty
pgier Nov 5, 2008 9:34 AM (in response to alrubinger)It can't find the thirdparty pom because no one ever deployed it. It's not used in the maven build, so it doesn't automatically get deployed during a "mvn deploy" from the root dir.
I deployed a snapshot, so you should be able to pick it up from the snapshots repository now.
I'll make a note to remember to deploy it for the GA release also. -
3. Re: Dependencies via jboss-as-thirdparty
alrubinger Nov 5, 2008 11:30 AM (in response to alrubinger)"pgier" wrote:
It can't find the thirdparty pom because no one ever deployed it.
I deployed the thirdparty POM locally, so my project finds it.
It's the 2 transitive dependencies that are missing. But the thirdparty POM itself finds these just fine.
S,
ALR -
4. Re: Dependencies via jboss-as-thirdparty
pgier Nov 5, 2008 11:32 AM (in response to alrubinger)Ok, so the real solution I think is to add the jboss-packaging plugin to your pom.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-packaging-maven-plugin</artifactId> <version>2.0-beta-1</version> <extensions>true</extensions> </plugin>
I didn't see at first that the two dependencies that it's complaining about are sar files. -
5. Re: Dependencies via jboss-as-thirdparty
alrubinger Nov 5, 2008 11:33 AM (in response to alrubinger)Paul got me the solution.
Thirdparty POM's parent has:<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-packaging-maven-plugin</artifactId> <version>2.0-beta-1</version> <extensions>true</extensions> </plugin>
...which defines the artifact type "jboss-sar".
Hurray.
S,
ALR