[jboss-jira] [JBoss JIRA] Closed: (AS7-1146) Source bundle build problems
Jason Greene (JIRA)
jira-events at lists.jboss.org
Mon Jul 11 00:02:24 EDT 2011
[ https://issues.jboss.org/browse/AS7-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene closed AS7-1146.
-----------------------------
Resolution: Done
> Source bundle build problems
> ----------------------------
>
> Key: AS7-1146
> URL: https://issues.jboss.org/browse/AS7-1146
> Project: Application Server 7
> Issue Type: Bug
> Components: Build System
> Affects Versions: 7.0.0.CR1
> Environment: GitHub, Linux
> Reporter: Richard Achmatowicz
> Assignee: Jason Greene
> Fix For: 7.0.0.Final
>
>
> The source bundle for AS 7.0.0.CR1 tag obtained from GitHub does not build correctly.
> Jason indicated that "the problem is that build is configured to include the git hash in the binaries so that we can track down where it came from. If you don't have a git repo though it won't work. So we need to add some kind of workaround for this scenario "
> Steps to reproduce:
> 1. Navigate https://github.com/jbossas/jboss-as/
> 2. Switch tags to 7.0.0.CR1
> 3. Download the zip source bundle for 7.0.0.CR1
> 4. Unzip and build it with maven via .build.sh install -Dmaven.test.skip=true
> The build is unsuccessful and I see the following:
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Application Server: Build Configuration ..... SUCCESS [1.188s]
> [INFO] JBoss Application Server: Parent Aggregator ....... FAILURE [0.323s]
> [INFO] JBoss Application Server: Protocol Utilities ...... SKIPPED
> [snip]
> [INFO] JBoss Application Server Test Suite: Smoke Tests .. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.832s
> [INFO] Finished at: Wed Jun 29 09:57:06 EDT 2011
> [INFO] Final Memory: 59M/434M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on project jboss-as-parent: 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 :jboss-as-parent
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list