Christian Schneider created SLING-9010:
------------------------------------------

             Summary: 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
             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)

Reply via email to