5 Replies Latest reply on May 12, 2011 10:51 AM by scottymac

    Error building Simplesthelloworld w/ Maven & Eclipse

      I am a newbie and having trouble building the simplesthelloworld portlet example that came with the GateIn src.

       

      I am trying to compile in Eclipse in Windows.  I imported the project and moving down the tree to folder  'exo.portal.parent -> examples -> portlets -> simplesthelloworld'  When I right click on that folder and select 'Run as' -> Maven Build, I get the following error:

       

      [INFO] Scanning for projects...

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

      [ERROR]  

      [ERROR]   The project org.gatein.portal.examples.portlets:gatein-simplest-helloworld:3.1.0-GA (C:\gatein3.1-src\GateIn-3.1.0-GA\examples\portlets\simplesthelloworld\pom.xml) has 1 error

      [ERROR]     Non-resolvable parent POM for org.gatein.portal.examples.portlets:parent:3.1.0-GA: Could not find artifact org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ org.gatein.portal.examples.portlets:parent:3.1.0-GA, C:\gatein3.1-src\GateIn-3.1.0-GA\examples\portlets\pom.xml, line 5, column 12 -> [Help 2]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

       

      I tried a 'Maven clean' and same thing.  I also tried updating my settings.xml file from http://community.jboss.org/wiki/MavenSettingsExample-Developers, same thing. 

       

      Please help with any ideas?