1 2 Previous Next 19 Replies Latest reply on Oct 28, 2010 1:00 AM by Iván Pazmiño

    Problem building arquillian

    Hernán Moreno Murillo Newbie

      Hi all,

      I'm new with arquillian, now I'm having problems to start with it. What I did up to now is:

       

      - Downloaded arquillian from: http://github.com/arquillian/arquillian

      - Checked my maven and java versions:

          - maven 2.2.0

          - java 1.6

      - Once I have the sources I did:

        mvn install, but........

       

      Courage:arquillian hmo$ mvn install
      [INFO] Scanning for projects...
      Downloading: http://repo1.maven.org/maven2/org/jboss/ejb3/bom/bom-as6/0.2.0-alpha-10/bom-as6-0.2.0-alpha-10.pom
      [INFO] Unable to find resource 'org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10' in repository central (http://repo1.maven.org/maven2)
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).

       


      Project ID: org.jboss.ejb3.bom:bom-as6

       

      Reason: POM 'org.jboss.ejb3.bom:bom-as6' not found in repository: Unable to download the artifact from any repository

       

        org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10

       

      from the specified remote repositories:
        central (http://repo1.maven.org/maven2)

       

      for project org.jboss.ejb3.bom:bom-as6

       


      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.reactor.MavenExecutionException: POM 'org.jboss.ejb3.bom:bom-as6' not found in repository: Unable to download the artifact from any repository

       

        org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10

       

      from the specified remote repositories:
        central (http://repo1.maven.org/maven2)

       

      for project org.jboss.ejb3.bom:bom-as6
          at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
          at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
          at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
          at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
          at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss.ejb3.bom:bom-as6' not found in repository: Unable to download the artifact from any repository

       

        org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10

       

      from the specified remote repositories:
        central (http://repo1.maven.org/maven2)

       

      for project org.jboss.ejb3.bom:bom-as6
          at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
          at org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
          at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
          at org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
          at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
          at org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
          at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
          at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
          at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
          at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
          at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419)
          ... 12 more
      Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

       

        org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10

       

      from the specified remote repositories:
        central (http://repo1.maven.org/maven2)

       


          at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
          at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
          at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
          ... 31 more
      Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
          at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
          at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
          ... 33 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 second
      [INFO] Finished at: Fri Sep 03 07:04:02 ECT 2010
      [INFO] Final Memory: 7M/81M
      [INFO] ------------------------------------------------------------------------

       

       

       

       

      So What's wrong?, Any help ?

        • 1. Re: Problem building arquillian
          Aslak Knutsen Master

          Not sure which version your trying to build, but the current master should enforce Maven > 3.0-beta1.

           

          The exception your seeing is a bug in Maven 2 related to sub modules using import scope

          • 2. Re: Problem building arquillian
            Hernán Moreno Murillo Newbie

            Thanks for your fast reply.  Now I've tested with maven 3 beta 3, some parts were ok, but:

             

            Downloaded: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.3/xmlsec-1.4.3.jar (438 KB at 37.1 KB/sec)
            Downloaded: http://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15/1.43/bcprov-jdk15-1.43.jar (1595 KB at 77.1 KB/sec)
            [INFO]
            [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-plugin-versions) @ arquillian-jbossas-embedded-6 ---
            [WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.
            [INFO]
            [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ arquillian-jbossas-embedded-6 ---
            [INFO]
            [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ arquillian-jbossas-embedded-6 ---
            [INFO]
            [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-environment) @ arquillian-jbossas-embedded-6 ---
            [INFO]
            [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ arquillian-jbossas-embedded-6 ---
            [INFO] Using 'UTF-8' encoding to copy filtered resources.
            [INFO] Copying 3 resources
            [INFO]
            [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ arquillian-jbossas-embedded-6 ---
            [INFO] Compiling 3 source files to /Users/hmo/arquillian/containers/jbossas-embedded-6/target/classes
            [INFO]
            [INFO] --- maven-resources-plugin:2.4.1:testResources (default-testResources) @ arquillian-jbossas-embedded-6 ---
            [INFO] Using 'UTF-8' encoding to copy filtered resources.
            [INFO] skip non existing resourceDirectory /Users/hmo/arquillian/containers/jbossas-embedded-6/src/test/resources
            [INFO]
            [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ arquillian-jbossas-embedded-6 ---
            [INFO] Compiling 2 source files to /Users/hmo/arquillian/containers/jbossas-embedded-6/target/test-classes
            [INFO]
            [INFO] --- maven-dependency-plugin:2.1:unpack (unpack) @ arquillian-jbossas-embedded-6 ---
            [INFO] Configured Artifact: org.jboss.jbossas:jboss-as-distribution:6.0.0.20100721-M4:zip
            [INFO] Unpacking /Users/hmo/.m2/repository/org/jboss/jbossas/jboss-as-distribution/6.0.0.20100721-M4/jboss-as-distribution-6.0.0.20100721-M4.zip to
              /Users/hmo/arquillian/containers/jbossas-embedded-6/target
               with includes null and excludes:null
            [INFO]
            [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ arquillian-jbossas-embedded-6 ---
            [INFO] Surefire report directory: /Users/hmo/arquillian/containers/jbossas-embedded-6/target/surefire-reports

             

            -------------------------------------------------------
            T E S T S
            -------------------------------------------------------
            Running org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedIntegrationTestCase
            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.831 sec <<< FAILURE!

             

            Results :

             

            Tests in error:
              initializationError(org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedIntegrationTestCase)

             

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

             

            [INFO] ------------------------------------------------------------------------
            [INFO] Reactor Summary:
            [INFO]
            [INFO] Arquillian Build .................................. SUCCESS [0.931s]
            [INFO] Arquillian API .................................... SUCCESS [34.688s]
            [INFO] Arquillian SPI .................................... SUCCESS [15.430s]
            [INFO] Arquillian Implementation Base .................... SUCCESS [35.908s]
            [INFO] Arquillian TestRunner JUnit ....................... SUCCESS [3.051s]
            [INFO] Arquillian TestRunner TestNG ...................... SUCCESS [7.693s]
            [INFO] Arquillian TestEnricher CDI ....................... SUCCESS [27.852s]
            [INFO] Arquillian TestEnricher EJB ....................... SUCCESS [3.324s]
            [INFO] Arquillian TestEnricher OSGi ...................... SUCCESS [1.995s]
            [INFO] Arquillian TestEnricher Resource .................. SUCCESS [2.995s]
            [INFO] Arquillian Aggregator ............................. SUCCESS [0.013s]
            [INFO] Arquillian TestEnricher Aggregator ................ SUCCESS [0.011s]
            [INFO] Arquillian Protocol Servlet 2.5 ................... SUCCESS [35.324s]
            [INFO] Arquillian Protocol Servlet 3.x ................... SUCCESS [2.840s]
            [INFO] Arquillian Protocol Local ......................... SUCCESS [0.901s]
            [INFO] Arquillian Protocol JMX ........................... SUCCESS [3.005s]
            [INFO] Arquillian Protocol JMX OSGi ...................... SUCCESS [40.322s]
            [INFO] Arquillian Protocol JMX OSGi Bundle ............... SUCCESS [2.291s]
            [INFO] Arquillian Protocol Aggregator .................... SUCCESS [0.011s]
            [INFO] Arquillian Container JBoss AS Remote 5.x .......... SUCCESS [15:30.738s]
            [INFO] Arquillian Container JBoss AS Remote 5.1.x ........ SUCCESS [7:17.084s]
            [INFO] Arquillian Container JBoss AS Remote 6.x .......... SUCCESS [18:50.334s]
            [INFO] Arquillian Container JBoss AS Managed 5.1.x ....... SUCCESS [19.491s]
            [INFO] Arquillian Container JBoss AS Managed 6.x ......... SUCCESS [44:29.829s]
            [INFO] Arquillian Container JBoss AS Embedded 6.x ........ FAILURE [23:57.876s]
            [INFO] Arquillian Container JBoss Reloaded Embedded 1.x .. SKIPPED
            [INFO] Arquillian Container JSR 88-compliant Remote 1.2 .. SKIPPED
            [INFO] Arquillian Container GlassFish Remote 3.x (JSR 88)  SKIPPED
            [INFO] Arquillian Container GlassFish Embedded 3.x ....... SKIPPED
            [INFO] Arquillian Container Jetty Embedded 6.1.x ......... SKIPPED
            [INFO] Arquillian Container Jetty Embedded 7.x and 8.x ... SKIPPED
            [INFO] Arquillian Container Tomcat Embedded 6.x .......... SKIPPED
            [INFO] Arquillian Container Weld SE Embedded 1.x ......... SKIPPED
            [INFO] Arquillian Container Weld EE Embedded 1.1.x ....... SKIPPED
            [INFO] Arquillian Container OpenEJB Embedded 3.1.x ....... SKIPPED
            [INFO] Arquillian Container OpenWebBeans Embedded 1.x .... SKIPPED
            [INFO] Arquillian Container OSGi Embedded 4.2.x .......... SKIPPED
            [INFO] Arquillian Container Aggregator ................... SKIPPED
            [INFO] Arquillian Extension Performance .................. SKIPPED
            [INFO] Arquillian Extension Aggregator ................... SKIPPED
            [INFO] Arquillian Framework JSFUnit ...................... SKIPPED
            [INFO] Arguillian Framework Aggregator ................... SKIPPED
            [INFO] Arquillian Example Domain ......................... SKIPPED
            [INFO] Arquillian Example JUnit .......................... SKIPPED
            [INFO] Arquillian Example TestNG ......................... SKIPPED
            [INFO] Arquillian Example Aggregator ..................... SKIPPED
            [INFO] Arquillian Reference Guide ........................ SKIPPED
            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD FAILURE
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 1:54:08.369s
            [INFO] Finished at: Fri Sep 03 20:14:38 ECT 2010
            [INFO] Final Memory: 86M/123M
            [INFO] ------------------------------------------------------------------------
            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project arquillian-jbossas-embedded-6: There are test failures.

             

            Please refer to /Users/hmo/arquillian/containers/jbossas-embedded-6/target/surefire-reports for the individual test results.
            -> [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/MojoFailureException
            [ERROR]
            [ERROR] After correcting the problems, you can resume the build with the command
            [ERROR]   mvn <goals> -rf :arquillian-jbossas-embedded-6

             

            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

             

            This from this dir: /Users/hmo/arquillian/containers/jbossas-embedded-6/target/surefire-reports

             

             

            -------------------------------------------------------------------------------
            Test set: org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedIntegrationTestCase
            -------------------------------------------------------------------------------
            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.688 sec <<< FAILURE!
            initializationError(org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedIntegrationTestCase)  Time elapsed: 0.003 sec  <<< ERROR!
            org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.LifecycleException: Could not start container
                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68)
                at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115)
                at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62)
                at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:89)
                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
                at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
                at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
                at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
                at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
                at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
                at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:51)
                at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
                at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
                at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
                at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
            Caused by: org.jboss.arquillian.spi.LifecycleException: Could not start container
                at org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedContainer.start(JBossASEmbeddedContainer.java:66)
                at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:52)
                at org.jboss.arquillian.impl.handler.ContainerStarter.callback(ContainerStarter.java:41)
                at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
                ... 23 more
            Caused by: java.lang.RuntimeException: Error unmarshalling file:/Users/hmo/arquillian/containers/jbossas-embedded-6/target/jboss-6.0.0.20100721-M4/server/default/conf/bootstrap.xml
                at org.jboss.bootstrap.impl.as.xml.BootstrapParser.parse(BootstrapParser.java:61)
                at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.setupBootstrapDescriptorsFromBootstrapUrl(AbstractJBossASServerBase.java:440)
                at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doInitialize(AbstractJBossASServerBase.java:287)
                at org.jboss.embedded.core.server.JBossASEmbeddedServerImpl.doInitialize(JBossASEmbeddedServerImpl.java:422)
                at org.jboss.bootstrap.impl.base.server.AbstractServer.initialize(AbstractServer.java:524)
                at org.jboss.bootstrap.impl.base.server.AbstractServer.start(AbstractServer.java:335)
                at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.start(AbstractMCServerBase.java:248)
                at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.start(AbstractJBossASServerBase.java:402)
                at org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedContainer.start(JBossASEmbeddedContainer.java:62)
                ... 26 more
            Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/Users/hmo/arquillian/containers/jbossas-embedded-6/target/jboss-6.0.0.20100721-M4/server/default/conf/bootstrap.xml@6,44
                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
                at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:119)
                at org.jboss.bootstrap.impl.as.xml.BootstrapParser.parse(BootstrapParser.java:53)
                ... 34 more
            Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve global element bootstrap
                at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:191)
                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.startElement(SaxJBossXBParser.java:370)
                at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
                at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
                at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:165)
                ... 36 more

            • 3. Re: Problem building arquillian
              Aslak Knutsen Master

              I noticed the same with Maven 3 Beta3, some classpath issue it seems.

               

              Maven 3 Beta2 should work.

              • 4. Re: Problem building arquillian
                venkat akkineni Newbie

                Aslak

                 

                     I am seeing the same error with Maven 3 beta 2. Please find the stack trace attached to the email .

                 

                file:///home/venkat/Desktop/arquillian_stacktrace.txt

                 

                Thanks

                Venkat

                • 5. Re: Problem building arquillian
                  venkat akkineni Newbie

                  Please ignore my previous post. I was compiling with openjdk when I got the error. I was able to compile it with sun jdk and maven 3 beta 2.

                   

                  Thanks

                  Venkat

                  • 6. Re: Problem building arquillian
                    Aslak Knutsen Master

                    odd, using OpenJDK on my laptop..

                     

                    java version "1.6.0_18"
                    OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
                    OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

                    java version "1.6.0_18"

                    OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)

                    OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

                    • 7. Re: Problem building arquillian
                      venkat akkineni Newbie

                      Aslak

                       

                      Here is the precise error I see.

                       

                      java version "1.6.0_18"
                      OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
                      OpenJDK Server VM (build 16.0-b13, mixed mode)

                       

                       

                      [ERROR] Failed to execute goal on project arquillian-jbossas-embedded-6: Failure to resolve org/jboss/ws/jbossws-framework/3.4.0.Beta1/jbossws-framework-3.4.0.Beta1.jar from http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository. Resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Error transferring file: Connection refused
                        org.jboss.ws:jbossws-framework:jar:3.4.0.Beta1
                      
                      from the specified remote repositories:
                        jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/, releases=true, snapshots=true),
                        jboss-deprecated (https://repository.jboss.org/nexus/content/repositories/deprecated/, releases=true, snapshots=false),
                        central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
                      Path to dependency: 
                          1) org.jboss.arquillian.container:arquillian-jbossas-embedded-6:pom:1.0.0-SNAPSHOT
                          2) org.jboss.jbossas:jboss-as-depchain:pom:6.0.0.20100721-M4
                          3) org.jboss.jbossas:jboss-as-webservices:jar:6.0.0.20100721-M4
                          4) org.jboss.ws:jbossws-framework:jar:3.4.0.Beta1
                      -> [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/ArtifactResolutionException
                      [ERROR] 
                      [ERROR] After correcting the problems, you can resume the build with the command
                      [ERROR]   mvn <goals> -rf :arquillian-jbossas-embedded-6
                      
                      • 10. Re: Problem building arquillian
                        venkat akkineni Newbie

                        Aslak

                         

                             I still see the same error  with both sun jdk and openjdk but only when I run via terminal. Arquillian is compiling fine withsun jdk using Netbeans. I still have to try with openjdk on Netbeans. It could be maven configuration on my laptop.

                         

                        Thanks for your insight.

                        Venkat

                        • 11. Re: Problem building arquillian
                          venkat akkineni Newbie

                          Hi

                           

                               Since Jboss 4.2.3 container is not available in  Arquillian nightly snapshots, we are trying to compile the ARQ-238  branch. This will help us setup our Integration tests. Any help parsing  this error will be greatly appreciated.

                           

                          Thanks

                          Venkat

                          • 12. Re: Problem building arquillian
                            Aslak Knutsen Master

                            If your only interested in jboss 4.2.3, try running Maven using:

                             

                            mvn -pl contianers/jbossas-remote-4.2,junit -am

                             

                            It should only build the modules relevant to the jboss as 4.2 container and junit.

                            • 13. Re: Problem building arquillian
                              henk de boer Master

                              Just wondering, is it possible to build (or just use) Arquillian without using maven?

                              • 14. Re: Problem building arquillian
                                Aslak Knutsen Master

                                It's not possible to build Arquillian without Maven, unless you want to write all the build scripts your self.. but you can use it.

                                 

                                We don't have a complete guide to Ant (no ivy) yet, but there is a active forum thread walking through the dep chain etc..

                                http://community.jboss.org/message/566014

                                 

                                There are examples of both Ant+Ivy and Gradle around if interested.. Read the comments etc on these issues

                                https://jira.jboss.org/browse/ARQ-13

                                https://jira.jboss.org/browse/ARQ-288

                                1 2 Previous Next