Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-5, 1.0-alpha-6
-
Fix Version/s: 1.0-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
1.0-alpha-4 introduced a BuildAdvisor which stores/retrieves state between maven plugin goals.
Strip this out and in the few places where you have to have shared state, set a dynamic maven property from the java code.
Successfully extracted BuildAdvisor cookie mechanism requiring only four maven dynamic properties which are set during the validate goal of rpm-cbuild-maven-plugin
DYNAMIC.CBUILDPROP.OS - rhel3, centos5, osx5
DYNAMIC.CBUILDPROP.ARCH - i386, x86_64
DYNAMIC.CBUILDPROP.RPM.VERSION - RPM compatible or error
DYNAMIC.CBUILDPROP.RPM.RELEASE - stripped out of POM version, greater than 1