Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.0.0-beta-2
-
None
Description
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:
did an unzip and "mvn clean install"
I am getting this "error":
[INFO] [buildnumber:create
]
[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".