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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 

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 <[EMAIL PROTECTED]> 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.: [EMAIL PROTECTED]

> 

> 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: [EMAIL PROTECTED]

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

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 

Reply via email to