Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
maven 3.3.9
Description
if someone would like to build against a different hadoop.version; it looks straightforward to use -Dhadoop.version=.... however this doesn't "fully" override the default value of the hadoop.version maven property.
steps to reproduce:
- change hadoop.version to some nonsence:
sed -i "/hadoop.version.*hadoop.version/s|.*|<hadoop.version>nonexistentt</hadoop.version>|" pom.xml
- specify a valid hadoop.version from the commandline:
mvn clean package -DskipTests -Dhadoop.version=2.6.1
i'm not sure..but from -X output i've seen:
[DEBUG] Ant property 'hadoop.version=2.6.1' clashs with an existing Maven property, SKIPPING this Ant pr operty propagation.
the build will fail..or at least it fails for me..
Attachments
Attachments
Issue Links
- relates to
-
MNG-6237 Property value during the same build should not change
- Closed