Changes for page AgenPro Maven Plugin

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

From version 12.2
edited by Admin
on 2024/02/07 22:22
Change comment: Update document after refactoring.
To version 13.1
edited by Frank Fock
on 2024/05/25 21:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.FRANKFOCK
Content
... ... @@ -25,20 +25,17 @@
25 25  
26 26  {{/code}}
27 27  
28 -(% class="auto-cursor-target" %)
29 -\\
30 -
31 31  {{info}}
32 32  Note: Before AgenPro 5.0 the plugin group ID was com.**oosnmp**.agenpro instead now com.**agentpp**.agenpro.
33 33  {{/info}}
34 34  
35 -==== SNMP4J and SNMP4J-Agent JARs ====
32 +==== SNMP4J and SNMP4J-Agent JARs ====
36 36  
37 37  ===== (A) Maven Central =====
38 38  
39 39  Instead manually installing SNMP4J and SNMP4J-Agent, you can also use the JARs from Maven Central:
40 40  
41 -{{code language="text"}}
38 +{{code language="none"}}
42 42  <dependency>
43 43   <groupId>org.snmp4j</groupId>
44 44   <artifactId>snmp4j</artifactId>
... ... @@ -60,9 +60,9 @@
60 60  </dependency>
61 61  {{/code}}
62 62  
63 -(% style="color: rgb(112,112,112);" %)**(B) Manual Local Repository Installation**
60 +(% style="color:#707070" %)**(B) Manual Local Repository Installation**
64 64  
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:
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:
66 66  
67 67  {{code}}
68 68  mvn install:install-file -Dfile=SNMP4J.jar -DgroupId=org.snmp4j -DartifactId=snmp4j -Dversion=3.4.4 -Dpackaging=jar -DgeneratePom=true
... ... @@ -69,8 +69,6 @@
69 69  
70 70  {{/code}}
71 71  
72 -(% class="auto-cursor-target" %)
73 -\\
74 74  
75 75  {{code}}
76 76  mvn install:install-file -Dfile=SNMP4J-Agent.jar -DgroupId=org.snmp4j -DartifactId=snmp4j-agent -Dversion=3.3.6 -Dpackaging=jar -DgeneratePom=true
... ... @@ -79,16 +79,16 @@
79 79  
80 80  ==== AgenPro JAR ====
81 81  
82 -Download the [[AgenPro.jar>>url:https://www.agentpp.com/agenpro4/agenpro4.jar||shape="rect"]] file and install it into your Maven repository:
77 +Download the AgenPro.jar file and install it into your Maven repository:
83 83  
84 84  {{code}}
85 -mvn install:install-file -Dfile=agenpro4.jar -DgroupId=com.agentpp -DartifactId=agenpro -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
80 +mvn install:install-file -Dfile=agenpro.jar -DgroupId=com.agentpp -DartifactId=agenpro -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
86 86  
87 87  {{/code}}
88 88  
89 89  ==== AgenPro Maven Plugin ====
90 90  
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:
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:
92 92  
93 93  {{code}}
94 94  mvn install:install-file -Dfile=agenpro4-plugin.jar -DgroupId=com.agentpp -DartifactId=agenpro-plugin -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true
... ... @@ -95,5 +95,4 @@
95 95  
96 96  {{/code}}
97 97  
98 -(% class="auto-cursor-target" %)
99 -\\
93 +