Changes for page AgenPro Maven Plugin

Last modified by Frank Fock on 2024/05/25 21:18

From version 13.2
edited by Frank Fock
on 2024/05/25 21:18
Change comment: Update document after refactoring.
To version 12.1
edited by Admin
on 2021/01/03 12:51
Change comment: Updated groupId (removed agenpro suffix) and updated version numbers

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -TOOLS.AgenPro.WebHome
1 +AgenPro
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.FRANKFOCK
1 +XWiki.Admin
Content
... ... @@ -25,17 +25,20 @@
25 25  
26 26  {{/code}}
27 27  
28 +(% class="auto-cursor-target" %)
29 +\\
30 +
28 28  {{info}}
29 29  Note: Before AgenPro 5.0 the plugin group ID was com.**oosnmp**.agenpro instead now com.**agentpp**.agenpro.
30 30  {{/info}}
31 31  
32 -==== SNMP4J and SNMP4J-Agent JARs ====
35 +==== SNMP4J and SNMP4J-Agent JARs ====
33 33  
34 34  ===== (A) Maven Central =====
35 35  
36 36  Instead manually installing SNMP4J and SNMP4J-Agent, you can also use the JARs from Maven Central:
37 37  
38 -{{code language="none"}}
41 +{{code language="text"}}
39 39  <dependency>
40 40   <groupId>org.snmp4j</groupId>
41 41   <artifactId>snmp4j</artifactId>
... ... @@ -57,9 +57,9 @@
57 57  </dependency>
58 58  {{/code}}
59 59  
60 -(% style="color:#707070" %)**(B) Manual Local Repository Installation**
63 +(% style="color: rgb(112,112,112);" %)**(B) Manual Local Repository Installation**
61 61  
62 -[[Download>>http://www.agentpp.com/download.html||shape="rect"]] SNMP4J and SNMP4J-Agent ZIP files and unpack them in a local folder. Then run the following Maven commands from the **dist/lib** directories:
65 +[[Download>>url:http://www.snmp4j.org/html/download.html||shape="rect"]] SNMP4J and SNMP4J-Agent ZIP files and unpack them in a local folder. Then run the following Maven commands from the **dist/lib** directories:
63 63  
64 64  {{code}}
65 65  mvn install:install-file -Dfile=SNMP4J.jar -DgroupId=org.snmp4j -DartifactId=snmp4j -Dversion=3.4.4 -Dpackaging=jar -DgeneratePom=true
... ... @@ -66,6 +66,8 @@
66 66  
67 67  {{/code}}
68 68  
72 +(% class="auto-cursor-target" %)
73 +\\
69 69  
70 70  {{code}}
71 71  mvn install:install-file -Dfile=SNMP4J-Agent.jar -DgroupId=org.snmp4j -DartifactId=snmp4j-agent -Dversion=3.3.6 -Dpackaging=jar -DgeneratePom=true
... ... @@ -74,16 +74,16 @@
74 74  
75 75  ==== AgenPro JAR ====
76 76  
77 -Download the AgenPro.jar file and install it into your Maven repository:
82 +Download the [[AgenPro.jar>>url:https://www.agentpp.com/agenpro4/agenpro4.jar||shape="rect"]] file and install it into your Maven repository:
78 78  
79 79  {{code}}
80 -mvn install:install-file -Dfile=agenpro.jar -DgroupId=com.agentpp -DartifactId=agenpro -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
85 +mvn install:install-file -Dfile=agenpro4.jar -DgroupId=com.agentpp -DartifactId=agenpro -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
81 81  
82 82  {{/code}}
83 83  
84 84  ==== AgenPro Maven Plugin ====
85 85  
86 -Download the [[AgenPro Maven plugin>>https://snmp.app/dist/release/com/oosnmp/agenpro/maven/plugins/agenpro-plugin||shape="rect"]] and install it into your Maven repository:
91 +Download the [[AgenPro Maven plugin>>url:https://oosnmp.net/dist/release/com/oosnmp/agenpro/maven/plugins/agenpro-plugin||shape="rect"]] and install it into your Maven repository:
87 87  
88 88  {{code}}
89 89  mvn install:install-file -Dfile=agenpro4-plugin.jar -DgroupId=com.agentpp -DartifactId=agenpro-plugin -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
... ... @@ -90,4 +90,5 @@
90 90  
91 91  {{/code}}
92 92  
93 -
98 +(% class="auto-cursor-target" %)
99 +\\