This content has been marked as final.
Show 2 replies
-
1. Re: javaee examples using Arquillian
jbertram May 25, 2012 10:16 AM (in response to ataylor)I love the idea, but I can't get it to run now. When we first discussed this and I pulled your branch I was able to run it against AS7 master (i.e. 7.2.0.Alpha1-SNAPSHOT) without any issues whatsoever. Now this is what I get:
jbertram@jbertram-laptop-510 ~/jboss/src/hornetq/git/hornetq/examples/javaee/mdb-bmt ((b1db925...)) $ mvn test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.hornetq.example:hornetq-jee-mdb-bmt-example:jar:2.3.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 144, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building HornetQ JEE MDB Example 2.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ hornetq-jee-mdb-bmt-example --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jbertram/jboss/src/hornetq/git/hornetq/examples/javaee/mdb-bmt/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hornetq-jee-mdb-bmt-example --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.4.3:copy-resources (ts.copy-jbossas.groups) @ hornetq-jee-mdb-bmt-example --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1060 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ hornetq-jee-mdb-bmt-example --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ hornetq-jee-mdb-bmt-example --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ hornetq-jee-mdb-bmt-example --- [INFO] Surefire report directory: /home/jbertram/jboss/src/hornetq/git/hornetq/examples/javaee/mdb-bmt/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.hornetq.javaee.example.server.ExampleRunnerTest log4j:WARN No appenders could be found for logger (org.jboss.logging). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. May 25, 2012 8:51:55 AM org.jboss.arquillian.container.impl.MapObject populate WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.managed.ManagedContainerConfiguration Unused property entries: {waitForPortsTimeoutInSeconds=8, waitForPorts=8787 9999} Supported property names: [jbossHome, outputToConsole, enableAssertions, password, managementPort, javaHome, javaVmArguments, username, serverConfig, allowConnectingToRunningServer, managementAddress, startupTimeoutInSeconds, modulePath] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.466 sec <<< FAILURE! Results : Tests in error: org.hornetq.javaee.example.server.ExampleRunnerTest: javaHome must exist Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [ERROR] There are test failures. Please refer to /home/jbertram/jboss/src/hornetq/git/hornetq/examples/javaee/mdb-bmt/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.786s [INFO] Finished at: Fri May 25 08:51:55 CDT 2012 [INFO] Final Memory: 12M/176M [INFO] ------------------------------------------------------------------------
Even if I add -DjavaHome=/path/to/my/jdk I still get the same result. Any ideas?
-
2. Re: javaee examples using Arquillian
ataylor May 25, 2012 5:33 PM (in response to jbertram)whats in the test output file?