provision script does not pass down options properly

Description

When the pax-provision script fails to download a bundle (in my case Eclipse not in my Maven proxy), this ascii art is displayed
___
/ /
/ / Oops, there has been a problem!
/ /
/__/ URL mvn:org.eclipse/osgi/3.5.1.R35x_v20090827 could not be resolved.
___
/__/ Use --log=debug to see details.

But unfortunately the pax-provision does not accept the --log options, and also subsequently fail to stop.

$ pax-provision -f equinox --log=debug
Unable to parse command line options: Unrecognized option: --log=debug

usage: mvn [options] [<goal(s)>] [<phase(s)>]

Environment

None

Activity

Show:
PeteP
April 25, 2010, 2:55 PM

I gather from the Priority of 'minor' that this is not a problem for others but it wasn't intuitive at all for me to figure out a workaround for this bug. Just in case that happens to you, here is what I had to do. Finding and adding the right repository did NOT work for me, despite lots of time searching for one.

searched the web for the string '3.5.1.R35x_v20090827' and came up with many false leads, and also this good link:

http://www.jarvana.com/jarvana/inspect/org/sonatype/tycho/org.eclipse.osgi/3.5.1.R35x_v20090827/org.eclipse.osgi-3.5.1.R35x_v20090827.jar

From here, I downloaded the jar.

Then I installed the jar into my repository using the normal methods for installing a 3rd party jar (in my case nexus UI but you can also use the command line version)

I used these parameters
groupId=org.eclipse
artifactId=osgi
version=3.5.1.R35x_v20090827

Assignee

Unassigned

Reporter

Niels B Nielsen

Labels

None

Components

Affects versions

Priority

Minor
Configure