Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
updated versions of dependencies (changed log4j to reload4j)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrandes committed Mar 11, 2022
1 parent 5c44c38 commit fbc94b5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARP Daemon in Java. Open Source project under Apache License v2.0

#### Usage Example (command line)

java -cp conf/:lib/arpd-2.0.0.jar:lib/pcap4j-core-1.7.3.jar:lib/pcap4j-packetfactory-static-1.7.3.jar:lib/jna-4.2.1.jar:lib/slf4j-api-1.7.12.jar:lib/slf4j-log4j12-1.7.12.jar:lib/log4j-1.2.17.jar \
java -cp conf/:lib/arpd-2.0.1.jar:lib/pcap4j-core-1.8.2.jar:lib/pcap4j-packetfactory-static-1.8.2.jar:lib/jna-5.3.1.jar:lib/slf4j-api-1.7.36.jar:lib/slf4j-reload4j-1.7.36.jar:lib/reload4j-1.2.19.jar \
-Darpd.home=/opt/arpd \
-Darpd.keepalive=/opt/arpd/arpd.alive \
-Darpd.runfile=/opt/arpd/arpd.run \
Expand Down
35 changes: 22 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

<groupId>org.javastack</groupId>
<artifactId>arpd</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<description>ARP Daemon</description>
<inceptionYear>2009</inceptionYear>

<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/ggrandes/${project.artifactId}</url>
<url>https://github.com/ggrandes/arpd</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
Expand All @@ -29,27 +29,36 @@
<url>[email protected]:ggrandes/${project.artifactId}.git</url>
</scm>

<properties>
<start-class>org.javastack.arpd.ARPD</start-class>
</properties>

<dependencies>
<!-- Log4J 1.2 replacement -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<type>jar</type>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<version>1.2.19</version>
</dependency>
<dependency>
<groupId>org.pcap4j</groupId>
<artifactId>pcap4j-core</artifactId>
<version>1.7.3</version>
<version>1.8.2</version>
</dependency>
<dependency>
<groupId>org.pcap4j</groupId>
<artifactId>pcap4j-packetfactory-static</artifactId>
<version>1.7.3</version>
<version>1.8.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.12</version>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
</dependencies>

Expand All @@ -58,7 +67,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<version>3.8.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
Expand All @@ -67,13 +76,13 @@
<!-- Package Classes to JAR to upload to repo -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<version>3.2.0</version>
<configuration>
<finalName>${project.artifactId}-${project.version}</finalName>
<forceCreation>true</forceCreation>
<archive>
<manifestEntries>
<Main-Class>org.javastack.arpd.ARPD</Main-Class>
<Main-Class>${start-class}</Main-Class>
<Built-By>maven</Built-By>
</manifestEntries>
</archive>
Expand Down

0 comments on commit fbc94b5

Please sign in to comment.