Berkelium-Java Maven

83 views
Skip to first unread message

dsr

unread,
Dec 7, 2012, 10:19:26 AM12/7/12
to berk...@googlegroups.com
Hello

Did you experienced any problems using Berkelium with Maven?

I used 

<dependencies>
   
<dependency>
       
<groupId>org.berkelium.java</groupId>
       
<artifactId>berkelium-java</artifactId>
       
<version>0.9.4</version>
   
</dependency>
</dependencies>
<repositories>
   
<repository>
       
<id>berkelium.t0c.de</id>
       
<url>http://berkelium.t0c.de/maven</url>
   
</repository>
</repositories>

as described in the project page but when I run maven it crashes with 
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.berkelium.java:berkelium:pom:0.9.4 in http://berkelium.t0c.de/maven
was cached in the local repository, resolution will not be reattempted until the update interval of berkelium.t0c.de has elapsed or updates are forced
        at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
        at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
        at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
        ... 36 more

I'm using maven 3.0.4

Thanks in advance

dsr

unread,
Dec 8, 2012, 9:03:44 AM12/8/12
to berk...@googlegroups.com
Hello

I checked the poms in ...repo/api,
..../berkelium-java,
..../runtime-java,
.../ runtime 

and I see that they all inherit a parent project with artifactid=berkelium

this "berkelium" is missing from the repository and as a result:
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1664)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1662)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1660)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122)

This error was produced using Maven 2.

Am I missing something or..? 

Regards

Dennis Rieks

unread,
Dec 10, 2012, 6:28:25 PM12/10/12
to berk...@googlegroups.com

Hello,

sorry for the late response. it seems you have an error in you local maven repository. no berkelium artefacts can be found on repo1.maven.org, so it is correct that there cant be found on this URL.

please remove the directory ".m2/repository/org/berkelium" with all content inside it and retry.

- Dennis

2012/12/8 dsr <djan...@gmail.com>

dsr

unread,
Dec 11, 2012, 12:58:03 AM12/11/12
to berk...@googlegroups.com, ri...@netzprofis.de
Hi

Actually it seems I that have copied the wrong exception :). I'm sorry about that.

The real exception was :

I have installed a project called "berkelium" in my local repo. After that when I declared all the parts in the repo as dependencies. The api and java-runtime downloaded to my local repo successfully, except for the win32 runtime :)
The win32 runtime crashes with simillar exception. Maven looks for the runtime-0.9.4.jar but does't find it.

Regards
Reply all
Reply to author
Forward
0 new messages