I finally got it to build. I didn't do "mvn -U install" but
just "mvn install" because of the looping problem. I did remove
.m2 before the build.
When I started the server with "asadmin start-domain" I got a
dozen such errors in server.log:
#|2008-08-08T14:16:23.226-0700|SEVERE||javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=Thread-3;|doSelect
exception
java.io.IOException: Invalid argument
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at
sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:158)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:459)
at com.sun.grizzly.Controller.doSelect(Controller.java:369)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
at java.lang.Thread.run(Thread.java:595)
-Kin-man