Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Spring Integration and Maven

  1. #1
    Join Date
    Jan 2008
    Posts
    11

    Default 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. #2
    Join Date
    Sep 2004
    Location
    Copenhagen, Denmark
    Posts
    113

    Default

    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>
    /Claus

  3. #3
    Join Date
    Jan 2008
    Posts
    11

    Default 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

  4. #4
    Join Date
    Jul 2008
    Posts
    1

    Default Does not work for me :-(

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

    Michael

  5. #5
    Join Date
    Jul 2008
    Posts
    1

    Default 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?

  6. #6
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    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.

  7. #7
    Join Date
    Aug 2008
    Location
    St. John's, Newfoundland, Canada
    Posts
    4

    Default 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

  8. #8
    Join Date
    Aug 2008
    Location
    St. John's, Newfoundland, Canada
    Posts
    4

    Default

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

  9. #9
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,841

    Default

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

    -Mark

  10. #10
    Join Date
    Sep 2007
    Posts
    21

    Default

    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?

Posting Permissions

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