I hope top posting is OK...

Sorry, I was a little asleep. 
Ad 2) The directory generated is not a structure, but a name:
"com.example.project.artifact"


JeroenL wrote:
> 
> Hi,
> 
> I'm new to this list, new to maven and new to eclipse plugins (rookie++).
> In my assignment I'm integrating a plugin into an eclipse richt client. 
> There are two problems:
> 1. The maven pde plugin creates a zip file instead of a jar for the
> eclipse plugin.I have a jar file in my target directory which is built
> from sources only, and does not contain the required manifest and
> plugin.xml. (unanswered in other thread on this list)
> 2. The directory structure is wrong. Instead of using . as offset, now I
> have a zip containing a directory structure com/example/project/item/ and
> all items in the zip are preceded with this directory structure.
> 
> I'm using the alpha-2 pde plugin
> 
> My POM is as follows
>                       <plugin>
>                               <groupId>org.codehaus.mojo</groupId>
>                               <artifactId>pde-maven-plugin</artifactId>
>                               <version>1.0-alpha-2-SNAPSHOT</version>
>                               <extensions>true</extensions>
>                       <configuration>
>                       
> <eclipseInstall>L:\eclipseEuropa\eclipseEuropa_3.3.1\eclipse</eclipseInstall>
>                               
> <pdeBuildVersion>3.3.2.R331_v20071019</pdeBuildVersion>
>                                       <buildProperties>
>                                               <packaging>jar</packaging>
>                                               <javacSource>1.6</javacSource>
>                                               <javacTarget>1.6</javacTarget>
>                                       </buildProperties>
>                               </configuration>
>                               <executions>
>                                       <!-- Also bind to mvn clean -->
>                                       <execution>
>                                               <id>clean-pde</id>
>                                               <phase>clean</phase>
>                                               <goals>
>                                                       <goal>clean</goal>
>                                               </goals>
>                                       </execution>
>                                       <execution>
>                                               <id>build-pde</id>
>                                               <phase>compile</phase>
>                                               <goals>
>                                                       <goal>attach</goal>
>                                               </goals>
>                                       </execution>
>                               </executions>
>                       </plugin>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/pde-plugin-creates-wrong-directory-structure-in-archive-tp16023632s177p16023636.html
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