Skip to content

Maven property override in command line #30

@gwenn

Description

@gwenn

It seems that override from command line is ignored:

mvn -Dmy.property=false compile
  <properties>
    <my.property>true</my.property>
  </properties>
	//#if mvn.project.property.my.property == "true"
...
	//#endif

I uses a profile to bypass.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions