Results 1 to 5 of 5

Thread: maven build fails

  1. #1
    Join Date
    Sep 2005
    Location
    Asunción - Paraguay
    Posts
    8

    Unhappy maven build fails

    Hello Guys,

    There is a reference to a jar wich is not available on the net:

    D:\src\java\acegisecurity\core>maven jar:install
    __ __
    | \/ |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
    |_| |_\__,_|\_/\___|_||_| v. 1.0.2

    Intentando descargar apacheds-server-main-0.9.4-SNAPSHOT.jar.
    íATENCION!: íImposible descargar apacheds-server-main-0.9.4-SNAPSHOT.jar!
    íEl proceso no puede seguir! Falta la siguiente dependencia:

    apacheds-server-main-0.9.4-SNAPSHOT.jar

    Total time: 5 seconds
    Finished at: Sun Dec 18 19:16:19 GMT-03:00 2005

    Im using the following repo repositories:
    Code:
    maven.repo.remote=http://www.ibiblio.org/maven,http://team.andromda.org/maven,http:...orge.net/maven
    This reference makes it impossible to build acegi from source, where can I get the missing library?
    Diego Bendlin

  2. #2
    Join Date
    Sep 2005
    Location
    Asunción - Paraguay
    Posts
    8

    Default

    Well, I got an old apacheds jar and renamed it to comply with dependencies definitions, I found out that running maven jar:install on the root folder of the project fails.

    running maven multiproject:install on acegisecurity\docs also fails with compile errors.

    And finally maven 2 build also fails saying it cant find the necesary jars in the remote repository, but the odd thing is its not looking for those jars in acegi's m2 repository, its only looking them in apache m2 repo
    Diego Bendlin

  3. #3
    Join Date
    Aug 2005
    Location
    Bologna, Italy
    Posts
    79

    Default

    Quote Originally Posted by dbendlin
    And finally maven 2 build also fails saying it cant find the necesary jars in the remote repository, but the odd thing is its not looking for those jars in acegi's m2 repository, its only looking them in apache m2 repo
    I didn't get this, is acegi a maven2 built project? I find maven2 getting more and more mature but it still has it's glitches. Anyhow that would be a good news for me as I'm going maven2 only for my projects, hoping this will bring credibility to the project.

  4. #4
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Hi,

    The apache DS files should be pulled from the apache repo, rather than ibiblio.

    Check the line in project.properties

    maven.repo.remote=http://www.ibiblio.org/maven,http://acegisecurity.sourceforge.net/maven,http://svn.apache.org/repository/

    and make sure the svn.apache.org repo is there. It's also possible you are overriding this in your local build.properties so make sure it's being set correctly.

    I also changed the build yesterday so that it pulls down individual dependencies for ApacheDS rather than the entire server, since we're using it without networking now and don't need as much.

    I'd stick to using maven 1.0.2 for the moment until Carlos says it's safe to use the Maven 2 build

    Luke.
    Last edited by Luke Taylor; Dec 21st, 2005 at 09:00 PM.

  5. #5
    Join Date
    Sep 2005
    Location
    Asunción - Paraguay
    Posts
    8

    Default

    Thanks a lot! I'm giving it a try now :-) Hope Carlos can give us the good news soon, M2 seems way better than M1, doesn't it?
    Diego Bendlin

Posting Permissions

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