2009/4/23 Stéphane Jeanjean <stephane.jeanj...@softeam.com>

>
> It seems that the issue is from pax-runner 0.18 with Windows (
> http://issues.ops4j.org/browse/PAXRUNNER-233 )
>
> Is there any way to use maven-pax-plugin with another version of Pax Runner
> ?
>

use "-Drunner=<version>" on the command-line, or set it in your pom like
this:

      <plugin>
        <groupId>org.ops4j</groupId>
        <artifactId>maven-pax-plugin</artifactId>
        <version>1.4</version>
        <configuration>
          <runner>0.17.2</runner>
        </configuration>
      </plugin>

btw, we use the same approach Maven uses for their plugins for downloading
Pax-Runner
which is download the latest if you don't have it in your local repository -
from then onward
we only re-check for a new version if you use "mvn -U ....." to force the
update check

this is so builds are relatively stable - if you need to lock down the
version set it in the pom

see:


http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/provision-mojo.html

which is the standard Maven doc for the maven-pax-plugin

HTH


> "Stéphane Jeanjean" <stephane.jeanj...@softeam.com> a écrit :
>
>
>  Thanks Thomas.
>>
>> I have added this to my pom :
>> <plugin>
>>        <groupId>org.ops4j</groupId>
>>        <artifactId>maven-pax-plugin</artifactId>
>>        <version>1.4</version>
>> </plugin>
>>
>> When I launch mvn pax:provision. Pax Runner is started, then Felix is
>> downloaded, then Felix is started, then warning messages are displayed :
>> "Unable to cache bundle..."
>> I don't know if it's just a warning or an error.
>>
>> But then, it seems that Felix is blocked, there is no prompt display, and
>> when I try "ps" for instance : nothing :(
>>
>> Stéphane
>>
>>
>> -----Message d'origine-----
>> De : general-boun...@lists.ops4j.org [mailto:
>> general-boun...@lists.ops4j.org] De la part de Thomas Joseph
>> Envoyé : mercredi 22 avril 2009 18:23
>> À : General OPS4J
>> Objet : Re: Maven-pax-plugin
>>
>>
>>
>>
>>
>> On Wed, Apr 22, 2009 at 9:16 PM, Stéphane Jeanjean <
>> stephane.jeanj...@softeam.com> wrote:
>>
>> Hello,
>>
>> How can I launch my bundle with Maven using maven-pax-plugin ?
>> Somebody can provide me a sample, please ?
>>
>> mvn pax:provision
>>
>>
>> http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/index.html
>>
>> http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/provision-mojo.html
>>
>> using pax-construct:
>> http://www.jroller.com/habuma/entry/pax_construct_from_zero_to
>>
>> on construct: pax-provision
>>
>>
>>
>>
>>
>> Thank you,
>>
>> Stéphane
>>
>>
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/generalwww.www.
>>
>>
>>
>>
>> --
>> --
>> Thanks and Regards,
>>
>> Thomas Joseph
>>
>> LinkedIn: http://www.linkedin.com/in/ethomasjoseph
>>
>> Twitter: http://twitter.com/ethomasjoseph
>> ------------------------------------------------------------
>> Promote Open Source - Promote Liberty of Ideas and Software.
>> ------------------------------------------------------------
>>
>>
>>
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>
>
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Cheers, Stuart
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to