Hi Stuart,
What I wanted was to replace the maven-pde-plugin - as it does not
handle dependencies well - with the maven-bundle-plugin so I could build with
maven an eclipse plugin I´m developing.
<dependencies>
<dependency>
<groupId>com.fastsearch.kat</groupId>
<artifactId>kat-core</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.fastsearch.ccr.facalib</groupId>
<artifactId>facalib</artifactId>
<version>5.1.1.163</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.fastsearch.rext.*</Export-Package>
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
<Bundle-Activator>${pom.groupId}.annotator.AnnotatorPluginActivator</Bundle-Activator>
<Embed-Directory>lib</Embed-Directory>
<Embed-StripGroup>true</Embed-StripGroup>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch
Sent: sexta-feira, 19 de outubro de 2007 12:04
To: [email protected]
Subject: Re: build eclipse plugin using maven-bundle-plugin
On 19/10/2007, Bernardo Carneiro <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I´m trying to build and eclipse plugin using maven-bundle-plugin but I'm
> not able to compile my classes under src/main/java using it.
>
> Is there a way to do so with the maven-bundle-plugin?
Hi Bernado,
the maven-bundle-plugin doesn't compile classes - it analyzes classes
compiled by Maven to add OSGi metadata
could you provide more information about the problem you see (ie.
exceptions, output from 'mvn clean install -X')
and perhaps also post a sample of your POM... should be inline text, as the
mailing list removes any attachments
[]s,
>
> Bernardo
>
--
Cheers, Stuart
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]