On 15/04/2008, Peter Neubauer <[EMAIL PROTECTED]> wrote:
>
> Thanks Stuart,
> that seems to work! However, the approach taken there regarding
> integration with PDE is to use the original source folder and copy the
> deps into a local lib fodler etc.
>
> Wouldn't the PaxConstruct Eclipse project generating approach fit
> better here? Where is that part located? AFAIK you are generating a
> whole Eclipse plugin porject from the Maven project into the target/
> folder?


yes, you can use the customized eclipse goal from the pax mojo
to generate correct metadata for (almost) any bundle regardless
of how it embeds directories or jarfiles.

basically it unpacks additional bundle content to target/pax-eclipse
(ie. anything that isn't found in target/classes) and then refactors the
bundle classpath accordingly to use the "target/pax-eclipse" prefix
and stores this in the Eclipse/PDE manifest found at the top-level.

you can use the mojo in any OSGi project... (not just Pax-Construct)

   mvn org.ops4j:maven-pax-plugin:1.1:eclipse

HTH

/peter
>
>
> On Tue, Apr 15, 2008 at 4:17 AM, Stuart McCulloch
> <[EMAIL PROTECTED]> wrote:
> > On 15/04/2008, Peter Neubauer <[EMAIL PROTECTED]> wrote:
> >
> > > Hi there,
> > > I am struggling with the build of a Eclipse plugin against some of the
> > > latest Eclipse bundles. However, it would be great to be able to use a
> > > flat file dir as a Maven repo, much as for PaxRunner. Has anyone tried
> > > that, and is that possible? It woudl certainly save a lot of headaches
> > > as one could just check in the Eclipse dir as a repo and both build
> > > and run against it.
> >
> > check out Carlos' slides on integrating Maven and Eclipse:
> >
> >    http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
> >
> > you'll need to use Maven 2.0.9 with dependencyManagement
> > to avoid some version range issues (slight difference between
> >  Maven and Eclipse in that 1.0.0-blah is before 1.0.0 in Maven)
> > and use the 'to-maven' goal from the 2.5.1 maven-eclipse-plugin
> > to copy your Eclipse installation into the local repo.
> >
> > HTH  (more detail + examples in Carlos' slides)
> >
> > >
> > > Cheers,
> > >
> > > /peter
> > >
> > > --
> > > GTalk: neubauer.peter
> > > Skype peter.neubauer
> > > ICQ 18762544
> > > GTalk neubauer.peter
> > > Phone +46704 106975
> > > LinkedIn http://www.linkedin.com/in/neubauer
> > >
> > > http://www.neo4j.org - New Energy for Data - the Netbase.
> > > http://www.ops4j.org - New Energy for OSS Communities - Open
> > > Participation Software.
> > > http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> > >
> > > _______________________________________________
> > > general mailing list
> > > [email protected]
> > > http://lists.ops4j.org/mailman/listinfo/general
> > >
> >
> >
> >
> > --
> > Cheers, Stuart
> > _______________________________________________
> >  general mailing list
> >  [email protected]
> >  http://lists.ops4j.org/mailman/listinfo/general
> >
> >
>
>
>
> --
> GTalk: neubauer.peter
> Skype peter.neubauer
> ICQ 18762544
> GTalk neubauer.peter
> Phone +46704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
>
> http://www.neo4j.org - New Energy for Data - the Netbase.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



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

Reply via email to