The licence header test fails. If you provide parameter
-Dmaven.test.skip=true, the project builds and works fine.

Frank, if you are reading this, wouldn't

licenseHeader = url.getFile();

work better than

licenseHeader = new wicket.util.file.File(new
URI(url.toString())).readString(); ?

Currently, the test run from Eclipse succeeds, but running from mvn results in:

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.161
sec <<< FAILURE!
testLicenseHeaders(wicket.util.license.ApacheLicenceHeaderTest)  Time
elapsed: 0.086 sec  <<< FAILURE!
junit.framework.AssertionFailedError: URI is not hierarchical
        at junit.framework.Assert.fail(Assert.java:47)
        at 
wicket.util.license.AbstractLicenseHeaderHandler.getLicenseHeader(AbstractLicenseHeaderHandler.java:77)
        at 
wicket.util.license.JavaLicenseHeaderHandler.checkLicenseHeader(JavaLicenseHeaderHandler.java:81)
        at 
wicket.util.license.ApacheLicenseHeaderTestCase$1.visitFile(ApacheLicenseHeaderTestCase.java:209)

etc.

Eelco

On 1/15/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> Thanks Mats, yes I agree.
>
> I am also reporting (refer original message) that wicket-spring-annot is
> broken for Maven 2 users, so at the moment I cannot use it even if I wanted
> to.  Can anyone comment on this?
>
>  Thanks,
>
> Peter.
>
>
> On 1/15/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> > Oops, sorry, didn't read your entire mail.
> > However, I do feel that the extra dependency is worth it in the long
> > run. You very seldom have only one DAO in your application... :) Let's
> > say you have 50 beans that you want to use in different parts of the
> > system, the code bloat in the Application class will be quite big.
> >
> > /Mats
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to