You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothée Maret (Jira)" <ji...@apache.org> on 2020/06/23 08:29:01 UTC

[jira] [Closed] (SLING-9010) itests fail because maven central now only accepts https

     [ https://issues.apache.org/jira/browse/SLING-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothée Maret closed SLING-9010.
---------------------------------

> itests fail because maven central now only accepts https
> --------------------------------------------------------
>
>                 Key: SLING-9010
>                 URL: https://issues.apache.org/jira/browse/SLING-9010
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal ITs 0.1.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal ITs 0.1.2
>
>
> I saw build failures in:
> [https://builds.apache.org/job/Sling/job/sling-org-apache-sling-distribution-journal-it/job/master/259/console]
>  
> It seems the problem is related to the change of maven central offering https now exclusively.
>  
> For normal maven builds this works as recent maven versions also use https. Unfortunately it seems pax exam still (aether) still
> uses http, so it fails.
>  
>  I was able to work around this by setting:repository("[https://repo1.maven.org/maven2]").id("central")in the pax exam configuration.
> Unfortunately I think I hit a pax exam error. In sling TestSupport we already define such a repository for apache snapshots. Now when adding another one pax exam fails with some error stating that the repo url would begin with "+" which is invalid.
> I worked around that by redefining the base configuration without adding the apache snapshot repo.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)