Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-500

remove amazonaws repository urls from spring-ws-parent pom

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 1.5.7
    • Component/s: Core
    • Labels:
      None

      Description

      When running mvn site on my project, the build hang on the following lines:

      [INFO] Generating "Dependencies" report.
      [WARNING] The repository url 'http://s3.amazonaws.com/maven.springframework.org/external' is invalid - Repository 'spring-external' will be blacklisted.
      [WARNING] The repository url 'http://s3.amazonaws.com/maven.springframework.org/release' is invalid - Repository 'spring-release' will be blacklisted.

      Doing a grep on my .m2 directory there was only file containing these repository urls:

      ~/.m2$ grep -r 'amazonaws' *
      repository/org/springframework/ws/spring-ws-parent/1.5.5/spring-ws-parent-1.5.5.pom: <url>http://s3.amazonaws.com/maven.springframework.org/release</url>
      repository/org/springframework/ws/spring-ws-parent/1.5.5/spring-ws-parent-1.5.5.pom: <url>http://s3.amazonaws.com/maven.springframework.org/external</url>

      I think these are outdated and should be removed.or at least replaced by something that works.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Quite frankly, I have no idea what's causing this. I can duplicate the warnings, but the build does not hang for me.

        I think it might be due to Amazon S3 returning non-standard HTTP headers or bodies, which isn't something I can fix.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Quite frankly, I have no idea what's causing this. I can duplicate the warnings, but the build does not hang for me. I think it might be due to Amazon S3 returning non-standard HTTP headers or bodies, which isn't something I can fix.
        Hide
        wouterv Wouter de Vaal added a comment -

        My point was that the amazonaws repositories aren't used anywhere in Spring anymore, but for this parent pom. My suggestion is removing this repository, as it's not valid anymore

        Show
        wouterv Wouter de Vaal added a comment - My point was that the amazonaws repositories aren't used anywhere in Spring anymore, but for this parent pom. My suggestion is removing this repository, as it's not valid anymore
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        You are right: other projects use maven.springframework.org/external or maven.springframework.org/release, but these resolve to the same Amazon S3 host/directory as the ones presently there. I will fix.

        Show
        arjen.poutsma Arjen Poutsma added a comment - You are right: other projects use maven.springframework.org/external or maven.springframework.org/release, but these resolve to the same Amazon S3 host/directory as the ones presently there. I will fix.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I replaced the s3.amazonaws.com URLS with maven.springframework.org ones.

        Show
        arjen.poutsma Arjen Poutsma added a comment - I replaced the s3.amazonaws.com URLS with maven.springframework.org ones.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            wouterv Wouter de Vaal
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: