I have been looking for a while for this solution.

Has anyone been able to run this tutorial to complete?

http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html

I have looked through many emails just to get the project to build in maven
with Eclipse 3.3.2 as target.

Now I am at a point where it builds with 0 errors. I had to change the
pom.xml packaging setting from ZIP to  JAR.

So I tried to run it from the dos with:  *java -jar
simple_application-1.0-SNAPSHOT.jar
*
I get nothing. No errors, no failure,......... nothing!

Here is my pom.xml;
<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>test.pde_maven_plugin</groupId>
  <artifactId>simple_application</artifactId>
  <packaging>jar</packaging>
  <name>Simple Plugin PDE Example</name>
  <version>1.0-SNAPSHOT</version>
  <description>A Simple Plugin PDE Example</description>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>pde-maven-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <eclipseInstall>C:\Program
Files\JavaWorkEnv\eclipse</eclipseInstall>
          <pdeProductFilename>simple_product.product</pdeProductFilename>
          <pdeBuildVersion>3.3.2.v20071019</pdeBuildVersion>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>


Any leads to get this to run from dos as jar or how to get the zip packaging
setting to build?

Here is the error if I have zip as packaging setting.

>mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Simple Plugin PDE Example
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [pde:ext]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] C:\Program Files\JavaWorkEnv\eclipse\startup.jar not found.  Have you
set up your -DeclipseInstall?
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Apr 21 12:12:30 CDT 2008
[INFO] Final Memory: 3M/8M
[INFO]
------------------------------------------------------------------------

Thanks

Reply via email to