[jboss-dev-forums] [Design of JBoss Build System] - maven-buildmagic-thirdparty-plugin won't pickup source from
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Apr 23 04:52:12 EDT 2008
If I do an install into my local repo of a thirdparty project, and then do a mvn -Pdownload.sources package from thirdparty, I'm not seeing the sources included for this local artifact:
| valkyrie:thirdparty starksm$ mvn -Pdownload.sources package
| [INFO] Scanning for projects...
| WAGON_VERSION: 1.0-beta-2
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss Application Server Thirdparty Build
| [INFO] task-segment: [package]
| [INFO] ------------------------------------------------------------------------
| [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}]
| [INFO] Copying dependencies to thirdparty directories...
| [INFO] Generating component info files...
| [INFO] Creating libraries.ent...
| [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}]
| [INFO] Copying dependencies to thirdparty directories...
| [INFO] Generating component info files...
| [INFO] Creating testsuite-libraries.ent...
| [INFO] [site:attach-descriptor]
| [INFO] Preparing source:jar
| [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
| [INFO] No goals needed for project - skipping
| [INFO] [source:jar {execution: attach-sources}]
| [INFO] ------------------------------------------------------------------------
| [INFO] BUILD SUCCESSFUL
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 6 seconds
| [INFO] Finished at: Wed Apr 23 01:47:18 PDT 2008
| [INFO] Final Memory: 21M/38M
| [INFO] ------------------------------------------------------------------------
| valkyrie:thirdparty starksm$ ls -l jboss/metadata/lib/
| total 1984
| -rw-r--r-- 1 starksm admin 1013518 Apr 23 01:47 jboss-metadata.jar
| valkyrie:thirdparty starksm$
|
Works fine if the thirdparty artifact is in the main jboss repo. Shouldn't the local only artifact also have its source included?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146080#4146080
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146080
More information about the jboss-dev-forums
mailing list