Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you need to customize your maven options, you can edit the ~/.m2/settings.xml on the endpoint, just like if you are editing it for a regular maven user. It is important to make the changes on the endpoint, not the FlexDeploy server, and make sure to perform the configuration changes using the same user that FlexDeploy will login as on the endpoint. You can copy the .m2 folder from another machine if that is easier, or install Maven on the endpoint so that it is created for you and then edit it. This is the easiest way to configure Maven to have settings that apply to all future workflows. The same configuration options can likely be added into the Arguments plugin input, but would need to be entered each time that a new workflow with Maven in it is created.


Special Considerations

As of June 2018, the insecure TLS 1.0 & 1.1 protocols are no longer supported for SSL connections to Maven Central.

  • If your endpoint is using HTTP to access Central, or Java 8+ with HTTPS URLs, you are not affected.
  • If your  endpoint is running Java 7, it supports TLS 1.2 butit is disabled by defaultin versions before 1.7.0_131-b31. An easy workaround is to add this code to the Arguments input of the workflow operation.

    Code Block
    -Dhttps.protocols=TLSv1.2


  • If your endpoint is on Java 6, you will need to switch back to HTTP or upgrade to a more modern Java version.