[jboss-jira] [JBoss JIRA] Commented: (JBBUILD-580) buildmagic generates incorrect version
Yang Yong (JIRA)
jira-events at lists.jboss.org
Mon Nov 30 04:25:29 EST 2009
[ https://jira.jboss.org/jira/browse/JBBUILD-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497143#action_12497143 ]
Yang Yong commented on JBBUILD-580:
-----------------------------------
the repolib rpm for reproducing the issue is attached.
> 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
>
>
> 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 at 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 at localhost maven2-brew]$ cd usr/share/java/repository.jboss.com/oro/oro/2.0.8-brew
> [yyang at 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.0.7.jar
> 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 at 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 at 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
More information about the jboss-jira
mailing list