you will need to get maven-dependency-plugin to copy your dependent jars
into the place where your eclipse PDE expected.

-D



On 2/21/07, gciuloaica <[EMAIL PROTECTED]> wrote:


Hi,

I'm trying to wrap a jar in a plug-in. The jar is build using maven and
deployed in local repository.
In the pom.xml file of the Eclipse plug-in I'm setting a dependency to
that
artifact.
I'm getting an error while maven is trying to build the plug-in in pde
build.xml file complaining about the interface that the plug-in is
exporting. I'm not sure how to link the the plug-in with the jar file. I
have added the name of the jar file into build.properties file that the
eclipse plug-in has generted. How do I link information in
build.properties?

Below is the pom.xml content:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
<modelVersion>4.0.0</modelVersion>
<groupId>com.agileway.scrumplanner</groupId>
<artifactId>ScrumPlannerCoreApiPlugIn</artifactId>
<packaging>zip</packaging>
<name>ScrumPlannerCoreApiPlugIn</name>
<version>0.0.1</version>
<description>
   Eclipse plug-in wrapping ScrumPlannerCoreApi module.
</description>
<dependencies>
   <dependency>
     <groupId>com.agileway.scrumplanner</groupId>
     <artifactId>ScrumPlannerCoreAPI</artifactId>
     <version>0.0.1</version>
     <scope>runtime</scope>
   </dependency>
   <dependency>
     <groupId>log4j</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.14</version>
   </dependency>
</dependencies>
<build>
   <plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>pde-maven-plugin</artifactId>
       <extensions>true</extensions>

       <configuration>

         <eclipseInstall>c:\eclipse</eclipseInstall>
       </configuration>
     </plugin>
   </plugins>
</build>
</project>
--
View this message in context:
http://www.nabble.com/pde-maven-plugin-usage-tf3267943s177.html#a9084685
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to