I just built successfully a cleanly checkouted shiro trunk, all worked well. HtmlUnit is defined in samples/web POM as test dependency... The problem you see is probably due to having damaged/incomplete HTMLunit jar (a previous build interrupted with Ctrl+C for example or some other tranfer/proxy issue) in your maven local repository (~/.m2/repository). Try to delete the HTMLUnit jar from your local repo and run "mvn clean install" again.
(rm -R ~/.m2/repository/net/sourceforge/htmlunit/htmlunit/2.6 in case you did not modify your local repo path) Please use latest Maven 2.2.1 (2.2.2 soon out!) and make sure you are up-to-date with working copy ;) Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version: 1.6.0_15 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac" ~t~ On Mon, Sep 14, 2009 at 4:13 AM, Alan D. Cabrera <[email protected]>wrote: > Can you run the following commands: > > java -version > mvn -v > svn info > > Thanks. > > Regards, > Alan > > > On Sep 13, 2009, at 6:15 PM, knowself wrote: > > >> Hi Les, >> >> Thanks for the quick reply. >> >> Yes, I'm still seeing the same issue ... with an "mvn clean" and then a >> "mvn >> install"... >> >> It's the same. >> >> Anyone seen this? >> >> Joet >> >> >> >> Les Hazlewood-2 wrote: >> >>> >>> Hi Joe, >>> >>> This should work just fine. >>> >>> I just did a full clean and mvn install on the latest trunk version >>> and didn't have any problems building. The test referenced in the >>> other email has already been commented out temporarily. >>> >>> Do you still see the problems? >>> >>> Regards, >>> >>> Les >>> >>> On Wed, Sep 9, 2009 at 2:29 AM, knowself <[email protected]> wrote: >>> >>>> >>>> Ok. I'm at it again ... trying to build Shiro from source. >>>> >>>> I really just want to specialize the database tables used by Shiro and >>>> using >>>> a complete "person" object instead of just the "username" for the >>>> principal. >>>> >>>> Can someone point me to a good resource for doing that using the Grails >>>> plugin ... or point me to some resources for getting this thing to >>>> compile. >>>> >>>> =============== >>>> I tried the following ... >>>> =============== >>>> >>>> mkdir shiro >>>> cd shiro >>>> svn co http://svn.apache.org/repos/asf/incubator/shiro/trunk/ >>>> >>>> ... then >>>> >>>> mvn install >>>> >>>> >>>> And then .... >>>> >>>> /Users/virtuola/Documents/Virtuola >>>> >>>> LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[49,27] >>>> com.gargoylesoftware.htmlunit.html.HtmlInput cannot be dereferenced >>>> >>>> /Users/virtuola/Documents/Virtuola >>>> >>>> LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[50,27] >>>> com.gargoylesoftware.htmlunit.html.HtmlInput cannot be dereferenced >>>> >>>> /Users/virtuola/Documents/Virtuola >>>> >>>> LLC/ScoreEZ/shiro/samples/web/src/test/java/org/apache/shiro/test/ContainerIntegrationTest.java:[51,34] >>>> com.gargoylesoftware.htmlunit.html.HtmlInput cannot be dereferenced >>>> >>>> >>>> I have googled a little on this and I understand there is a patch ... to >>>> comment out these tests ... >>>> >>>> I get it ... don't try this at home, kids!! >>>> >>>> Thanks for your help, in advance. >>>> >>>> -- >>>> View this message in context: >>>> >>>> http://n2.nabble.com/Building-Shiro-JSecurity-from-Source-tp3608663p3608663.html >>>> Sent from the Shiro User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> -- >> View this message in context: >> http://n2.nabble.com/Building-Shiro-JSecurity-from-Source-tp3608663p3639137.html >> Sent from the Shiro User mailing list archive at Nabble.com. >> > >
