You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following is an example of the tiresome double handling of maven properties that is required if a property is to be effectively flattened including parameter values passed in from the cmd line. eg
mvn install -Dbuild.num=66 ...
if I have a pom with some default property set:
<properties>
<build.num>SNAPSHOT</build.num>
<internal.build.num>${build.num}</internal.build.num>
<other.things>use-${internal.build.num}</other.things>
</properties>
the rest of the maven config uses ${internal.build.num}
I'd like to know if there is any option to forego this dance and simply have the flatten-maven-plugin also replace the affected property directly?
ie:
<properties>
<build.num>SNAPSHOT</build.num>
<other.things>use-${build.num}</other.things>
</properties>
the rest of the maven config uses ${build.num}
this would be so much simpler to deal with and would eliminate the care required and the tedious duplication of properties just to effectively flatten them.
thanks.
The text was updated successfully, but these errors were encountered:
Following is an example of the tiresome double handling of maven properties that is required if a property is to be effectively flattened including parameter values passed in from the cmd line. eg
if I have a pom with some default property set:
after flatten this would become
I'd like to know if there is any option to forego this dance and simply have the flatten-maven-plugin also replace the affected property directly?
ie:
after flatten this would become
this would be so much simpler to deal with and would eliminate the care required and the tedious duplication of properties just to effectively flatten them.
thanks.
The text was updated successfully, but these errors were encountered: