1 Reply Latest reply on Dec 15, 2010 7:09 AM by ysbbibo

    How can I create a package for JBoss?

    ysbbibo

      Hi,

       

      I try to install GateIn on a JBoss 4.2. I downloaded the source code and made a mvn install -Ppkg-jbossas, but I get the following error:

       

      [INFO] Scanning for projects...
       
      Downloading: http://repo1.maven.org/maven2/org/exoplatform/portal/exo.portal.parent/3.1.0-GA/exo.portal.parent-3.1.0-GA.pom
       
      [ERROR] The build could not read 6 projects -> [Help 1]
       
      [ERROR]
       
      [ERROR]   The project org.exoplatform.portal:exo.portal.sample.extension.root:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\extension\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: 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 @ line 24, column 11 -> [Help 2]
       
      [ERROR]
       
      [ERROR]   The project org.exoplatform.portal:exo.portal.sample.portal.root:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\portal\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
       
      tivePath' points at wrong local POM @ line 24, column 11 -> [Help 2]
       
      [ERROR]
       
      [ERROR]   The project org.gatein.portal.examples.portlets:parent:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\portlets\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
       
      tivePath' points at wrong local POM @ line 5, column 12 -> [Help 2]
       
      [ERROR]
       
      [ERROR]   The project org.gatein.portal.examples.skins:parent:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\skins\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
       
      tivePath' points at wrong local POM @ line 5, column 12 -> [Help 2]
       
      [ERROR]
       
      [ERROR]   The project org.exoplatform.portal:exo.portal.starter.war:3.1.0-GA (D:\GateIn-3.1.0-GA\starter\war\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
       
      tivePath' points at wrong local POM @ line 23, column 11 -> [Help 2]
       
      [ERROR]
       
      [ERROR]   The project org.exoplatform.portal:starter-gatein:3.1.0-GA (D:\GateIn-3.1.0-GA\starter\ear\pom.xml) has 1 error
       
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
       
      tivePath' points at wrong local POM @ line 23, column 11 -> [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/UnresolvableModelExceptionD:\GateIn-3.1.0-GA>mvn install -Ppkg-jbossas
      [INFO] Scanning for projects...
      Downloading: http://repo1.maven.org/maven2/org/exoplatform/portal/exo.portal.parent/3.1.0-GA/exo.portal.parent-3.1.0-GA.pom
      [ERROR] The build could not read 6 projects -> [Help 1]
      [ERROR]
      [ERROR]   The project org.exoplatform.portal:exo.portal.sample.extension.root:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\extension\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: 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 @ line 24, column 11 -> [Help 2]
      [ERROR]
      [ERROR]   The project org.exoplatform.portal:exo.portal.sample.portal.root:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\portal\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
      tivePath' points at wrong local POM @ line 24, column 11 -> [Help 2]
      [ERROR]
      [ERROR]   The project org.gatein.portal.examples.portlets:parent:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\portlets\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
      tivePath' points at wrong local POM @ line 5, column 12 -> [Help 2]
      [ERROR]
      [ERROR]   The project org.gatein.portal.examples.skins:parent:3.1.0-GA (D:\GateIn-3.1.0-GA\examples\skins\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
      tivePath' points at wrong local POM @ line 5, column 12 -> [Help 2]
      [ERROR]
      [ERROR]   The project org.exoplatform.portal:exo.portal.starter.war:3.1.0-GA (D:\GateIn-3.1.0-GA\starter\war\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
      tivePath' points at wrong local POM @ line 23, column 11 -> [Help 2]
      [ERROR]
      [ERROR]   The project org.exoplatform.portal:starter-gatein:3.1.0-GA (D:\GateIn-3.1.0-GA\starter\ear\pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Failure to find org.exoplatform.portal:exo.portal.parent:pom:3.1.0-GA in http://repo1.maven.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 and 'parent.rela
      tivePath' points at wrong local POM @ line 23, column 11 -> [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 don't know if it is the correct way to launch the GateIn with my configuration of JBoss.

       

      Could some one help me, please?

       

      Thank you.