Hi,

I built it locally but there is a public snapshot repo.

Look at the Development snapshots section at [1]:

Regards,

[1] http://wiki.ops4j.org/display/paxexam/Download



2010/2/10 Peter Neubauer <[email protected]>

> Reto,
> thanks for the pointer! That might be exactly the issue.
>
> Now, does anyone know where to point the repo in order to work with e.g.
>
> <dependency>
>                        <groupId>org.ops4j.pax.exam</groupId>
>                        <artifactId>pax-exam-container-default</artifactId>
>                        <version>1.2.1-SNAPSHOT</version>
>                        <scope>test</scope>
>                </dependency>
>
> Or do I have to build it locally?
>
> Cheers,
>
> /peter neubauer
>
> COO and Sales, Neo Technology
>
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
>
> http://www.neo4j.org             - Your high performance graph database.
> http://www.tinkerpop.com      - Processing for Internet-scale graphs.
> http://www.thoughtmade.com - Scandinavias coolest Bring-a-Thing party.
>
>
>
> On Tue, Feb 9, 2010 at 10:32 PM, Reto Bachmann-Gmuer
> <[email protected]> wrote:
> > Hi Peter,
> >
> > This might be http://issues.ops4j.org/browse/PAXEXAM-160 which is fixed
> in
> > the latest SNAPSHOT version of pax-exam.
> >
> > Cheers,
> > reto
> >
> > On Tue, Feb 9, 2010 at 7:36 PM, Peter Neubauer
> > <[email protected]> wrote:
> >>
> >> Hi all,
> >> I am trying to include a SNAPSHOT dependency in my Pax Exam test, like
> >>
> >> public static Option[] config()
> >>    {
> >>        return options(
> >>
> >>  repository("
> http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository";),
> >>            repository("http://m2.neo4j.org";).allowSnapshots(),
> >>            //mavenConfiguration(),
> >>            provision(
> >>                        mavenBundle().artifactId( "neo4j-kernel"
> ).groupId(
> >> "org.neo4j" ).versionAsInProject(),
> >>                        mavenBundle().artifactId( "neo4j-index"
> ).groupId(
> >> "org.neo4j" ).versionAsInProject(),
> >>                        mavenBundle().artifactId( "neo4j-meta-model"
> >> ).groupId(
> >> "org.neo4j" ).versionAsInProject()
> >>                        )
> >>        );
> >>    }
> >>
> >> Where I have the meta-model as a SNAPSHOT dependency in the repo.
> However,
> >> I get
> >>
> >> ....
> >> [                  PlatformImpl] - Preparing framework [Felix 2.0.1]
> >> [                  PlatformImpl] - Downloading bundles...
> >> [                   StreamUtils] -
> >> mvn:org.neo4j/neo4j-meta-model/0.7-20100203.100339-2 : downloading...
> >> [        PaxRunnerTestContainer] - Shutting down the test container (Pax
> >> Runner)
> >>
> >>
> >> And the stacktrace in Eclipse is
> >>
> >> java.lang.RuntimeException: URL
> >> [mvn:org.neo4j/neo4j-meta-model/0.7-20100203.100339-2] could not be
> >> resolved.
> >>        at
> >>
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
> >>        at java.net.URL.openStream(URL.java:1010)
> >>        at
> >>
> org.ops4j.pax.runner.platform.internal.StreamUtils.streamCopy(StreamUtils.java:112)
> >>        at
> >>
> org.ops4j.pax.runner.platform.internal.PlatformImpl.download(PlatformImpl.java:631)
> >>        at
> >>
> org.ops4j.pax.runner.platform.internal.PlatformImpl.downloadBundles(PlatformImpl.java:407)
> >>        at
> >>
> org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:186)
> >>        at org.ops4j.pax.runner.Run.startPlatform(Run.java:671)
> >>        at org.ops4j.pax.runner.Run.start(Run.java:220)
> >>        at org.ops4j.pax.runner.Run.start(Run.java:176)
> >>        at
> >>
> org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer.start(PaxRunnerTestContainer.java:264)
> >>        at
> >>
> org.ops4j.pax.exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java:142)
> >>        at
> >>
> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
> >>        at
> >> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
> >>        at
> >>
> org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60)
> >>        at
> >> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
> >>        at
> >> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
> >>        at
> >>
> org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:246)
> >>        at
> >>
> org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:196)
> >>        at
> >>
> org.ops4j.pax.exam.junit.JUnit4TestRunner$2.run(JUnit4TestRunner.java:186)
> >>        at
> >>
> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
> >>        at
> >> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
> >>        at
> >> org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:182)
> >>        at
> >>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
> >>        at
> >>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> >>        at
> >>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> >>        at
> >>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> >>        at
> >>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> >>        at
> >>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> >>
> >> Anyone knows why that could be? I am using Pax Exam 1.2.0 ...
> >>
> >>
> >> Thanks all!
> >>
> >> /peter neubauer
> >>
> >> COO and Sales, Neo Technology
> >>
> >> GTalk:      neubauer.peter
> >> Skype       peter.neubauer
> >> Phone       +46 704 106975
> >> LinkedIn   http://www.linkedin.com/in/neubauer
> >> Twitter      http://twitter.com/peterneubauer
> >>
> >> http://www.neo4j.org                - Your high performance graph
> >> database.
> >> http://gremlin.tinkerpop.com    - The terminal to the Giant Global
> Graph.
> >>
> >> _______________________________________________
> >> general mailing list
> >> [email protected]
> >> http://lists.ops4j.org/mailman/listinfo/general
> >
> >
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to