Felix,

it sounds like this problem has also been seen here:

http://mail-archives.apache.org/mod_mbox/sling-dev/201203.mbox/%3CCAKkCf4oM=gtxamv1gbkdndvf_vygua8dc3ge86dsro8yssn...@mail.gmail.com%3E



So, adding the following in the pom.xml seems to resolve the problem:

    <repositories>
        <repository>
            <id>com.springsource.repository.bundles.release</id>
            <name>EBR Spring Release Repository</name>
            <url>http://repository.springsource.com/maven/bundles/release
</url>
        </repository>
        <repository>
            <id>com.springsource.repository.bundles.external</id>
            <name>EBR External Release Repository</name>
            <url>http://repository.springsource.com/maven/bundles/external
</url>
        </repository>
    </repositories>

<dependencies>
        <dependency>
            <groupId>org.junit</groupId>
            <artifactId>com.springsource.org.junit</artifactId>
            <version>4.9.0</version>
            <scope>test</scope>
        </dependency>
...

I prefer to let you check and commit this if you think it's ok ?


regards
/pierre




On Thu, Oct 18, 2012 at 1:08 PM, Pierre De Rop <[email protected]>wrote:

> Hi Felix,
>
> it seems that I also have the problem: I I removed everything from
> ~/.m2/repository and I then have the download problem. (but so far, before
> removing my repo, I did not have the problem):
>
> [org.ops4j.pax.url.mvn.internal.Connection] : Resolving
> [mvn:org.junit/com.springsource.org.junit/4.9.0]
> [org.ops4j.pax.url.mvn.internal.LogAdapter] : Using manager
> SimpleLocalRepositoryManager with priority 0 for /home/nxuser/.m2/repository
> [org.ops4j.pax.url.mvn.internal.LogAdapter] : Using connector
> WagonRepositoryConnector with priority 0 for
> http://repo1.maven.org/maven2/ via proxy.nextenso.alcatel.fr:3128 as null
>
>
> What is odd is that I'm also having an OutOfMemory after a few seconds.
>
> Error occurred during initialization of VM
> java.lang.OutOfMemoryError: unable to create new native thread
>         at java.lang.Thread.start0(Native Method)
>         at java.lang.Thread.start(Thread.java:640)
>         at java.lang.ref.Finalizer.<clinit>(Finalizer.java:176)
>
>
> regards
> /pierre
>
>
>
>
> On Thu, Oct 18, 2012 at 11:50 AM, Felix Meschberger <[email protected]>wrote:
>
>> Hi all
>>
>> The scr project currently does not build successfully due to requiring
>> one or more artifacts not available from the central maven repository.
>>
>> The integration tests all fail with messages like this:
>>
>>
>>  
>> test_required_multiple_static:ServiceBindTest.test_required_multiple_static:org.ops4j.pax.exam.forked.ForkedTestContainer@657ba64f(org.apache.felix.scr.integration.ServiceBindTest):
>> Could not find artifact org.junit:com.springsource.org.junit:jar:4.9.0 in
>> central (http://repo1.maven.org/maven2/)
>>
>> Where does this integration test time "dependency" come from ?
>> And how can the build be configured to be able to get it when needed ?
>>
>> Regards
>> Felix
>
>
>

Reply via email to