Problem with using an external jar library
I have had a problem with using an external jar library in my pogamut project with netbeans. I want to use an external java library by including the jar file to the project. I am using pogamut 3.3.0 with UT2004 working under linux with netbeans 7.1.2.
Here are the steps I followed:
1-right clicking on dependencies in the project
2- add dependency
3- adding the made-up groupIds , artifactIds, version ids
4- after that right clicking on the created dependency and installing the library manually by selecting the path to the jar in the system.
and when I hit the build,
I get the following in the console
Downloading: http://diana.ms.mff.cuni.cz:8081/artifactory/repo/xmlrpcClient/xmlrpcClient/1/xmlrpcClient-1.pom
BUILD FAILURE
Failed to execute goal on project mavenproject1: Could not resolve dependencies for project com.mycompany:mavenproject1:jar:1.0-SNAPSHOT: Failed to collect dependencies for xmlrpcClient:xmlrpcClient:jar:1 (compile), xmlrpcWSClient:xmlrpcWSClient:jar:1 (compile), xmlrpcCommon:xmlrpcCommon:jar:1 (compile), cz.cuni.amis.pogamut:pogamut-ut2004:jar:3.3.0 (compile), org.easymock:easymock:jar:2.5.1 (test), junit:junit:jar:4.8.2 (test): Failed to read artifact descriptor for xmlrpcClient:xmlrpcClient:jar:1: Could not transfer artifact xmlrpcClient:xmlrpcClient:pom:1 from/to amis-artifactory (http://diana.ms.mff.cuni.cz:8081/artifactory/repo): Connection to http://diana.ms.mff.cuni.cz:8081 refused: Connection refused -> Help 1
when I check the pom.xml file I see all of my dependencies added with tags named groupId,artifactId and version.
So did anyone have the same problem before? Actually I got the projects working this way with external libraries with maven and netbeans. But this time the above steps seem to be not working. is there anything missing?
Thanks.
Cheers
Hman