Development is used by Eclipse, which has engineering files. Project this file, run Release:prepare when the report exception:
Cannot prepare the release because you have local modifications
You are prompted to have the file not submitted, the normal file can be submitted, but this file we have to let the plugin itself filter out.
The configuration is as follows:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId> maven-release-plugin</artifactid> <version>2.2.1</version> <configuration> <tagBase>https://127.0.0.1/svn/maven_svn/tags/</tagBase> <checkmodificationexcludes > <checkModificationExclude>.project</checkModificationExclude> < Checkmodificationexclude>.classpath</checkmodificationexclude> </checkModificationExcludes> </configuration> </plugin>
Or:
plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId> maven-release-plugin</artifactid> <version>2.2.1</version> <configuration> <tagBase>https://127.0.0.1/svn/maven_svn/tags/</tagBase> <checkmodificationexcludelist >.project,.classpath</checkModificationExcludeList> </configuration> </plugin>
Use Eclipse to execute the Maven-release-plugin plugin to publish jar exception issues (. Project) (cannot prepare the release because you have local modifications)