All our builds add the parameter ''-DgenerateBackupPoms=false'' to the command line while releasing, which I think is kind of stupid and I want to add it to the shared parent pom.xml. But I can't figure out which plug-in it is that generates the backup poms.
I searched the Maven Release Plugin, but no luck.
Then I tried the ''versions-maven-plugin'' (that at least has the parameter), but changing it to false does not help:
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>versions-maven-plugin</artifactId>
    <version>2.1</version>
    <configuration>
        <generateBackupPoms>false</generateBackupPoms>
    </configuration>
</plugin>
The backup poms are still generated. So how do I turn them off?
Simply add it to the properties of pom.xml:
<project>
    <properties>
        <generateBackupPoms>false</generateBackupPoms>
    </properties>
</project>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With