[maven-release-plugin] rollback the release of winsw-2.0.1

pull/187/head
Oleg Nenashev 2017-01-08 13:53:33 +01:00
parent f0d2b92a62
commit 927b8c3fd9
1 changed files with 8 additions and 6 deletions

14
pom.xml
View File

@ -3,7 +3,7 @@
<groupId>com.sun.winsw</groupId> <groupId>com.sun.winsw</groupId>
<artifactId>winsw</artifactId> <artifactId>winsw</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>2.0.2-SNAPSHOT</version> <version>2.0-SNAPSHOT</version>
<name>Windows Service Wrapper (WinSW)</name> <name>Windows Service Wrapper (WinSW)</name>
<url>https://github.com/kohsuke/winsw/</url> <url>https://github.com/kohsuke/winsw/</url>
@ -70,8 +70,9 @@
</goals> </goals>
<configuration> <configuration>
<tasks> <tasks>
<mkdir dir="${project.build.directory}/bin/" /> <mkdir dir="${project.build.directory}/bin/"/>
<get src="https://github.com/kohsuke/winsw/releases/download/winsw-v${winsw.version}/WinSW.NET2.exe" dest="${project.build.directory}/bin/winsw.exe" /> <get src="https://github.com/kohsuke/winsw/releases/download/winsw-v${winsw.version}/WinSW.NET2.exe"
dest="${project.build.directory}/bin/winsw.exe"/>
<attachArtifact file="${project.build.directory}/bin/bin/winsw.exe" type="exe" classifier="bin" /> <attachArtifact file="${project.build.directory}/bin/bin/winsw.exe" type="exe" classifier="bin" />
</tasks> </tasks>
</configuration> </configuration>
@ -99,13 +100,14 @@
</goals> </goals>
<configuration> <configuration>
<tasks> <tasks>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> <taskdef resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.plugin.classpath" />
<if> <if>
<not> <not>
<equals arg1="${project.version}" arg2="${winsw.version}" /> <equals arg1="${project.version}" arg2="${winsw.version}"/>
</not> </not>
<then> <then>
<fail message="Project version ${project.version} is different from the WinSW version ${winsw.version}." /> <fail message="Project version ${project.version} is different from the WinSW version ${winsw.version}."/>
</then> </then>
</if> </if>
</tasks> </tasks>