Announcement Announcement Module
Collapse
No announcement yet.
maven build failing Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • maven build failing

    test:compile:
    [javac] Compiling 1 source file to /usr/local/tmp/acegisecurity/acegisecurity/samples/attributes/target/test-classes

    test:test:
    [junit] Running sample.attributes.BankTests
    log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefi nitionReader).
    log4j:WARN Please initialize the log4j system properly.
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.404 sec
    [junit] [ERROR] TEST sample.attributes.BankTests FAILED

    BUILD FAILED
    File...... /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
    Element... maven:reactor
    Line...... 217
    Column.... 9
    Unable to obtain goal [multiproject:install-callback] -- /root/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54: <fail> There were test failures.
    Total time: 3 minutes 18 seconds
    Finished at: Sat Dec 25 19:40:37 GMT 2004

  • #2
    I deleted the BankTests.java and everything else went okay, just a FYI. I was doing a maven multiproject:install after a fresh CVS download. I can investigate tomorrow if you'd like, but I was kinda anxious to get the new jar built.

    Comment


    • #3
      The commons-attributes-plugin was not installed.

      If you go to http://acegisecurity.sourceforge.net/building.html you will find detailed build instructions (including installing this plugin and working around Maven problems).

      Comment


      • #4
        thanks.

        Comment

        Working...
        X