Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: maven 2

  1. #11
    Join Date
    Jun 2006
    Posts
    1

    Default Spring in maven2 repo

    Hi

    You find the spring framework on the following path

    http://www.ibiblio.org/maven2/org/sp...mework/spring/

    there you find all versions: 1.2.8 as well as 2.0-m5

    Regards
    stejan

  2. #12
    Join Date
    May 2006
    Location
    Oldenburg, Germany
    Posts
    14

    Default

    There are only jar-files. The required poms are missing.

  3. #13
    Join Date
    Jun 2006
    Posts
    7

    Default

    Specifying the dependencies on the pom worked for me, not exatly how it's supposed to be I guess but here are the jars I had to add:

    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring</artifactId>
    <version>2.0-m5</version>
    </dependency>

    <!--dependencies needed to get Spring to work?-->
    <dependency>
    <groupId>groovy</groupId>
    <artifactId>groovy-all</artifactId>
    <version>1.0-jsr-04</version>
    </dependency>
    <dependency>
    <groupId>org.jruby</groupId>
    <artifactId>jruby</artifactId>
    <version>0.8.3</version>
    </dependency>
    <dependency>
    <groupId>org.beanshell</groupId>
    <artifactId>bsh</artifactId>
    <version>2.0b4</version>
    </dependency> <dependency>
    <groupId>commons-logging</groupId>
    <artifactId>commons-logging</artifactId>
    <version>1.1</version>
    </dependency>

  4. #14
    Join Date
    May 2005
    Posts
    394

    Default

    Just found a blog about the missing pom's:

    http://jroller.com/page/carlossg?ent...n_relationship

  5. #15
    Join Date
    Oct 2005
    Location
    Amsterdam
    Posts
    81

    Default

    Although this is not a Maven 2 support site, here's a cool Maven plugin lookup tool:

    http://area51.sourcelabs.com/cjar/app

  6. #16
    Join Date
    May 2005
    Posts
    394

    Default

    Quote Originally Posted by NicolasPeeters
    Although this is not a Maven 2 support site, here's a cool Maven plugin lookup tool:

    http://area51.sourcelabs.com/cjar/app
    I prefer http://mvnrepository.com/ but the maven guys are making their own version I think: "Archiva".

  7. #17
    Join Date
    Oct 2005
    Location
    Amsterdam
    Posts
    81

    Default

    I agree with you... Especially since the latter is down nowadays!

  8. #18
    Join Date
    Sep 2004
    Location
    London
    Posts
    311

    Default maven2 spring dependencies

    hi all,
    i m struggling with maven2 & spring dependencies./.
    i have an app that depends on spring jar files...
    i have placed this in my pom.xml

    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring</artifactId>
    <version>2.0-rc3</version>
    </dependency>

    but in running mvn it alwas end up tryiing to download commons-test-0.1
    somehow, it does not download it and my app ends in error....
    could anyone help me out please?

    thanks in advance and regards
    marco

  9. #19
    Join Date
    May 2005
    Posts
    394

    Default

    http://www.ibiblio.org/maven2/common...mons-test/0.1/
    The jar isn't there, only the pom. Ask on the maven user list why (news.gmane.org is an easy way to ask a question there)

  10. #20
    Join Date
    May 2005
    Posts
    394

    Default

    PS: you could also just <exclusions> it as a dependency.
    It might need to be marked optional in the spring pom anyway.

    Anyway, the good news is that one of the i21 promised to get good quality pom's available for 2.0

Posting Permissions

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