Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to AgenPro 5.0 requirements

...

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
languagetext
<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=agenpro4.jar -DgroupId=com.oosnmpagentpp.agenpro -DartifactId=agenpro -Dversion=4.2.1 -Dpackaging=jar -DgeneratePom=true

...

Code Block
mvn install:install-file -Dfile=agenpro4-plugin.jar -DgroupId=com.oosnmpagentpp.agenpro -DartifactId=agenpro-plugin -Dversion=4.2.1 -Dpackaging=jar -DgeneratePom=true

...