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>