Hi Jim,
Actually putting the eclipse-pde-plugin-jar in my repo is also one of my
goals.  The recommendation I offered using the assembly-mode was based
on a 'dirty' environment and once I figured out what was going on, this
will not work as expected. 

What I have gone forward with is using a combination of marking
<resources> in the build-section of the pom.xml, utilizing
maven-dependency-plugin to download libs, an ant-call to do a 'pde-prep'
ANT target, and the maven-jar-plugin configuration to include the
MANIFEST.  So far, this combination seems to be o.k. but I feel it is
shaky.

This approach I'm actually using the 'mvn deploy' task to put the
pde-plugin into the repo (using the ${artifactId}-${version}.jar
approach, note the dash instead of underscore).  I have not solved the
two-places-to-keep-your-version-numbers-in-sync problem however
(plugin.xml and pom.xml).

-D


> -----Original Message-----
> From: Jim Babka [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 11, 2006 12:34 PM
> To: Maven Users List
> Subject: RE: [m2] Maven2 building Eclipse plugins, features, 
> and update sites
> 
> Looks interesting, but I think that this is causing the main 
> plugin JAR to be replaced in the repository by the assembly.  
> I can't do that - I must have the main plugin JAR in the 
> repository because other projects have a compile-time 
> dependency upon the code there.
> 
> Jim Babka
> Senior Software Engineer
> Main: (512) 334 3200
> Direct: (512) 334 3237
> Email: [EMAIL PROTECTED]
>  
> Webify Solutions
> Enabling the On Demand Enterprise(tm)
> www.webifysolutions.com
> 
> -----Original Message-----
> From: Darren Hartford [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 11, 2006 9:05 AM
> To: Maven Users List
> Subject: RE: [m2] Maven2 building Eclipse plugins, features, 
> and update sites
> 
> I have tried the ANT-tasks that eclipse provides, and at 
> least for plugin-packaging they seem over-complicated.  I 
> have had success (just recently based on the mini-guide for 
> assembly) in packaging the update-jar for an eclipse plugin 
> as follows:
> 

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

Reply via email to