3 Replies Latest reply on Nov 20, 2013 7:46 AM by sgilda

    Maven Build Failure For JBoss AS 7 Hello world example

    Gert Van Tonder Newbie

      Im trying to follow this tutorial:

      https://docs.jboss.org/author/display/AS7/Helloworld+quickstart

       

      But getting build error when following the simple instructions to clean + build package:

      gert@gert-VirtualBox:~/workspace/jboss-eap-6.1.0.GA-quickstarts/helloworld$ mvn clean package

      [INFO] Scanning for projects...

      [ERROR] The build could not read 1 project -> [Help 1]

      [ERROR]  

      [ERROR]   The project org.jboss.as.quickstarts:jboss-as-helloworld:7.1.2-SNAPSHOT (/home/gert/workspace/jboss-eap-6.1.0.GA-quickstarts/helloworld/pom.xml) has 4 errors

      [ERROR]     Non-resolvable import POM: Failure to find org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 68, column 25 -> [Help 2]

       

      I haven't edited the pom.xml file at all - shouldn't this just work?

       

      I've googled it and came across this: Re: JBoss Developer Studio 5 : HTML5 example : Project build error: Non-resolvable import POM

       

      But I don't seem to have a settings file anywhere?

       

      Please, any help would be appreciated!

       

      gvanto