2015-03-29 10:53:17 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.sun.winsw</groupId>
|
|
|
|
<artifactId>winsw</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
2017-07-27 10:32:57 +00:00
|
|
|
<version>2.1.3-SNAPSHOT</version>
|
2016-12-10 01:07:42 +00:00
|
|
|
<name>Windows Service Wrapper (WinSW)</name>
|
2016-12-10 01:15:34 +00:00
|
|
|
<url>https://github.com/kohsuke/winsw/</url>
|
|
|
|
|
2016-12-10 01:07:42 +00:00
|
|
|
<properties>
|
2017-07-27 10:27:52 +00:00
|
|
|
<winsw.version>2.1.2</winsw.version>
|
2016-12-10 01:15:34 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The MIT license</name>
|
|
|
|
<url>http://www.opensource.org/licenses/mit-license.php</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>oleg_nenashev</id>
|
|
|
|
<name>Oleg Nenashev</name>
|
|
|
|
<roles>
|
|
|
|
<role>Maintainer</role>
|
|
|
|
</roles>
|
|
|
|
<url>https://github.com/oleg-nenashev/</url>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
2016-12-10 01:07:42 +00:00
|
|
|
|
2015-03-29 10:53:17 +00:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>maven.jenkins-ci.org</id>
|
2016-11-05 19:01:20 +00:00
|
|
|
<url>https://repo.jenkins-ci.org/releases/</url>
|
2015-03-29 10:53:17 +00:00
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2016-12-10 01:15:34 +00:00
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
<system>AppVeyor</system>
|
|
|
|
<url>https://ci.appveyor.com/project/oleg-nenashev/winsw</url>
|
|
|
|
</ciManagement>
|
2015-03-29 10:53:17 +00:00
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:ssh://github.com/kohsuke/winsw.git</connection>
|
|
|
|
<developerConnection>scm:git:ssh://git@github.com/kohsuke/winsw.git</developerConnection>
|
|
|
|
<url>https://github.com/kohsuke/winsw</url>
|
2017-07-27 10:32:57 +00:00
|
|
|
<tag>HEAD</tag>
|
2015-03-29 10:53:17 +00:00
|
|
|
</scm>
|
2016-12-10 01:07:42 +00:00
|
|
|
|
2015-03-29 10:53:17 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2016-08-02 16:00:22 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.5.3</version>
|
2016-12-10 01:35:21 +00:00
|
|
|
<configuration>
|
|
|
|
<releaseProfiles>release-verify-winsw-version</releaseProfiles>
|
|
|
|
</configuration>
|
2016-08-02 16:00:22 +00:00
|
|
|
</plugin>
|
2015-03-29 10:53:17 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
|
|
|
<artifactId>maven-antrun-extended-plugin</artifactId>
|
2016-12-10 01:07:42 +00:00
|
|
|
<version>1.43</version>
|
2015-03-29 10:53:17 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2017-01-08 12:55:15 +00:00
|
|
|
<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" />
|
2017-01-08 12:54:16 +00:00
|
|
|
<attachArtifact file="${project.build.directory}/bin/winsw.exe" type="exe" classifier="bin" />
|
2015-03-29 10:53:17 +00:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-12-10 01:35:21 +00:00
|
|
|
|
|
|
|
<!-- Ensures that the version of the released WinSW package equals to WinSW-->
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>release-verify-winsw-version</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
|
|
|
|
<artifactId>maven-antrun-extended-plugin</artifactId>
|
|
|
|
<version>1.43</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2017-01-08 12:55:15 +00:00
|
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
|
2016-12-10 01:35:21 +00:00
|
|
|
<if>
|
|
|
|
<not>
|
2017-01-08 12:55:15 +00:00
|
|
|
<equals arg1="${project.version}" arg2="${winsw.version}" />
|
2016-12-10 01:35:21 +00:00
|
|
|
</not>
|
|
|
|
<then>
|
2017-01-08 12:55:15 +00:00
|
|
|
<fail message="Project version ${project.version} is different from the WinSW version ${winsw.version}." />
|
2016-12-10 01:35:21 +00:00
|
|
|
</then>
|
|
|
|
</if>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ant-contrib</groupId>
|
|
|
|
<artifactId>ant-contrib</artifactId>
|
|
|
|
<version>20020829</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-03-29 10:53:17 +00:00
|
|
|
</project>
|