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

Frank Fock fock at agentpp.com
Tue Sep 12 00:17:46 CEST 2017


Hi Don,

I am confused. What Maven repository are you using? (And if it is not oosnmp.net, then how did you deploy SNMP4J-SMI-PRO there?)

Best regards,
Frank


> On 11. Sep 2017, at 18:29, Broderick, Don <donb at mitre.org> wrote:
> 
> Hi Frank,
> 
> When I added the classifier I know get the following error:
> Missing artifact org.snmp4j.smi:snmp4j-smi-pro:jar:jar-with-dependencies:1.9.1
> 
>    <dependency>
>    	<groupId>org.snmp4j.smi</groupId>
>    	<artifactId>snmp4j-smi-pro</artifactId>
>    	<version>1.9.1</version>
>    	<classifier>jar-with-dependencies</classifier>
>    </dependency>
> 
> Any other suggetions?
> 
> Thanks,
> DonB
> 
> -----Original Message-----
> From: Frank Fock [mailto:fock at agentpp.com] 
> Sent: Thursday, September 07, 2017 1:29 AM
> 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,
> 
> 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