Richard,
I wonder if you have seen Tycho [1]? This is one of the projects I work
on, so I am biased ;-) but I believe it should address your problem,
i.e. building eclipse rcp application with maven.
[1] http://docs.codehaus.org/display/M2ECLIPSE/Tycho+project+overview
--
Regards,
Igor
Richard van Nieuwenhoven wrote:
Hi,
i am having troubles activating a plexus ArtifactRepositoryLayout
component from a pom. I tried the notation:
<extensions>
<extension>
<groupId>xxx</groupId>
<artifactId>xxx</artifactId>
<version>xxx</version>
</extension>
</extensions>
but it didn't pick up the component.
The reason of doning this is that after bending maven builds to create
eclipse rcp applications for a long time, i want to try a different
approach. By creating a plexus "ArtifactRepositoryLayout" that
understands a eclipse installation, that works out pretty well!
We have a complete eclipse-rcp tgz/zip in the repository and extract it
on demand during the build. the Eclipse-ArtifactRepositoryLayout takes
up this directory structure and points the dependency:
<repositories>
<repository>
<id>eclipse-local</id>
<layout>eclipse</layout>
<url>file:/.../org.eclipse.rcp.target-eclipse.3.4.1.0/eclipse</url>
</repository>
</repositories>
....
<dependency>
<groupId>org.eclipse.rcp</groupId>
<artifactId>org.eclipse.swt</artifactId>
<version>3.4.1.0</version>
</dependency>
to "plugins/org.eclipse.swt_3.4.1.v3449c.jar" and generates a
(temporary) pom for this dependency from the manifest of the
eclipse-plugin.
So far so good.. my problem is that i have to copy the plexus component
with the Eclipse-ArtifactRepositoryLayout in to the maven2/lib directory
to activate it, is there any way to activate it from inside the pom?
Thanks for any help,
Richard van Nieuwenhoven
My prerequisites (and the solution satisfies them so far):
- use only eclipse plugins that are contained in the same stable version.
- We do not want to "pollute" the repository with all the versions from
eclipse plugins and features.
- We so not want to know the correct version of plugin
org.eclipse.xxxx.xxx. we just want the version bundled with eclipse
version "3.4.1" for example.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org