1 Reply Latest reply on May 27, 2011 6:27 AM by mstruk

    Packaging 3.2.0-Beta01-SNAPSHOT for Jboss 5.1

    minimike

      Hi there,

       

      Are they some known issues for packaging the 3.2.0-Beta01-SNAPSHOT with an existing Jboss 5.1? I'm using maven 3. I would like look how good is the exo WCMS integrated or not. And Jboss 6 is a NoGo here :/

       

      mvn -Ppkg-jbossas5 -Dexo.projects.directory.dependencies=/home/darko/JAVA/Project_Gatein/Appserver/jboss-5.1.0.GA -s ../../MAVEN/settings.xml install

       

      [INFO] GateIn Portal Packaging ........................... SUCCESS [0.880s]

      [INFO] GateIn JBoss AS 5.x.x packaging ................... SUCCESS [0.433s]

      [INFO] GateIn for JBoss AS 5.x.x packaging ............... FAILURE [3.138s]

      [INFO] TestSuite for GateIn .............................. SKIPPED

      [INFO] Selenium Sniff Test for GateIn .................... SKIPPED

      [INFO] GateIn Portal Examples - WebUI based samples ...... SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 15:39.686s

      [INFO] Finished at: Fri May 27 07:14:23 CEST 2011

      [INFO] Final Memory: 102M/497M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0-beta-1:enforce (check-jboss-dir-exists) on project exo.portal.packaging.jboss5.pkg: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

      [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/MojoExecutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :exo.portal.packaging.jboss5.pkg

      mvn -Ppkg-jbossas5  -s ../../MAVEN/settings.xml install  591,53s user 185,17s system 81% cpu 15:58,86 total

      1 darko@bitch ~/JAVA/Project_Gatein/BUILD/gatein (svn)-[trunk:6570] % mvn -Ppkg-jbossas5 -Dexo.projects.directory.dependencies=/home/darko/JAVA/Project_Gatein/Appserver/jboss-5.1.0.GA -s ../../MAVEN/settings.xml install

        • 1. Re: Packaging 3.2.0-Beta01-SNAPSHOT for Jboss 5.1
          mstruk

          Check higher up in console output to see a more exact error message.

           

          But it's already clear that enforcer failed on rule: check-jboss-dir-exists.

           

          If you open packaging/jboss-as5/pkg/pom.xml in search for this rule you'll see that the problem is with your dependencies param:

           

          -Dexo.projects.directory.dependencies=/home/darko/JAVA/Project_Gatein/Appserver/jboss-5.1.0.GA

           

          You should change it to:

           

          -Dexo.projects.directory.dependencies=/home/darko/JAVA/Project_Gatein/Appserver