Hi all,

I am trying to get Pax Runner to download the OSGi-ified catalina
(tomcat) bundle from Spring's maven repository.
Unfortunately, this fails. Pax Runner doesn't seem to be able to find
the requested file.

I am using Pax Runner's pom scanner and my pom file contains the
following dependency:

    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>catalina.osgi</artifactId>
      <version>6.0.16-SNAPSHOT</version>
    </dependency>

and I have included the following maven repository

    <repository>
      <id>i21-s3-osgi-repo</id>
      <name>i21 osgi artifacts repo</name>
      <snapshots>
         <enabled>true</enabled>
      </snapshots>
      <url>http://maven.springframework.org/osgi</url>
    </repository>

What's strange is that Pax-Runner doesn't even seem to include this
repository in its search.
At least not judging by this log output:

 -> Using repositories
[[file:/C:/Documents%20and%20Settings/peter/.m2/repository/,releases=true,snapshots=true,
http://repo1.maven.org/maven2/,releases=true,snapshots=false,
http://repository.ops4j.org/maven2/,releases=true,snapshots=false,
http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false,
http://repository.springsource.com/maven/bundles/external/,releases=true,snapshots=false]


If I am usign the same dependency/repository combination in a regular
maven build the dependency gets downloaded as expected.
Furthermore, once the dependency is available in the local maven repo
Pax Runner has no problem picking it up.
But if I delete it and re-run Pax-Runner it fails to download it.

Am I doing something wrong here or is Pax-Runner at fault?
BTW, I am using version 0.16.0 of Pax Runner.

regards, Peter

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to