Announcement Announcement Module
Collapse
No announcement yet.
Nightly Snapshot / Maven Problems Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:[email protected]:/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:[email protected]:/cvsroot/acegisecurity:acegisecurity
    Using SCM method: cvs
    Using CVSROOT: :ext:[email protected]:/cvsroot/acegisecurity
    Using module: acegisecurity

    scm:validate:

    scm:checkout-project:
    scm:cvs-checkout-project:
    [echo] Checking out acegisecurity; from CVSROOT: :ext:[email protected]:/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
    [email protected]'s password:
    [email protected]'s password: [cvs] Permission denied, please try again.


    Any help would be appreciated...

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

    Comment


    • #3
      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?

      Comment


      • #4
        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.

        Comment

        Working...
        X