Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-5
-
Fix Version/s: 3.0-alpha-6
-
Component/s: Integration Tests
-
Labels:None
-
Environment:linux
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
Git is rapidly becoming the tool of choice for working with forks/patches of svn projects. MavenITmng1830ShowVersionTest fails if no svn repo is present.
The enclosed patches need to be applied in maven3 trunk (mng1830GitVersionNumber.patch), and adds a profile that activates a different buildnumber plugin setting
when no ".svn" folder is present.
I have made no attempts at being overly clever with the version number, which is basically "rGIT; <date>".
The second patch is for MavenITmng1830ShowVersionTest to accept this format in addition to the two others.
Since this fix is mostly in the test, there is no additional testcase.
This patch is not good, will be back shortly with reworked version