Sorry I think that http://issues.ops4j.org/browse/PAXEXAM-14 should solve
it.

Steph.


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Stéphane Amaudruz
Gesendet: Friday, March 06, 2009 4:28 PM
An: 'General OPS4J'
Betreff: AW: PAX Exam - POM Scanner

Yes same problem.

I have a main project with a lot of Maven module.
If I want to build my OSGi platform and provision it, I use PAX-Provision
which is very nice.

Now for IT, I have to specify anything in the options.
So being able to read the deploy pom generated by Pax-Provision will be
nice.

I have though about another solution: using the Directory Scanner and having
Pax-Provision building the directory, but this is not so nice because I will
Have to rebuild it after each change.

So having a bridge between PAX-Provision and Pax-Exam through the generated
deploy pom seem to be a good solution.

I will try to enter a Jira for that.

Tx for your great work, it save my life...

Stéphane


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Craig Walls
Gesendet: Friday, March 06, 2009 3:45 PM
An: General OPS4J
Betreff: Re: PAX Exam - POM Scanner


I'm not sure exactly what Stéphane is asking for, but I think I've been 
dreaming of the same kind of thing.

My biggest headache with Pax Exam right now is that I have a project 
that's made up of a dozen or more bundles, each with a different 
SNAPSHOT version (because they're still in-progress). Because of that I 
have to explicitly give the version number for each bundle when I setup 
the Pax Exam test. Then, when we release a bundle project, I'm now 
working on a new SNAPSHOT version and have to edit the test accordingly.

Now, I know I can leave the version off of the mavenBundle() spec and it 
will use the latest released version. But that's the catch-22 in this 
matter: I don't want to release unless I know my test passes. I want my 
test to run against whatever SNAPSHOT version I'm currently working on 
(as known in my bundle project's top-level pom.xml and its child 
projects (it's a Pax Construct project).

How can I get Pax Exam to consider a POM (perhaps a Pax Construct 
provisioning POM) to figure out what bundles to provision for the test. 
If I could get it to do that, it'd be awesome.


Toni Menzel wrote:
> Hi Stéphane,
>
> sure, that can be done.
> Can you elaborate a bit more what your "dream pom scanner" would look 
> like ?
> I mean, does a 1:1 support of Pax Runners POM scanner 
>
(http://wiki.ops4j.org/display/ops4j/5.4.10.+Pax+Runner+-+Scanner+-+Maven+2+
POM) 
> is sufficient ?
>
> For Exam, i would think of supporting indirect urls (using maven2's 
> groupsid/artefact identifiers) .. wdyt ?
> Feel free to create a jira item for that.
>
> cheers
>
> On Fri, Mar 6, 2009 at 3:20 PM, Stéphane Amaudruz 
> <[email protected] <mailto:[email protected]>> 
> wrote:
>
>     Is planned to support a POM Scanner for PAX-Exam?
>
>     This will be very handy.
>
>      
>
>     Tx, Stephane
>
>      
>
>      
>
>
>     _______________________________________________
>     general mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.ops4j.org/mailman/listinfo/general
>
>
>
>
> -- 
> Toni Menzel
> Software Developer
> [email protected] <mailto:[email protected]>
> http://www.ops4j.org     - New Energy for OSS Communities - Open 
> Participation Software.
> ------------------------------------------------------------------------
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>   


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to