SoftwareAG / cumulocity-clients-java

This repository contains Cumulocity client libraries for Java. This is a read-only mirror
8 stars 6 forks source link

Repositories should use https instead of http, otherwise they are blocked #55

Closed ck-c8y closed 2 years ago

ck-c8y commented 2 years ago

Maven blocks access to repositories using http in its setting.xml

     <mirror>
      <id>maven-default-http-blocker</id>
      <mirrorOf>external:http:*</mirrorOf>
      <name>Pseudo repository to mirror external repositories initially using HTTP.</name>
      <url>http://0.0.0.0/</url>
      <blocked>true</blocked>
    </mirror>

so the repositories referenced in the README.md should be configured using https:

<settings>
  <activeProfiles>
    <activeProfile>cumulocity</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>cumulocity</id>
      <repositories>
        <repository>
          <id>cumulocity-maven-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>cumulocity-plugins-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>
c8y-kh4mell commented 2 years ago

Already fixed