Results 1 to 4 of 4

Thread: maven build failing

  1. #1

    Default 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. #2

    Default

    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.
    PJ

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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).

  4. #4

    Default

    thanks.
    PJ

Similar Threads

  1. Managing components / projects / dev cycle: Maven or ant?
    By rebornspirit in forum Architecture
    Replies: 9
    Last Post: Oct 6th, 2006, 09:34 AM
  2. Replies: 15
    Last Post: Jul 30th, 2005, 07:36 PM
  3. Petclinic Build Error (Plus Suggested Fix)
    By steve_smith in forum Swing
    Replies: 4
    Last Post: Nov 15th, 2004, 04:32 PM
  4. Maven 'targets'?
    By jbetancourt in forum Meta
    Replies: 2
    Last Post: Oct 6th, 2004, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •