[jbossts-issues] [JBoss JIRA] (JBTM-1823) Narayana fails to build on a codebase not checked out of SCM

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Thu Jul 11 10:47:21 EDT 2013


     [ https://issues.jboss.org/browse/JBTM-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson resolved JBTM-1823.
---------------------------------

    Resolution: Done


Resolved for master here: https://github.com/jbosstm/narayana/commit/5762628e1005ba2d45e9f1d12527d0b5ecff2f29

And for 4.17 here: https://github.com/jbosstm/narayana/commit/8b4a4722c1f13b66ee07723936bced39a0568ca3
                
> Narayana fails to build on a codebase not checked out of SCM
> ------------------------------------------------------------
>
>                 Key: JBTM-1823
>                 URL: https://issues.jboss.org/browse/JBTM-1823
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build System
>    Affects Versions: 4.17.4, 4.17.5
>            Reporter: Paul Robinson
>            Assignee: Tom Jenkinson
>             Fix For: 5.0.0.M4, 4.17.6
>
>
> To reproduce:
> * go Here: https://github.com/jbosstm/narayana/releases/4.17.4.Final
> * Download and extract the zip
> * run: './build.sh clean install -DskipTests'
> * Observe:
> {code}
> [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on project arjunacore: Cannot get the revision information from the scm repository :
> [ERROR] Exception while executing SCM command. UnsupportedOperationException
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :arjunacore
> {code}
> Alternatively, it works if you do this:
> {code}
> git clone git at github.com:jbosstm/narayana.git
> git checkout 4.17.4.Final
> ./build.sh clean install -DskipTests
> {code}
> It seems to be because the maven plugin is expecting the code to be checked out of SCM. We need to make the build tolerant of this scenario.
> NOTE: it also happens for the 4.17.5.Final zip.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list