2 Replies Latest reply on Aug 6, 2009 12:00 PM by William Woodman

    problem with jboss tools m2plugin  and maven warnings about

    William Woodman Master

      downloaded the jboss tools M2 build ontop of gallileo

      ran into problems with maven dependencies and so went off and got some of those to

      currently my jboss tools for maven says 1.0.0.M2-N200907092133-H355

      and my maven for wtp download is build

      This kinda starts okay but I get warnings from the maven build checker that my eclipse is not running an JDK build.

      However - i actually do.

      1. I have edited eclipse /preferencves so that i only have jdk running (i deleted the default entry it loaded for me and built the new association)

      2. in my eclipse .ini i have included the following

      -- vm detail
       C:\Program Files\Java\jdk1.6.0_14\bin\javaw

      3. I have also edited my launucher icon to read as
      C:\eclipse\eclipse\eclipse.exe -vmargs -Xms128m -Xmx512m -vm C:\Program Files\Java\jdk1.6.0_14\bin\javaw -clean

      4. and as my {user dir} .m2 dir didnt have a settings.xml i created one of these as follows

      <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
       <name>Windows XP</name>

      not sure what the maven version should be - included 2.0.3. from an example i saw on google - not sure what version the embedded version is

      This latter got rid of a bunch of errors about a missing settings.xml file -

      however i still get

      27/07/09 17:02:34 BST: Eclipse is running in a JRE, but a JDK is required
      Some Maven plugins may not work when importing projects or updating source folders.

      in my output console - so my question is how do i tell maven that i really want to work with the JDK - cant see why its failing the maven validator test .