Top-Q / jsystem

JSystem is a professional open-source framework for writing and managing automated system tests.
http://www.jsystem.org/
Apache License 2.0
45 stars 48 forks source link

jSystem is not working with Maven versions 3.8.1+ #371

Closed omri-ratson closed 6 months ago

omri-ratson commented 2 years ago

From Maven version 3.8.1 and above, Apache decided to block repositories that are not secured (HTTP instead of HTTPS).

I tested our project with the latest version 3.8.6 and I got the following error: jsystem-issue

With previous versions, it's working fine. You can find more info about this here:

My current workaround was to mirror the URL to your repository in the local settings.xml at the .m2 folder.

...
  <mirrors>
    <mirror>
        <id>jsystem-mirror</id>
        <mirrorOf>jsystem</mirrorOf> <!-- Must match repository id. -->
        <name>Dummy mirror to unblock the jSystem repo</name> <!-- This is because it's using http instead of https -->
        <url>http://maven.top-q.co.il/content/groups/public</url>
    </mirror>
  </mirrors>
  <profiles>
    <profile>
      <id>artifactory</id>
      <repositories>
        <repository>
          <id>jsystem</id>
          <url>http://maven.top-q.co.il/content/groups/public</url>
        </repository>
        <repository>
...

I highly recommend you update your repository to support HTTPS.

itaiag commented 6 months ago

The repository was ported AWS hosted machine with HTTPS certification.