title: Error commande mvn from console Intellij and java 11
body: <p>I have a problem with command mvn</p>
  <p>I work with Intellij and java 11</p>
  <p>I clone a project and when i tape a command on terminal, he doesn't work.</p>
  <p>For exemple :
  mvn test -&gt; on console : error
  with maven tab : its ok</p>
  <p>My stacktrace :</p>
  <pre><code>brichet@brichet-G11CD:~/IdeaProjects/cours_TDD/oc-testing-java-cours$ mvn test
  [INFO] Scanning for projects...
  [WARNING] Error injecting: org.apache.maven.wagon.providers.http.HttpWagon$__sisu21
  java.lang.ExceptionInInitializerError
  at sun.security.ssl.ProtocolVersion.&lt;init&gt; (ProtocolVersion.java:158)
  at sun.security.ssl.ProtocolVersion.&lt;clinit&gt; (ProtocolVersion.java:41)
  at sun.security.ssl.SSLContextImpl$AbstractTLSContext.&lt;clinit&gt; (SSLContextImpl.java:560)
  
  ....
  
  Caused by: java.lang.IllegalArgumentException: Error in security property. Constraint unknown:
  jdk.disabled.namedCurves
  at sun.security.util.DisabledAlgorithmConstraints$Constraints.&lt;init&gt;
  (DisabledAlgorithmConstraints.java:329)
  at sun.security.util.DisabledAlgorithmConstraints.&lt;init&gt;
  (DisabledAlgorithmConstraints.java:100)
  at sun.security.ssl.SSLAlgorithmConstraints.&lt;clinit&gt; (SSLAlgorithmConstraints.java:45)
  at sun.security.ssl.ProtocolVersion.&lt;init&gt; (ProtocolVersion.java:158)
  at sun.security.ssl.ProtocolVersion.&lt;clinit&gt; (ProtocolVersion.java:41)
  at sun.security.ssl.SSLContextImpl$AbstractTLSContext.&lt;clinit&gt; (SSLContextImpl.java:560)
  at java.lang.Class.forName0 (Native Method)
  at java.lang.Class.forName (Class.java:315)
  at java.security.Provider$Service.getImplClass (Provider.java:1848)
  at java.security.Provider$Service.newInstance (Provider.java:1824)
  at sun.security.jca.GetInstance.getInstance (GetInstance.java:236)
  at sun.security.jca.GetInstance.getInstance (GetInstance.java:164)
  at javax.net.ssl.SSLContext.getInstance (SSLContext.java:168)
  at javax.net.ssl.SSLContext.getDefault (SSLContext.java:99)
  at javax.net.ssl.SSLSocketFactory.getDefault (SSLSocketFactory.java:123)
  at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory
  (HttpsURLConnection.java:335)
  at
   .......
  ---------------------------------------------------
  
  Caused by: java.lang.IllegalArgumentException: Error in security property. Constraint unknown:
  jdk.disabled.namedCurvesat
  java.base/sun.security.util.DisabledAlgorithmConstraints$Constraints.&lt;init&gt;(DisabledAlgorithmCo
  nstraints.java:329)
  at
  java.base/sun.security.util.DisabledAlgorithmConstraints.&lt;init&gt;(DisabledAlgorithmConstraints.java
  :100)
  at
  java.base/sun.security.ssl.SSLAlgorithmConstraints.&lt;clinit&gt;(SSLAlgorithmConstraints.java:45)
  ... 84 more
  </code></pre>
  <p>Thank you for help !</p>