mirror of https://github.com/winsw/winsw
Move pom.xml to the top level, use GitHub releases as a source
parent
91cf156fb8
commit
e0668a2530
|
@ -4,7 +4,11 @@
|
||||||
<artifactId>winsw</artifactId>
|
<artifactId>winsw</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>2.0-SNAPSHOT</version>
|
<version>2.0-SNAPSHOT</version>
|
||||||
<name>Windows service wrapper</name>
|
<name>Windows Service Wrapper (WinSW)</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<winsw.version>2.0.3</winsw.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -26,10 +30,10 @@
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.5.3</version>
|
<version>2.5.3</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- fake out maven and install the binary artifact -->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
||||||
<artifactId>maven-antrun-extended-plugin</artifactId>
|
<artifactId>maven-antrun-extended-plugin</artifactId>
|
||||||
|
<version>1.43</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
|
@ -38,7 +42,10 @@
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<attachArtifact file="bin/Release/winsw.exe" type="exe" classifier="bin" />
|
<mkdir dir="${project.build.directory}/bin/"/>
|
||||||
|
<get src="https://github.com/kohsuke/winsw/releases/download/winsw-draft-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" />
|
||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
Loading…
Reference in New Issue