Announcement Announcement Module
Collapse
No announcement yet.
maven build fails 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 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?

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

    Comment


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

      Comment


      • #4
        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, 09:00 PM.

        Comment


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

          Comment

          Working...
          X