You may use the 2.3-SNAPSHOT version of the eclipse plugin to have it to work.

Cheers,

Stéphane.


Minto van der Sluis a écrit :
Hi all,

I try to use the maven eclipse plugin for WTP 1.5. But it tells me it does
not know WTP 1.5. What am I doing wrong?

My pom looks like this:

  <properties>
    <ejbversion>2.0</ejbversion>
    <java13_home>/opt/java/ibm-jdk-131/</java13_home>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0</version>
        <configuration>
          <fork>true</fork>
          <compilerVersion>1.3</compilerVersion>
          <executable>${java13_home}/bin/javac</executable>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <wtpversion>1.5</wtpversion>
        </configuration>
      </plugin>
    </plugins>
  </build>

Here is the message I get:

[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unsupported WTP version: 1.5. This plugin currently supports only the
following versions: 1.0 R7 none.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch

Any clues? Am I missing dependancies? Even removing the eclipse version from
the pom does not help.

Kind regards,

Minto van der Sluis


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

Reply via email to