Good day to you, Markus,

for 1.) maven resources plugin can do that (see [1]). 

And as for two, You can try what Wayne suggested. But those jars have to be
installed in your local repo. Either that, or you use <systemPath>

<dependency>
  <groupId>some.eclipse.groupId</groupId> 
  <artifactId>an-eclipse-jar</artifactId> 
  <version>1.0</version> 
  <scope>system</scope> 
  <systemPath>${eclipse.home}/plugins/an-eclipse-jar.jar</systemPath> 
</dependency>

Cheers,
Franz

[1]
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html

Markus Wolf-3 wrote:
> 
> Hi,
> 
>> You can always add dependencies directly to the plugin node, but this
>> assumes that you have the artifacts available in your repo.
>> 
> thats no opinion, because there are no artifacts available (but I could
> possibly create some...)
> 
>> You're going to need to provide more information about these external
>> jars, I think, for us to help you much.
>> 
> I'm creating a bunch of eclipse plugins for a rcp application packaged
> in an ear application for glassfish. When keeping this parts (client and
> server) seperated it is quite easy. Build eclipse parts with eclipse and
> the ear with maven, but I woule like to create everything with maven.
> 
> My idea was to add the eclipse install directory to a custom mojo which
> consists of two goals:
>   1) In phase process-resources the plugin.xml, MANIFEST.MF and other
> plugin resources would be copied to the target location.
>   2) During the compile phase the jars from <eclipse-root>/plugins would
> be added to the compiler. (It could be extended to only add the plugins
> required by the plugin).
> 
> When adding the eclipse dependencies to the POM (statically) and then
> recreating the eclipse project, the dependencies are duplicated. Once in
> plugins-dependencies (managed by ecipse throught the manifest) and once
> because maven adds them to the eclipse dependencies.
> 
> Is there a way to accomplish what I want to do?
> Thanks
> Markus
> -- 
> __________________________________
> 
>       Markus Wolf
>       Wedeler Landstrasse 63
>       22559 Hamburg
> 
>  tel: (+49) 40 / 550 083 70
>  mob: (+49) 177 / 288 48 67
>  web: http://www.matrixweb.de
>  icq: #109622365
>  pgp: http://wwwkeys.de.pgp.net
> __________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Compiler-Plugin-Extension-tf2682273s177.html#a7517180
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