3 Replies Latest reply on Feb 24, 2011 10:37 AM by Prathamesh Gaddam

    JBoss Tools: Seam: build/clean error

    Prathamesh Gaddam Novice

      Hi All,

       

      Made a checkout of modules in JBoss Tools from trunk. The modules are seam, build, hibernate along with the complete folder structure and pom.xml, bootstrap-pom.xml & build.xml.

       

      However towards maven clean from eclipse for seam module following exceptions are thrown:

       

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

      [ERROR]  

      [ERROR]   The project org.jboss.tools.seam.features:org.jboss.tools.seam.feature:3.2.0-SNAPSHOT (D:\PRATHAMESH\ENVIRONMENT\WORKSPACES\source-jbosstools\trunk\seam\features\org.jboss.tools.seam.feature\pom.xml) has 1 error

      [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools:org.jboss.tools.parent.pom:pom:0.0.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]

      .

      .

       

      Note: The screenhot of my project setup is atatched with this discussion.

       

      Please let me know how can I build the mavenized JBoss Tools: Seam. Any related stuff will be helpful.

       

      Thank you in advance.

        • 1. JBoss Tools: Seam: build/clean error
          Alexey Kazakov Master

          Hi,

          The simplest way to build Seam Tools via maven is to do the following steps:

          1) cd <trunk_folder>

          2) mvn clean install -f build/parent/pom.xml -P helios-no-target

          3) mvn clean install -f build/pom.xml -Dmaven.test.skip -P helios-no-target,seam-bootstrap

           

          Make sure you are using Maven 3 !

          1 of 1 people found this helpful
          • 2. Re: JBoss Tools: Seam: build/clean error
            Prathamesh Gaddam Novice

            Thank you Alexey Kazakov, for the reply on priority!

             

            Is ther any developer documentation towards development of JBoss Tools?

            • 3. Re: JBoss Tools: Seam: build/clean error
              Prathamesh Gaddam Novice

              Hi Alexey,

               

              Towards execution of Step 3 the exceptions are thrown as:

               

              [ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.10.0:compile (default-compile) on project

              org.jboss.tools.ui.bot.ext: Compilation failure: Compilation failure:

               

              [ERROR] D:\PRATHAMESH\ENVIRONMENT\WORKSPACES\source-jbosstools\trunk\tests\plugins\org.jboss.tools.ui.bot.ext\src\org\jb

              oss\tools\ui\bot\ext\SWTBotExt.java (at line 132):[-1,-1]

               

              [ERROR] public SWTBotScaleExt scale() {

              [ERROR] ^^^^^^^^^^^^^^

               

              [ERROR] The return type is incompatible with SWTBot.scale()

              [ERROR]

              [ERROR] D:\PRATHAMESH\ENVIRONMENT\WORKSPACES\source-jbosstools\trunk\tests\plugins\org.jboss.tools.ui.bot.ext\src\org\jb

              oss\tools\ui\bot\ext\SWTBotExt.java (at line 136):[-1,-1]

               

              [ERROR] public SWTBotScaleExt scale(int index) {

              [ERROR] ^^^^^^^^^^^^^^

              [ERROR] The return type is incompatible with SWTBot.scale(int)

               

              No clue what is this and how to tackle it. Kindly assist.