Skip to content

There is now multiple build WARNING output on every use of exportAntProperties as of 3.2.0 #348

@jbindel

Description

@jbindel

Affected version

3.2.0

Bug description

There is now WARNING output on every use of exportAntProperties

Because all maven properties are imported to ant tasks, all properties will get a WARNING output in the build that uses the AntRun plugin and exports properties from the Ant task.

The cause of this is a change to the logging level from the original, expected DEBUG level to its current WARNING level.

getLog().warn("Ant property '" + key + "=" + mavenProperties.getProperty(key)

Expected: Using the exportAntProperties with value of true should not generate WARNING output in a Maven build.
Actual: The build outputs a warning for every existing Maven property that is set.

It may be acceptable and useful to output a warning if the value of the Ant property and the value of an existing Maven property do not match as that would indicate something odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions