Unable to build from source archive
-----------------------------------
Key: TRINIDAD-2037
URL: https://issues.apache.org/jira/browse/TRINIDAD-2037
Project: MyFaces Trinidad
Issue Type: Bug
Components: Build
Affects Versions: 2.0.0-beta-2
Reporter: Scott O'Bryan
Assignee: Scott O'Bryan
Priority: Blocker
The "buildnumber-maven-plugin" prevents the building of the Trinidad source in
Maven when the source tree is downloaded as an archive vs. taken from the svn
repository. The steps to reproduce and the results are as follows:
Downloaded the source:
https://repository.apache.org/content/repositories/orgapachemyfaces-005/org/apache/myfaces/trinidad/trinidad/2.0.0-beta-2/trinidad-2.0.0-beta-2-source-release.zip
did an unzip and "mvn clean install"
I am getting this "error":
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
/home/matzew/work/source/SCOTT/trinidad-2.0.0-beta-2/trinidad-api &&
svn --non-interactive info
[INFO] Working directory:
/home/matzew/work/source/SCOTT/trinidad-2.0.0-beta-2/trinidad-api
Provider message:
The svn command failed.
Command output:
svn: '.' is not a working copy
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot get the revision information from the scm repository :
Error!
This is due to the "buildnumber-maven-plugin", not sure if that should
be really _always_ enabled...
Looks like I can't download the soruce and build it, since the target
folder (of my unzip) is (of course)
not "SVN folder".
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira