5 Replies Latest reply on Dec 2, 2009 11:21 PM by rajika

    Mediation router trunk build failure.

    rajika

      hi,

      I am getting the following compilation failure when compiling the mediation router trunk. I checkout the source from : https://projects.open.iona.com/projects/svn/iona/mirrors/apache.org/camel/trunk and build using maven command mvn clean install.Any help in fixing the issue is highly appreciated. Thanks

       

      BUILD FAILURE

      -


      Compilation failure

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[158,31]

      createClient(org.apache.cxf.endpoint.Endpoint) in  cannot override createClient(org.apache.cxf.endpoint.Endpoint) in org.apache.cxf.frontend.ClientFactoryB

      ean; attempting to use incompatible return type

      found   : void

      required: org.apache.cxf.endpoint.Client

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[159,20]

      cannot find symbol

      symbol: method setClient(org.apache.camel.component.cxf.CxfEndpoint.CamelCxfClientImpl)

                          setClient(new CamelCxfClientImpl(getBus(), ep));

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[157,16]

      method does not override or implement a method from a supertype

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[165,31]

      createClient(org.apache.cxf.endpoint.Endpoint) in  cannot override createClient(org.apache.cxf.endpoint.Endpoint) in org.apache.cxf.frontend.ClientFactoryB

      ean; attempting to use incompatible return type

      found   : void

      required: org.apache.cxf.endpoint.Client

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[166,20]

      cannot find symbol

      symbol: method setClient(org.apache.camel.component.cxf.CxfEndpoint.CamelCxfClientImpl)

                          setClient(new CamelCxfClientImpl(getBus(), ep));

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\CxfEndpoint.java:[164,16]

      method does not override or implement a method from a supertype

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\util\NullDestinationFactor

      y.java:[34,58] cannot find symbol

      symbol  : variable DATABINDING_DISABLED

      location: class org.apache.cxf.binding.AbstractBindingFactory

       

      C:\Documents and Settings\Administrator\Desktop\projects\camel\components\camel-cxf\src\main\java\org\apache\camel\component\cxf\util\WSDLSoapServiceFactor

      yBean.java:[70,66] cannot find symbol

      symbol  : variable DATABINDING_DISABLED

      location: class org.apache.cxf.binding.AbstractBindingFactory

        • 1. Re: Mediation router trunk build failure.
          davsclaus
          • 2. Re: Mediation router trunk build failure.
            joe.luo

            Just built camel-cxf component off trunk and it was fine.

             

            Could you try to get source code from:

            http://fusesource.com/forge/svn/fuseeip/trunk/

            and try again?

             

            I am not sure if this old repo (https://projects.open.iona.com/projects/svn/iona/mirrors/apache.org/camel/trunk) is still maintained.

            • 3. Re: Mediation router trunk build failure.
              rajika

              hi,

              Thanks for the reply. I am now getting a build failure due to missing dependencies.

               

              BUILD ERROR

              -


              Failed to resolve artifact.

               

              Missing:

              -


              1) org.apache.activemq:activemq-core:jar:5.3.1.0M1-fuse

               

                Try downloading the file manually from the project website.

               

                Then, install it using the command:

                    mvn install:install-file -DgroupId=org.apache.activemq -DartifactId=activemq-core -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file

               

                Alternatively, if you host your own repository you can deploy the file there:

                    mvn deploy:deploy-file -DgroupId=org.apache.activemq -DartifactId=activemq-core -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file -Durl=[

              url] -DrepositoryId=[id]

               

                Path to dependency:

                      1) org.apache.camel:camel-jms:bundle:2.x-fuse-SNAPSHOT

                      2) org.apache.activemq:activemq-core:jar:5.3.1.0M1-fuse

               

              2) org.apache.activemq:activemq-camel:jar:5.3.1.0M1-fuse

               

                Try downloading the file manually from the project website.

               

                Then, install it using the command:

                    mvn install:install-file -DgroupId=org.apache.activemq -DartifactId=activemq-camel -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file

               

                Alternatively, if you host your own repository you can deploy the file there:

                    mvn deploy:deploy-file -DgroupId=org.apache.activemq -DartifactId=activemq-camel -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file -Durl=

              -DrepositoryId=[id]

               

                Path to dependency:

                      1) org.apache.camel:camel-jms:bundle:2.x-fuse-SNAPSHOT

                      2) org.apache.activemq:activemq-camel:jar:5.3.1.0M1-fuse

               

              3) org.apache.activemq:activemq-pool:jar:5.3.1.0M1-fuse

               

                Try downloading the file manually from the project website.

               

                Then, install it using the command:

                    mvn install:install-file -DgroupId=org.apache.activemq -DartifactId=activemq-pool -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file

               

                Alternatively, if you host your own repository you can deploy the file there:

                    mvn deploy:deploy-file -DgroupId=org.apache.activemq -DartifactId=activemq-pool -Dversion=5.3.1.0M1-fuse -Dpackaging=jar -Dfile=/path/to/file -Durl=[

              url] -DrepositoryId=[id]

               

                Path to dependency:

                      1) org.apache.camel:camel-jms:bundle:2.x-fuse-SNAPSHOT

                      2) org.apache.activemq:activemq-pool:jar:5.3.1.0M1-fuse

               

              -


              3 required artifacts are missing.

              • 4. Re: Mediation router trunk build failure.
                davsclaus

                You have to wait until mid december before we have public SNAPSHOTS that work together. At that time a new FUSE RC1 is expected for the products.

                 

                At present time FUSE we had a intermediate released for a selected number of customers. And that is why some artifacts are in a restricted repo.

                • 5. Re: Mediation router trunk build failure.
                  rajika

                  ok, Thanks for the reply. I'll try the camel trunk at apache.