Announcement Announcement Module
Collapse
No announcement yet.
maven 2 Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • maven 2

    Hi,
    i really like Spring, but the release M2, M3 and M4 doesn't have support for Maven 2 and i think it's a shame.
    I wanted to use Maven2, but now i have to switch back to Ant, thank you very much. Please change this soon, it's very important in my opinion.

    Ingo

  • #2
    You are not alone

    http://jroller.com/page/raible?entry=spring_2_0_m4_for

    Carlos uploaded those of m4 yesterday it seems.
    You can use maven2 if you depend on spring, but making your own internal repository, similar to how acegi and spring-richclient do it.

    Comment


    • #3
      Maven 2 - open JIRA issues

      What about the current production release 1.2.8? I couldn't find it on ibiblio.

      There are several open issues on JIRA:
      http://opensource.atlassian.com/proj...rowse/SPR-1484
      http://opensource.atlassian.com/proj...rowse/SPR-1510
      http://opensource.atlassian.com/proj...rowse/SPR-1810
      http://opensource.atlassian.com/proj...rowse/SPR-1995

      Please deploy actual versions to the maven repo because it's a lot of extra work to put spring in the local repo and manage the dependencies manually.

      In addition some of the old versions are overlapping because they are partially available with the groupIds spring, springframework, org.springframework.
      Which groupId is the official one?

      Regards
      Dennis

      Comment


      • #4
        org.springframework is the official groupId
        springframework is legacy from Maven 1

        Note that spring doesn't produce upload bundles (yet) AFAIK and Carlos Sanchez is doing all the work of adding new version to Ibiblio.
        Because Acegi is build with maven 2, you 'll find the bundles are uploaded soon after release.

        Comment


        • #5
          I tried to upgrade to Spring 2.0 M5 but it seems that the pom.xml is missing from the ibiblio maven2 repository. I have a lot of problems because of the missing dependency informations.
          I know that the Spring is not built with maven 2 but I just wanted to express my needs of having Spring in Maven2 repositories hoping that this will be resolved soon.
          From what I read in Jira there's no mention to maven 2. I'm pleased to see al this work done arround Spring and in Spring itself and for that I thank the Spring team and the community but I think the maven 2 is a "must be".

          Thank you for doing it right.
          Fanfy

          Comment


          • #6
            Same is with 1.2.8.

            Comment


            • #7
              http://mvnrepository.com/ is an easy way to check with versions of spring etc are in the central repo.

              I also saw that spring-webflow might move from cvs to svn and chance directory structure to maven 2's default, which indicates that they might start writing pom.xml's Do note that their build is huge and a migration won't happen over night.

              Comment


              • #8
                pom for 1.2.8 is still missing on central mirror

                Comment


                • #9
                  Originally posted by DeKi
                  pom for 1.2.8 is still missing on central mirror
                  ...as well as 2.0-m5 is missing ;-(

                  Comment


                  • #10
                    Vote for
                    http://opensource.atlassian.com/proj...rowse/SPR-1484
                    It has a patch made by Carlos Chanchez to maven2ize spring.
                    Also in the free maven 2 book he described how to migrate spring's 2.0-M?'s ANT build to maven 2.

                    I saw Rob and Juergen using maven 2 in an example on SpringOne and they seem to be aware of oppurtinity maven 2 offers

                    Comment


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

                      Comment


                      • #12
                        There are only jar-files. The required poms are missing.

                        Comment


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

                          Comment


                          • #14
                            Just found a blog about the missing pom's:

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

                            Comment


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

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

                              Comment

                              Working...
                              X