Results 1 to 4 of 4

Thread: Nightly Snapshot / Maven Problems

  1. #1

    Default Nightly Snapshot / Maven Problems

    Hi

    I am trying to get hold of the latest source, is there a downloadable nightly snapshot jar file available?

    I have tried a few different things with maven, but cannot get anything to work:

    maven scm:checkout-project -Dmaven.username=anonymous -Dmaven.scm.method=cvs -Dmaven.scm.cvs.module=acegisecurity -Dmaven.scm.cvs.root=server:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity -Dmaven.scm.checkout.dir=acegisecurity



    __ __
    | \/ |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
    |_| |_\__,_|\_/\___|_||_| v. 1.0.2

    [echo] Using root dir: /home/bgill/acegi/acegisecurity
    build:start:

    scmarse-connection:
    [echo] Using connection: scm:cvs:ext:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity:acegisecurity
    Using SCM method: cvs
    Using CVSROOT: :ext:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
    Using module: acegisecurity

    scm:validate:

    scm:checkout-project:
    scm:cvs-checkout-project:
    [echo] Checking out acegisecurity; from CVSROOT: :ext:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
    [delete] Deleting directory /home/bgill/acegi/acegisecurity/acegisecurity/acegisecurity
    [mkdir] Created dir: /home/bgill/acegi/acegisecurity/acegisecurity/acegisecurity
    [cvs] Using cvs passfile: /home/bgill/.cvspass
    anonymous@cvs.sourceforge.net's password:
    anonymous@cvs.sourceforge.net's password: [cvs] Permission denied, please try again.


    Any help would be appreciated...

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

    Default

    Wonder where the :ext is coming from, when you specified server as a parameter...

    I'd suggest checking it out without using Maven. Sorry I don't have any Maven-specific suggestions, but perhaps someone who knows the product better will have.

  3. #3

    Default Nightly build

    Hi

    As I had problems using maven to get the source... I used the raw cvs method, I seemed to be able to checkout ok but the src dir was empty so I used CvsGrab to get the source which seemed to pick up more...

    Anyway, I then used:

    maven multiproject:artifact

    to build and I got a little further, though it still bailed out:

    multiproject:artifact-callback:
    [echo] Running jar:jar for Acegi Security System for Spring - Attributes sample
    javarepare-filesystem:

    java:compile:
    [echo] Compiling to /home/bgill/cvsgrab-2.1/acegisecurity/samples/attributes/target/classes
    [echo]
    ================================================== ========

    NOTE: Targetting JVM 1.4, classes
    will not run on earlier JVMs

    ================================================== ========


    java:jar-resources:

    testrepare-filesystem:

    test:test-resources:

    test:compile:

    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: 0, Errors: 2, Time elapsed: 0.352 sec
    [junit] [ERROR] TEST sample.attributes.BankTests FAILED

    BUILD FAILED
    File...... /home/bgill/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
    Element... maven:reactor
    Line...... 217
    Column.... 9
    Unable to obtain goal [multiproject:artifact-callback] -- /home/bgill/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54: <fail> There were test failures.
    Total time: 24 seconds
    Finished at: Mon Dec 20 13:19:20 GMT 2004



    I ignore this error as it had spat out the aceg security jar file, so I encoporated that acegi-security.jar file with the 6.1 tag lib file (as my build did not produce this jar file) and now I get:

    20-12-04 13:13:33:811 - {ERROR} [localhost].[/oof] Thread [main]; Exception sending context initialized event to listener instance of class com.oof.webapp.listener.StartupListener
    java.lang.SecurityException: class "net.sf.acegisecurity.ui.AutoIntegrationFilter "'s signer information does not match signer information of other classes in the same package

    There must be an easier way!!

    Is it not possible to just download a nightly snapshot?

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

    Default

    Sorry, there is no nightly snapshot.

    Try doing a "maven jar:install" from the "core" directory, then from "samples/contact" do a "maven war". That should give you most of what you need. Our project's Maven people are away so I can't offer much more help at this stage.

Similar Threads

  1. Getting started with Spring + Maven
    By ejeklint in forum Architecture
    Replies: 3
    Last Post: Dec 27th, 2006, 10:25 AM
  2. Managing components / projects / dev cycle: Maven or ant?
    By rebornspirit in forum Architecture
    Replies: 9
    Last Post: Oct 6th, 2006, 09:34 AM
  3. dependency problems?
    By asaf.lahav in forum Data
    Replies: 3
    Last Post: Jul 21st, 2005, 03:36 PM
  4. Maven 'targets'?
    By jbetancourt in forum Meta
    Replies: 2
    Last Post: Oct 6th, 2004, 09:11 AM
  5. Replies: 7
    Last Post: Oct 6th, 2004, 02:57 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
  •