maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@gmail.com>
Subject Re: Build failed in Jenkins: Maven TLP » maven » master #14
Date Sat, 19 May 2018 21:01:58 GMT
On Sat, May 19, 2018 at 2:46 PM Hervé BOUTEMY <herve.boutemy@free.fr> wrote:

> Le samedi 19 mai 2018, 13:05:28 CEST Arnaud Héritier a écrit :
> > No objection for our build.
> > With the switch of central to TLS 1.2 soon should we have a dedicated
> wiki
> > page to try to reference what is know to work / not work with it ?
> in fact, once Java 7u80 and "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" were
> able to download from central, I though TLS 1.2 was globally enabled
>
> it seems I was wrong: TLS 1.2 is enabled in Maven core using Maven
> Artifact
> Resolver using Commons HTTP
> but here, it's Plexus Resources using java.net.URL: I could not find any
> documentation on this
>
> it's surprising that Maven has to document such a common thing...
>
>
If it's just the Java / JVM config which is applying maybe it's not
necessary.
But if it depends of the component / plugin ... it might be better to avoid
the frustration to understand why it is working in some cases and not
others.

WDYT ?


> Regards,
>
> Hervé
>
> >
> > Le sam. 19 mai 2018 à 11:41, Hervé Boutemy <hboutemy@apache.org> a
> écrit :
> > > Maven master branch build is failing on ASF Jenkins for one week
> > >
> > > looks related to TLS 1.2 only support on https://www.apache.org/, when
> > > the build is currently done with JDK 7u80 which has TLS 1.2 disabled by
> > > default
> > > I tried to enable TLS 1.2 adding
> "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
> > > option, but it does not work (works for dependencies download through
> > > Maven
> > > Artifact Resolver + Wagon, but the failing code uses directly
> > > java.net.URL.openStream() )
> > >
> > > IMHO, the simplest solution is to update our Maven core Jenkinsfile to
> > > build with Java 8, since it's completely decoupled from the ITs run
> > > (happening with misc JDK and OSes)
> > >
> > > Any objection?
> > >
> > > Regards,
> > >
> > > Hervé
> > >
> > > Le vendredi 18 mai 2018, 22:55:37 CEST Apache Jenkins Server a écrit :
> > > > See https://builds.apache.org/job/maven-box/job/maven/job/master/14/
> > >
> > > [...]
> > >
> > >
> /home/jenkins/jenkins-slave/workspace/maven-box_maven_master-DVEN5KAF4FLE3
> > > W
> > >
> > > > DK7SWFNYUY4YZ7X45JVWYY6FZT5ZEB3CLWABVQ/build@tmp
> /withMavenad34b80f/maven
> > > > -spy-20180518-204908-5204043768156831218729.log>
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
> > > (process-resource-bundles) on project apache-maven: Error rendering
> > > velocity resource. Invocation of method 'getResourceAsFile' in  class
> > > org.codehaus.plexus.resource.DefaultResourceManager threw exception
> > > org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could
> not
> > > find resource 'https://www.apache.org/licenses/LICENSE-2.0.txt'. at
> > > remote-resources[line 38, column 26] -> [Help 1]
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > > --
> >
> > -----
> > Arnaud Héritier
> > http://aheritier.net
> > Mail/GTalk: aheritier AT gmail DOT com
> > Twitter/Skype : aheritier
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

-- 
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message