Right and the problem we are facing is that Central is now forcing us to
use "https" to do this step

https://github.com/apache/karaf/blob/master/itests/common/src/main/java/org/apache/karaf/itests/KarafTestSupport.java#L177

and instead the fallback repository that pax url aether resolver is
using are still "http://repo1.maven.org/maven2";.

cheers,
jared



On 2020-03-05 2:08 p.m., Jean-Baptiste Onofré wrote:
> Hi Jared,
> 
> I mean that you can define the pax-url configuration in
> the @Configuration. It's where you can define the repositories URL,
> especially you have to use https for Central (it will be changed by
> default in Karaf 4.2.9):
> 
> https://github.com/apache/karaf/blob/master/itests/common/src/main/java/org/apache/karaf/itests/KarafTestSupport.java#L211
> 
> Regards
> JB
> 
> On Thu, Mar 5, 2020 at 8:38 PM Jared Whiklo <jwhi...@gmail.com
> <mailto:jwhi...@gmail.com>> wrote:
> 
>     Sorry JB, I don't know what you mean by that?
> 
>     Is this outside of the actual test? Is there a configuration file I
>     should have somewhere specific that defines this?
> 
>     I am really quite a novice at Pax Exam stuff.
> 
>     cheers,
>     jared
> 
>     On 2020-03-05 1:32 p.m., Jean-Baptiste Onofré wrote:
>     > Why not simply update the pax url cfg file in the pax exam config ?
>     >
>     > Regards 
>     > JB
>     >
>     > Le jeu. 5 mars 2020 à 20:01, Jared Whiklo <jwhi...@gmail.com
>     <mailto:jwhi...@gmail.com>
>     > <mailto:jwhi...@gmail.com <mailto:jwhi...@gmail.com>>> a écrit :
>     >
>     >     Thank you Grzegorz,
>     >
>     >     Here is the test currently
>     >
>     >   
>      
> https://github.com/whikloj/Alpaca/blob/fix-pax-exam/karaf/src/test/java/ca/islandora/alpaca/karaf/KarafIT.java
>     >
>     >     The only solution I have found is to change my personal maven
>     >     settings.xml to include a repository or mirror for Maven central
>     >     with the https scheme.
>     >
>     >     But unfortunately that means anyone trying to build this also
>     >     requires that setup (and Travis-CI), which makes it seem like
>     it is
>     >     not the correct solution.
>     >
>     >     cheers,
>     >     jared
>     >
>     >     On Wednesday, 4 March 2020 23:48:12 UTC-6, Grzegorz Grzybek wrote:
>     >
>     >         Hello
>     >
>     >         Can you share your failing test via Github? I run many Karaf
>     >         Pax-Exam tests everyday...
>     >
>     >         regards
>     >         Grzegorz Grzybek
>     >
>     >     --
>     >     --
>     >     ------------------
>     >     OPS4J - http://www.ops4j.org - ops4j@googlegroups.com
>     <mailto:ops4j@googlegroups.com>
>     >     <mailto:ops4j@googlegroups.com <mailto:ops4j@googlegroups.com>>
>     >
>     >     ---
>     >     You received this message because you are subscribed to the Google
>     >     Groups "OPS4J" group.
>     >     To unsubscribe from this group and stop receiving emails from it,
>     >     send an email to ops4j+unsubscr...@googlegroups.com
>     <mailto:ops4j%2bunsubscr...@googlegroups.com>
>     >     <mailto:ops4j+unsubscr...@googlegroups.com
>     <mailto:ops4j%2bunsubscr...@googlegroups.com>>.
>     >     To view this discussion on the web visit
>     >   
>      
> https://groups.google.com/d/msgid/ops4j/97913dd1-3c66-4f64-87f5-1febc9d2a63d%40googlegroups.com
>     >   
>      
> <https://groups.google.com/d/msgid/ops4j/97913dd1-3c66-4f64-87f5-1febc9d2a63d%40googlegroups.com?utm_medium=email&utm_source=footer>.
>     >
>     > --
>     > --
>     > ------------------
>     > OPS4J - http://www.ops4j.org - ops4j@googlegroups.com
>     <mailto:ops4j@googlegroups.com>
>     >
>     > ---
>     > You received this message because you are subscribed to a topic in the
>     > Google Groups "OPS4J" group.
>     > To unsubscribe from this topic, visit
>     > https://groups.google.com/d/topic/ops4j/pJ98QaBVPfE/unsubscribe.
>     > To unsubscribe from this group and all its topics, send an email to
>     > ops4j+unsubscr...@googlegroups.com
>     <mailto:ops4j%2bunsubscr...@googlegroups.com>
>     > <mailto:ops4j+unsubscr...@googlegroups.com
>     <mailto:ops4j%2bunsubscr...@googlegroups.com>>.
>     > To view this discussion on the web visit
>     >
>     
> https://groups.google.com/d/msgid/ops4j/CAB8EV3TxumiSJ1y-eDFeoXPvsJn_X3HWqfikSBmhWyrd%3DBXFFQ%40mail.gmail.com
>     >
>     
> <https://groups.google.com/d/msgid/ops4j/CAB8EV3TxumiSJ1y-eDFeoXPvsJn_X3HWqfikSBmhWyrd%3DBXFFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
>     -- 
>     Jared Whiklo
>     Pronouns: he/him/his
>     jwhi...@gmail.com <mailto:jwhi...@gmail.com>
>     --------------------------------------------------
>     I've learned that you shouldn't compare yourself to others - they are
>     more screwed up than you think.
> 
>     -- 
>     -- 
>     ------------------
>     OPS4J - http://www.ops4j.org - ops4j@googlegroups.com
>     <mailto:ops4j@googlegroups.com>
> 
>     ---
>     You received this message because you are subscribed to the Google
>     Groups "OPS4J" group.
>     To unsubscribe from this group and stop receiving emails from it,
>     send an email to ops4j+unsubscr...@googlegroups.com
>     <mailto:ops4j%2bunsubscr...@googlegroups.com>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/ops4j/97bebfae-5840-4b2c-e33c-0db7f2af472f%40gmail.com.
> 
> -- 
> -- 
> ------------------
> OPS4J - http://www.ops4j.org - ops4j@googlegroups.com
> 
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OPS4J" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ops4j/pJ98QaBVPfE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com
> <mailto:ops4j+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ops4j/CAB8EV3S5ZODmZgDBao3O5FjUYyDTzyd24KMtvJRWxTNyunkKKg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ops4j/CAB8EV3S5ZODmZgDBao3O5FjUYyDTzyd24KMtvJRWxTNyunkKKg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
Jared Whiklo
Pronouns: he/him/his
jwhi...@gmail.com
--------------------------------------------------
Not one shred of evidence supports the notion that life is serious.

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ops4j+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/342d2b94-d9d1-2dac-4181-da101f69981f%40gmail.com.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to