[SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?

Frank Fock fock at agentpp.com
Thu Sep 7 07:28:38 CEST 2017


Hi Don,

Please just add the following line to your dependency definition:

  <classifier>jar-with-dependencies</classifier>

I have also added the complete example to the FAQ at:
https://oosnmp.net/confluence/pages/viewpage.action?pageId=5799973

Best regards,
Frank

> On 6. Sep 2017, at 13:31, Broderick, Don <donb at mitre.org> wrote:
> 
> Sorry if this is a duplicate, I am not sure if the first one went out.
> 
> Frank,
> 
> I only have this in my POM, if I don't have this I will need to manually download and install the jar on each system.
>    <dependency>
>    	<groupId>org.snmp4j.smi</groupId>
>    	<artifactId>snmp4j-smi-pro</artifactId>
>    	<version>1.9.1</version>
>    </dependency>
> 
> When I build with 1.8.0 it works fine and the POM for 1.8.0 in your Maven repository is:
> 
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.snmp4j.smi</groupId>
> <artifactId>snmp4j-smi-pro</artifactId>
> <version>1.8.0</version>
> <description>SNMP4J-SMI-PRO MIB Parser API</description></project>
> 
> The POM in your repository for 1.9.1 is very different and lists the dependencies that are causing the problem.  Shouldn't the POM in the repository for 1.9.1 be the same as the 1.8.0 one except for the version number?
> 
> Thanks,
> DonB
> 
> -----Original Message-----
> From: Frank Fock [mailto:fock at agentpp.com] 
> Sent: Tuesday, August 29, 2017 5:13 PM
> To: Broderick, Don <donb at mitre.org>
> Cc: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] SNMP4J-SMI-PRO Missing artifact in Maven repository?
> 
> Hi Don,
> The pom.xml your are using is wrong, i.e. remove all missing dependencies and use the SNMP4J SMI PRO jar that comes with the distribution file.
> Best regards 
> Frank
> 
>> Am 24.08.2017 um 23:20 schrieb Frank Fock <fock at agentpp.com>:
>> 
>> Hi Don,
>> 
>> The artefacts you are missing are internal ones and are already included in the SNMP4J-SMI-PRO 1.9.1 JAR file.Why do you think that those classes are missing? Do you get any class not found exception?
>> 
>> Best regards,
>> Frank
>> 
>> 
>>> On 24. Aug 2017, at 17:19, Broderick, Don <donb at mitre.org> wrote:
>>> 
>>> I am trying to upgrade so v1.9.1 and get the following error:
>>> com.oosnmp:jasmi:jar:4.2.2, com.oosnmp:valueconverter:jar:3.0.4: Could not find artifact
>>> 
>>> I have looked in https://oosnmp.net/dist/release/com/oosnmp/ and do not see jasmi, is this missing from the repository?
>>> 
>>> Thanks,
>>> DonB
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> https://oosnmp.net/mailman/listinfo/snmp4j
>> 
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> https://oosnmp.net/mailman/listinfo/snmp4j
> 



More information about the SNMP4J mailing list