maven-pax-plugin thinks Pax-Runner 0.10.0 is a old version and looks for the 
jar in the old place
-------------------------------------------------------------------------------------------------

                 Key: PAXCONSTRUCT-87
                 URL: http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-87
             Project: Pax Construct
          Issue Type: Bug
          Components: maven-pax-plugin
    Affects Versions: 1.2
            Reporter: Stuart McCulloch
            Assignee: Stuart McCulloch
            Priority: Critical
             Fix For: 1.3


Before Pax-Runner was refactored (around version 0.5.0) the launcher jar was in 
a different place, so the maven-pax-plugin contains a very simple test to 
detect if the Pax-Runner being used is old or new. This test is failing for 
0.10.0 because the test does a string comparison, not a numeric comparison 
(doh). The observed error is:

[INFO] artifact org.ops4j.pax.runner:pax-runner: checking for updates from 
central
[INFO] artifact org.ops4j.pax.runner:pax-runner: checking for updates from 
ops4j.releases
Downloading: 
http://repo1.maven.org/maven2/org/ops4j/pax/runner/0.10.0/runner-0.10.0.jar
Downloading: 
http://repository.ops4j.org/maven2//org/ops4j/pax/runner/0.10.0/runner-0.10.0.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to find Pax-Runner org.ops4j.pax:runner:jar:0.10.0
[INFO] ------------------------------------------------------------------------

** WORKAROUND **  manually set the version of Pax-Runner to be used to 0.9.0, 
for example:

  mvn pax:provision "-Drunner=0.9.0"

  pax-provision -- "-Drunner=0.9.0"

normal service will resume shortly, once version 1.3 of the maven-pax-plugin is 
released :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to