Announcement Announcement Module
Collapse
No announcement yet.
Spring Integration and Maven Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Integration and Maven

    I am trying to add Spring Integration M4 dependency to a project using Maven 2 but I just can't seem to find a way to configure the repository and dependency properly.

    I have tried to no avail, adding to my pom.xml file:
    <repository>
    <id>spring-milestone</id>
    <name>Spring Portfolio Milestone Repository</name>
    <url>s3.amazonaws.com/maven.springframework.org/milestone</url>
    </repository>
    * Please add an h t t p : / / in front of the s3 url. I couldn't add it because for some reason the forum is preventing from linking to other urls... *

    <dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>org.springframework.integration</artifactId>
    <version>1.0.0.m4</version>
    </dependency>
    Looking at the s3 repository at:

    h t t p : / / s3browse.com/explore/maven.springframework.org/milestone/org/springframework/integration/

    I see that there is an spring-integration-core component but there are only artifacts up to version 1.0.0M3 but no M4.

    I found on a post (but couldn't find the reference any more) that 1.0.0M4 could now be found on SpringSource repository

    h t t p : / / w w w .springsource.com/repository/app/

    I searched but found no trace of anything related to Spring Integration.

    Could you please tell me how to configure my pom.xml to be able to add the spring integration dependency? Thanks,


    Simon

  • #2
    This is from my pom.xml that works

    <siVersion>1.0.0.M4</siVersion>

    <dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>org.springframework.integration</artifactId>
    <version>${siVersion}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.integration</groupId>
    <artifactId>org.springframework.integration.adapte r</artifactId>
    <version>${siVersion}</version>
    </dependency>


    <repository>
    <id>com.springsource.repository.bundles.mileston e</id>
    <url>http://repository.springsource.com/maven/bundles/milestone</url>
    </repository>
    <repository>
    <id>com.springsource.repository.bundles.release</id>
    <url>http://repository.springsource.com/maven/bundles/release</url>
    </repository>
    <repository>
    <id>com.springsource.repository.bundles.external </id>
    <url>http://repository.springsource.com/maven/bundles/external</url>
    </repository>

    Comment


    • #3
      It works - Thanks

      It works, Thanks! By the way, do you know how to browse the springSource Milestone repository (using the web, for example)? How did you found out about those reopsitories?

      Simon

      Comment


      • #4
        Does not work for me :-(

        Does anybody have a complete POM, working without local dependencies?

        Michael

        Comment


        • #5
          No longer works for me either

          This no longer works for me either. Does Spring integration post news about moving repositories or allow repository browsing in any way? This worked fine until recently. Does this have to do with the move to M5 or did they just restructure the repositories or what?

          Comment


          • #6
            Spring Integration releases and snapshots are deployed to our S3 repositories (the ones that back the SpringSource Enterprise Bundle Repository). You can browse the full releases using our Bundle Repository application (http://www.springsource.com/repository/app), but since Integration is not GA yet you have to go through the S3Browse application (http://s3browse.com/explore/reposito...maven/bundles/). There is a "milestone" subdir there where you will find M5, and a "snapshot" subdir where the nightly builds go. There were some issues with the snapshot deployment in M4 and M5, but they seem to be working fine now.

            Keep posting here and in JIRA if there are problems.

            Here's my POM config for snapshot usage:

            Code:
              <repositories>
                <repository>
                  <id>springsource-external</id>
                  <url>http://repository.springsource.com/maven/bundles/external</url>
                </repository>
                <repository>
                  <id>springsource-snapshot</id>
                  <url>http://repository.springsource.com/maven/bundles/snapshot</url>
                </repository>
              </repositories>
              <dependencies>
                <dependency>
                  <groupId>org.springframework.integration</groupId>
                  <artifactId>org.springframework.integration</artifactId>
                  <version>1.0.0.CI-SNAPSHOT</version>
               </dependencies>
            Change "snapshot" to "milestone" to get the milestone releases, etc.

            Comment


            • #7
              1.0.0.M5 not working anymore

              1.0.0.M5 was working for a while now. Doesn't work today though. I browsed to find out what versions were available and it seems all spring integration milestone releases have been removed! See:

              s3browse.com/explore/repository.springsource.com/maven/bundles/milestone/org/springframework/integration

              Comment


              • #8
                Version 1.0.0.M5 is back now. Thanks to who ever fixed this!

                Comment


                • #9
                  Thank you for bringing this to our attention. Sorry for the inconvenience.

                  -Mark

                  Comment


                  • #10
                    i am unable to download spring integration milestone releases from s3browse using maven. Have a checksum failure on the download of any milestone release. The jars and poms downloaded are 5k each and are invalid. The pom seems to be an html page. I have used the following repository and dependency configuration
                    Code:
                     <repositories>
                        <repository>
                          <id>springsource-external</id>
                          <url>http://s3browse.com/explore/maven.springframework.org/milestone/</url>
                        </repository>
                      </repositories>
                      <dependencies>
                        <dependency>
                          <groupId>org.springframework.integration</groupId>
                          <artifactId>org.springframework.integration</artifactId>
                          <version>1.0.0.m5</version>
                        </dependency>
                       </dependencies>
                    Has anyone encountered this before?

                    Comment


                    • #11
                      It's a very minor thing, but the version should have an uppercase M: <version>1.0.0.M5</version>

                      Comment


                      • #12
                        apologies for the typo..
                        had tried with
                        Code:
                        <version>1.0.0.M5</version>
                        but gettting the same error.

                        Comment


                        • #13
                          It works for me, except that org.springframework.integration.adapter does not seem to be present in the repository!

                          Comment


                          • #14
                            could you please post in your repository? because i can browse ,find,download the integration.adapter jars and integration jars without problems using a normal web browser.
                            It is only through maven i have the error.

                            Comment


                            • #15
                              I just looked at your configuration again and noticed that the repository URL is incorrect. The "s3browse" URL is for browsing the repository only. For the maven repository configuration, try this instead:
                              Code:
                              <repository>
                                  <id>springsource-milestone</id>
                                  <url>http://repository.springsource.com/maven/bundles/milestone</url>
                              </repository>

                              Comment

                              Working...
                              X