You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marouane Amraoui <Ma...@omnidata.co.ma> on 2007/04/20 20:08:10 UTC
Solution : RE: adding classpathentry with maven-eclipse-plugin
The solution is here :
<build>
[....]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalProjectnatures>
<projectnature>org.maven.ide.eclipse.maven2Nature</projectnature>
</additionalProjectnatures>
<additionalBuildcommands>
<buildcommand>org.maven.ide.eclipse.maven2Builder</buildcommand>
</additionalBuildcommands>
<classpathContainers>
<container>org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER</container>
</classpathContainers>
</configuration>
</plugin>
</plugins>
</build>
thx
-----Message d'origine-----
De : Marouane Amraoui [mailto:Mamraoui@omnidata.co.ma]
Envoyé : vendredi 20 avril 2007 17:44
À : Maven Users List
Objet : RE: adding classpathentry with maven-eclipse-plugin
How can i send JIRA Enhancement Request?
-----Message d'origine-----
De : Wayne Fay [mailto:waynefay@gmail.com]
Envoyé : vendredi 20 avril 2007 17:30
À : Maven Users List
Objet : Re: adding classpathentry with maven-eclipse-plugin
I don't know, but if not, it sounds like a reasonable enhancement, so
if you discover this feature is not currently available, I would
suggest that you file a JIRA Enhancement Request against the plugin.
Wayne
On 4/20/07, Marouane Amraoui <Ma...@omnidata.co.ma> wrote:
> Hi
>
>
>
> Using eclipse maven plugin : maven-eclipse-plugin
>
>
>
> It is possible to indicate to this plugin to add a classpath kind container ?
>
>
>
> By default this plugin can add all dependencies declared in the pom file as
>
> <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.2/antlr-2.7.2.jar"
>
>
>
> So the kind is var. what I want is to add a container like this :
>
>
>
> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>
>
>
>
>
> It is possible with this maven plugin ?
>
>
>
> ---------------------------------------------------------------
>
> Merouane AMRAOUI
> Consultant Expert
> Division Développement
> Email.: mamraoui@omnidata.co.ma
>
> Gsm .: 065 19 60 99
> Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70
> OMNIDATA , 74 Bv AbdelMoumen
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org