Hello,
Has anyone noticed that release:perform gives warnings that other phases don't When running a "mvn release:prepare release:perform" command the release:prepare doesn't show any warnings, but the release:peform does. The warnings I'm getting are: [INFO] [WARNING] Some problems were encountered while building the effective model for com.example:example-releng:pom:1.0-test-10 [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. This is running on an aggregator project that does not define any of these plugins at all it just defines the release plugin. Here is the pom file (with just the scm and distributionManagement removed) <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> <artifactId>example-releng</artifactId> <packaging>pom</packaging> <version>1.0-test-11</version> <name>Example Aggregator Project</name> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0</version> </plugin> </plugins> </build> <scm> . </scm> <distributionManagement> . </distributionManagement> <modules> <module>example-parent</module> <module>example-common</module> <module>example-app</module> <module>example-app-onejar</module> <module>example-custom1</module> <module>example-custom1-releng</module> </modules> </project> The example-parent pom does define those plugins but DOES define the versions anyway. However, the example-parent is NOT the parent to the example-releng anyway so should not affect the example-releng (if I understand correctly). The example-releng pom is the parent to the example-parent though. And other than that the example-parent is just a submodule of example-releng and the parent for all the other submodules. So basically example-releng is the root/aggregator project (with no source/nothing to javadoc) so why does it need these versions defined? I know these are just warnings, I'm just trying to do things the correct "maven" way and this gives a pretty stern warning about "It is highly recommended to fix these problems because they threaten the stability of your build. For this reason, future Maven versions might no longer support building such malformed projects." Does anyone know if this is just a bug in the release:perform goal somehow or am I missing something/doing something wrong? Thanks, MIchael
