Forum: Pogamut Netbeans IDE Plugin

Problem with using an external jar library

Hello All,

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
Hello Again,
forgot to add that the downloading message goes for the all three external jar files I want to use.
Thanks
Hman.
I had the same problem, I'm afraid.
Yup got this too. This has nothing to do with dependencies. Looks like the amis artifactory at http://diana.ms.mff.cuni.cz:8081is not online.

If you already have the artifacts locally the build will proceed without problems. Probably the reason it went unnoticed.
I am getting this error again now.

If I try to run, say, Raycasting bot:


Failed to execute goal on project RaycastingBot2: Could not resolve dependencies for project com.mycompany:RaycastingBot2:jar:1.0-SNAPSHOT: Could not transfer artifact cz.cuni.amis.pogamut:pogamut-ut2004:jar:3.3.1-20120915.014402-135 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: connect -> Help 1
We apologize for stability issues with out artifactory server.

Best,
Jakub
Hi!

Artifactory is up and running once again.

Best,
Jakub
Note that you can use release version 3.3.1 from now on
so you won't suffer from server unavailability.

Best,
Jakub