...
Code Block |
---|
<settings> <pluginGroups> <pluginGroup>com.oosnmpagentpp.agenpro.maven.plugins</pluginGroup> </pluginGroups> <localRepository>D:/maven/repository</localRepository> </settings> |
Info |
---|
Note: Before AgenPro 5.0 the plugin group ID was com.oosnmp.agenpro instead now com.agentpp.agenpro. |
SNMP4J and SNMP4J-Agent JARs
...
Code Block | ||
---|---|---|
| ||
<dependency> <groupId>org.snmp4j</groupId> <artifactId>snmp4j</artifactId> <version>2<version>3.64.2<4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.snmp4j</groupId> <artifactId>snmp4j-agent</artifactId> <version>2<version>3.63.3<6</version> <scope>compile</scope> <exclusions> <exclusion> <!-- Exclude transitive dependency to SNMP4J --> <groupId>org.snmp4j</groupId> <artifactId>snmp4j</artifactId> </exclusion> </exclusions> </dependency> |
(B) Manual Local Repository Installation
Download SNMP4J and SNMP4J-Agent ZIP files and unpack them in a local folder. Then run the following Maven commands from the dist/lib directories:
Code Block |
---|
mvn install:install-file -Dfile=SNMP4J.jar -DgroupId=org.snmp4j -DartifactId=snmp4j -Dversion=23.64.24 -Dpackaging=jar -DgeneratePom=true |
...
Code Block |
---|
mvn install:install-file -Dfile=SNMP4J-Agent.jar -DgroupId=org.snmp4j -DartifactId=snmp4j-agent -Dversion=23.3.6.3 -Dpackaging=jar -DgeneratePom=true |
...
Code Block |
---|
mvn install:install-file -Dfile=agenpro4.jar -DgroupId=com.oosnmp.agenproagentpp -DartifactId=agenpro -Dversion=45.20.10 -Dpackaging=jar -DgeneratePom=true |
...
Code Block |
---|
mvn install:install-file -Dfile=agenpro4-plugin.jar -DgroupId=com.oosnmp.agenproagentpp -DartifactId=agenpro-plugin -Dversion=45.20.10 -Dpackaging=jar -DgeneratePom=true |
...