Skip to content

Commit

Permalink
Removed cpptask dep. and switched to better maintained nar-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian committed Aug 21, 2017
1 parent a0513d1 commit 54d3f17
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ You can include `system-hook` from this GitHub repository by adding this depende
<dependency>
<groupId>lc.kra.system</groupId>
<artifactId>system-hook</artifactId>
<version>3.1</version>
<version>3.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 3.1.{build}
version: 3.2.{build}

branches:
only:
Expand Down
5 changes: 3 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ SOFTWARE.

<!-- Ant -->
<property name="settings.localRepository" value="${user.home}/.m2/repository" />
<taskdef name="cc" classname="net.sf.antcontrib.cpptasks.CCTask">
<taskdef name="cc" classname="com.github.maven_nar.cpptasks.CCTask">
<classpath>
<fileset dir="${settings.localRepository}">
<include name="ant-contrib/cpptasks/1.0b5/cpptasks-1.0b5.jar"/>
<include name="com/github/maven-nar/nar-maven-plugin/3.5.2/nar-maven-plugin-3.5.2.jar"/>
<include name="commons-io/commons-io/2.4/commons-io-2.4.jar"/>
</fileset>
</classpath>
</taskdef>
Expand Down
18 changes: 12 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>lc.kra.system</groupId>
<artifactId>system-hook</artifactId>
<version>3.1</version>
<version>3.2</version>
<description>Global Keyboard / Mouse Hook for Java applications.</description>
<url>https://github.com/kristian/system-hook</url>

Expand Down Expand Up @@ -62,6 +62,17 @@
</configuration>
</plugin>

<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<version>3.5.2</version>
<extensions>true</extensions>
<configuration>
<!-- dummy dependency which later on gets used in the ant build task -->
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down Expand Up @@ -198,11 +209,6 @@
</developers>

<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>cpptasks</artifactId>
<version>1.0b5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down

0 comments on commit 54d3f17

Please sign in to comment.