Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve OSGi Framework Links offline for HTTP protocol [PAXRUNNER-433] #188

Open
ops4j-issues opened this issue Jan 4, 2013 · 0 comments
Labels

Comments

@ops4j-issues
Copy link

Stefan Fromm created PAXRUNNER-433

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 during every provisioning.

I would like to have 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-plugin/1.4/org/ops4j/pax/construct/lifecycle/ProvisionMojo.java#ProvisionMojo.loadRunnerClass%28java.lang.String%2Cjava.lang.String%2Cjava.lang.String%2Cboolean%29).


Affects: 1.8.5
Votes: 1, Watches: 0

@ops4j-issues ops4j-issues added the type: improvement Improvement label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant