[
https://jira.jboss.org/jira/browse/JBBUILD-580?page=com.atlassian.jira.pl...
]
Yang Yong updated JBBUILD-580:
------------------------------
Attachment: maven-deploy-with-poms-incorrect-version.tar.gz
TO Paul,
I created an integration test case by using
jakarta-oro-repolib-2.0.8-3jpp.ep1.3.ep5.el4.noarch.rpm as jbossbuild-repository, but the
issue can not be reproduced, "mvn install -Prun-its" generates right
maven-repository( NOTE: I have to use mvn 2.0.10 to run
maven-buildmagic-thirdparty-plugin's pom.xml).
I saw maven-buildmagic-thirdparty-plugin needs maven 2.0.10, but the latest maven version
in RHEL is 2.0.8, I guess this may cause this issue, or this issue has been fixed in
trunk :-) .
I created a tar ball contains the maven generated target/it directory of my test case, and
I added a maven-repository-incorrect directory which is an incorrect maven repository
generated by mvn-jpp command line in my machine.
buildmagic generates incorrect version
--------------------------------------
Key: JBBUILD-580
URL:
https://jira.jboss.org/jira/browse/JBBUILD-580
Project: JBoss Build System
Issue Type: Bug
Components: maven-buildmagic-thirdparty-plugin
Affects Versions: maven-buildmagic-thirdparty-plugin-2.2.1
Reporter: Yang Yong
Attachments: jakarta-oro-repolib-2.0.8-3jpp.ep1.3.ep5.el4.noarch.rpm,
maven-deploy-with-poms-incorrect-version.tar.gz
buildmagic generates an incorrect version sometimes, even specify a version by
-Dversion=x.y
Below is the screen log for jakarta-oro repolib, 2.0.8 is expected but 2.0.7 was
generated.
[yyang@localhost maven2-brew]$ rpm2cpio
~/Desktop/jakarta-oro-repolib-2.0.8-3jpp.ep1.3.ep5.el4.noarch.rpm | cpio -idv
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/component-info.xml
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/lib
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/lib/oro.jar
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/lib/oro.pom
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/src
./usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew/src/jakarta-oro-2.0.8.tar.gz
805 blocks
[yyang@localhost maven2-brew]$ cd
usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew
[yyang@localhost 2.0.8-brew]$ mvn-jpp
org.jboss.maven.plugins:maven-buildmagic-thirdparty-plugin:maven-deploy -DgroupId=oro
-Dversion=2.0.8 -Durl=file:/local/notnfs/repository.jboss.org/maven2-brew/
/usr/lib/jvm/java-1.6.0-sun
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment:
[org.jboss.maven.plugins:maven-buildmagic-thirdparty-plugin:maven-deploy]
(aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [buildmagic-thirdparty:maven-deploy]
Uploading:
file:/local/notnfs/repository.jboss.org/maven2-brew//oro/oro/2.0.7/oro-2....
62K uploaded
[INFO] Retrieving previous metadata from remote-repository
[INFO] Uploading repository metadata for: 'artifact oro:oro'
[INFO] Retrieving previous metadata from remote-repository
[INFO] Uploading project information for oro 2.0.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Nov 16 17:48:47 CST 2009
[INFO] Final Memory: 4M/77M
[INFO] ------------------------------------------------------------------------
[yyang@localhost 2.0.8-brew]$ ls -l
/local/notnfs/repository.jboss.org/maven2-brew/oro/oro/2.0.7/
total 84
-rw-rw-r-- 1 yyang yyang 64465 Nov 30 17:16 oro-2.0.7.jar
-rw-rw-r-- 1 yyang yyang 32 Nov 30 17:16 oro-2.0.7.jar.md5
-rw-rw-r-- 1 yyang yyang 40 Nov 30 17:16 oro-2.0.7.jar.sha1
-rw-rw-r-- 1 yyang yyang 161 Nov 30 17:16 oro-2.0.8.pom
-rw-rw-r-- 1 yyang yyang 32 Nov 30 17:16 oro-2.0.8.pom.md5
-rw-rw-r-- 1 yyang yyang 40 Nov 30 17:16 oro-2.0.8.pom.sha1
[yyang@localhost 2.0.8-brew]$
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira