Thanks, now it works. Stupid me forgot all about the separate plugin repositories. :-)
regards, Minto Stéphane Bouchet-3 wrote: > > the eclipse plugin snapshot is hosted on apache. add these to your > settings : > > <repositories> > <repository> > <id>apache.snapshots</id> > <url>http://people.apache.org/maven-snapshot-repository/</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>apache.snapshots</id> > <url>http://people.apache.org/maven-snapshot-repository/</url> > </pluginRepository> > </pluginRepositories> > > > Cheers, > > Stéphane. > > > > Minto van der Sluis a écrit : >> Hi, >> >> Thanks for the answers. I not have the following in my pom: >> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-eclipse-plugin</artifactId> >> <version>2.3-SNAPSHOT</version> >> <configuration> >> <wtpversion>1.5</wtpversion> >> </configuration> >> </plugin> >> >> But it seems like maven is not able to find it in any of the following >> repositories: >> >> <repositories> >> <repository> >> <snapshots> >> <enabled>true</enabled> >> <updatePolicy>daily</updatePolicy> >> </snapshots> >> <id>maven2-snapshot-apache</id> >> <name>maven2-snapshot-apache</name> >> <url>http://people.apache.org/maven-snapshot-repository</url> >> </repository> >> <repository> >> <snapshots> >> <enabled>true</enabled> >> <updatePolicy>daily</updatePolicy> >> </snapshots> >> <id>maven2-snapshot-codehaus</id> >> <name>maven2-snapshot-codehaus</name> >> <url>http://snapshots.maven.codehaus.org/maven2</url> >> </repository> >> </repositories> >> >> I even tried building it from trunk, but then I get complaints about >> other >> plugins (maven-plugin-test-harness) it is not able to find. >> >> Can anyone tell me where I can find a precompiled snapshot? Or maybe I >> have >> done something wrong. >> >> Regards, >> >> Minto >> >> >> >> Stéphane Bouchet-3 wrote: >> >>> 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] >>> >>> >>> >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Unsupported-WTP-version%3A-1.5-tf2620918s177.html#a7322100 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
