Hi,
 
I want to build an OSGi-based application using maven-pax-plugin 1.4 in
an offline environment. Formerly I used Equinox 3.7.0, which worked
because the Pax Runner link
mvn:org.eclipse.tycho/org.eclipse.osgi/3.7.0.v20110613 is resolved from
the local Maven repo. When changing to Equinox 3.8.1 the Pax Runner link
changed to
http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/equinox/drops/R-3.8
.1-201209141800/org.eclipse.osgi_3.8.1.v20120830-144521.jar. The latter
link is downloaded in every provisioning.
 
Is there a possibility to tell Pax Runner via maven-pax-plugin
configuration to resolve the HTTP link from another offline location?
 
I already tried to exchange the runner link by adding a plugin
dependency with an overridden runner link file. But this does not work.
As I later found out, maven-pax-plugin 1.4 and also 1.5 do not add
Maven's plugin dependencies to the classpath of started Pax Runner (see
http://grepcode.com/file/repo1.maven.org/maven2/org.ops4j/maven-pax-plug
in/1.4/org/ops4j/pax/construct/lifecycle/ProvisionMojo.java#ProvisionMoj
o.loadRunnerClass%28java.lang.String%2Cjava.lang.String%2Cjava.lang.Stri
ng%2Cboolean%29).
 
Best regards
Stefan Fromm
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to