0
跳过插件运行我想,当我运行命令“MVN部署”跳过插件运行。说,在下面的例子,我不想执行的“MVN部署”行家3.0+上“MVN部署”
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${session.executionRootDirectory}/xxxx.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<tagNameFormat>@{artifactId}/@{artifactId}[email protected]{version}</tagNameFormat>
</configuration>
</plugin>
<plugins>