I have this: https://github.com/whikloj/Alpaca/blob/fix-pax-exam/karaf/src/test/java/ca/islandora/alpaca/karaf/KarafIT.java#L146-L150
Is that correct? Because it is not being used to download apache-karaf and instead I fallback to the http://repo1.maven.org/maven2 and get Caused by: java.io.IOException: Error resolving artifact org.apache.karaf:apache-karaf:zip:4.0.6: Could not transfer artifact org.apache.karaf:apache-karaf:zip:4.0.6 from/to central (http://repo1.maven.org/maven2/): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/karaf/apache-karaf/4.0.6/apache-karaf-4.0.6.zip. Return code is: 501 , ReasonPhrase:HTTPS Required. 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 <[email protected] > <mailto:[email protected]>> 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 <[email protected] > <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> 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 - [email protected] > <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>> > > > > --- > > 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 [email protected] > <mailto:ops4j%[email protected]> > > <mailto:[email protected] > <mailto:ops4j%[email protected]>>. > > 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 - [email protected] > <mailto:[email protected]> > > > > --- > > 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 > > [email protected] > <mailto:ops4j%[email protected]> > > <mailto:[email protected] > <mailto:ops4j%[email protected]>>. > > 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 > [email protected] <mailto:[email protected]> > -------------------------------------------------- > I've learned that you shouldn't compare yourself to others - they are > more screwed up than you think. > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > <mailto:[email protected]> > > --- > 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 [email protected] > <mailto:ops4j%[email protected]>. > 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 - [email protected] > > --- > 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 > [email protected] > <mailto:[email protected]>. > 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 [email protected] -------------------------------------------------- Age is a very high price to pay for maturity. -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/863de98e-c9ec-6071-ea4d-770f769f14d4%40gmail.com.
signature.asc
Description: OpenPGP digital signature
