Hi Oleg, I am a newer Karaf user/developer. Does the range in a ")"?
Thank you, Joe Dean PTO Alert: Apr 2nd | Apr 5th - 9th From: Oleg Cohen <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, March 29, 2021 at 9:12 AM To: "[email protected]" <[email protected]> Subject: Re: Issue with building custom 4.3.0 distribution against my own Nexus 3 EXTERNAL EMAIL - Use caution opening attachments and links. Thank you! I was able to blacklist 1.0.0 as below, but [1,2) isn’t working and I get this error: [WARNING] Matched URI can't use version ranges: mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features Where is it coming from and how can I override the entry list? <blacklistedRepositories> <repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/1.0.0/xml/features</repository> <repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features</repository> </blacklistedRepositories> On Mar 29, 2021, at 11:41 AM, Jean-Baptiste Onofre <[email protected]<mailto:[email protected]>> wrote: 1.1.4 is the last and clean (it should ;) ) Regards JB Le 29 mars 2021 à 16:33, Oleg Cohen <[email protected]<mailto:[email protected]>> a écrit : Hi JB, It is a proxy. I have the artifact there, but I think the error is that the artifact is too old. Which one is the right one to use? Thank you! Oleg On Mar 29, 2021, at 10:23 AM, Jean-Baptiste Onofre <[email protected]<mailto:[email protected]>> wrote: Hi Oleg, It seems that it can’t download mvn:org.ops4j.pax.cdi/pax-cdi-features/1.0.0/xml/features resolved based on the range. I guess your Nexus repository is a proxy right ? Regards JB Le 29 mars 2021 à 15:49, Oleg Cohen <[email protected]<mailto:[email protected]>> a écrit : Greetings, I am getting the following error when trying to build a custom distribution for Karaf v4.3.0 pointing to my own Nexus 3 repository. This works when I use Maven Central. Not sure what is causing the issue. Below is the error message. Is there a way to specify v1.1.3 or v1.1.4 of pax-cdi-features to be used? Would appreciate help on resolving this issue! Best, Oleg [WARNING] Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1,2): [Could not find metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml in local (/Users/ocohen/.m2/repository), Could not transfer metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml from/to nexus (https://nexus3.assurebridge.com/content/groups/public<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcXX9fe2MA$>): NotAfter: Sat May 30 06:48:38 EDT 2020, Could not transfer metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml from/to nexus (https://nexus3.assurebridge.com/content/groups/public/<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public/__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcVvGLTcVw$>): NotAfter: Sat May 30 06:48:38 EDT 2020] java.io.IOException: Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1,2): [Could not find metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml in local (/Users/ocohen/.m2/repository), Could not transfer metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml from/to nexus (https://nexus3.assurebridge.com/content/groups/public<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcXX9fe2MA$>): NotAfter: Sat May 30 06:48:38 EDT 2020, Could not transfer metadata org.ops4j.pax.cdi:pax-cdi-features/maven-metadata.xml from/to nexus (https://nexus3.assurebridge.com/content/groups/public/<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public/__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcVvGLTcVw$>): NotAfter: Sat May 30 06:48:38 EDT 2020] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException (AetherBasedResolver.java:803) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:780) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:657) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:598) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:565) at org.apache.karaf.tooling.utils.ReactorMavenResolver.resolve (ReactorMavenResolver.java:63) at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download (MavenDownloadTask.java:49) at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run (AbstractRetryableDownloadTask.java:60) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) at java.util.concurrent.FutureTask.run (FutureTask.java:264) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:304) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834) Caused by: shaded.org.eclipse.aether.resolution.VersionRangeResolutionException: Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1,2) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveLatestVersionRange (AetherBasedResolver.java:1068) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:765) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:657) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:598) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:565) at org.apache.karaf.tooling.utils.ReactorMavenResolver.resolve (ReactorMavenResolver.java:63) at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download (MavenDownloadTask.java:49) at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run (AbstractRetryableDownloadTask.java:60) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) at java.util.concurrent.FutureTask.run (FutureTask.java:264) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:304) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834) [WARNING] Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0: [Could not transfer artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0 from/to nexus (https://nexus3.assurebridge.com/content/groups/public<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcXX9fe2MA$>): NotAfter: Sat May 30 06:48:38 EDT 2020, Could not transfer artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0 from/to nexus (https://nexus3.assurebridge.com/content/groups/public/<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public/__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcVvGLTcVw$>): NotAfter: Sat May 30 06:48:38 EDT 2020] java.io.IOException: Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0: [Could not transfer artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0 from/to nexus (https://nexus3.assurebridge.com/content/groups/public<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcXX9fe2MA$>): NotAfter: Sat May 30 06:48:38 EDT 2020, Could not transfer artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0 from/to nexus (https://nexus3.assurebridge.com/content/groups/public/<https://urldefense.com/v3/__https:/nexus3.assurebridge.com/content/groups/public/__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcVvGLTcVw$>): NotAfter: Sat May 30 06:48:38 EDT 2020] at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException (AetherBasedResolver.java:803) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:774) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:657) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:598) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:565) at org.apache.karaf.tooling.utils.ReactorMavenResolver.resolve (ReactorMavenResolver.java:63) at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download (MavenDownloadTask.java:49) at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run (AbstractRetryableDownloadTask.java:60) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) at java.util.concurrent.FutureTask.run (FutureTask.java:264) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:304) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834) Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact org.ops4j.pax.cdi:pax-cdi-features:xml:features:1.0.0 at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:413) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:215) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:192) at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:247) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:767) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:657) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:598) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve (AetherBasedResolver.java:565) at org.apache.karaf.tooling.utils.ReactorMavenResolver.resolve (ReactorMavenResolver.java:63) at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download (MavenDownloadTask.java:49) at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run (AbstractRetryableDownloadTask.java:60) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515) at java.util.concurrent.FutureTask.run (FutureTask.java:264) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:304) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834) [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.3.0:assembly (default-assembly) on project clearvault: Unable to build assembly: Error: [ERROR] Error downloading mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features [ERROR] Error downloading mvn:org.ops4j.pax.cdi/pax-cdi-features/1.0.0/xml/features -- Oleg Cohen | Principal | A S S U R E B R I D G E Office: +1 617 564 0737 | Mobile: +1 617 455 7927 | Fax: +1 888 409 6995 Email: [email protected]<mailto:[email protected]> | www.assurebridge.com<https://urldefense.com/v3/__http:/www.assurebridge.com/__;!!AMCWqqRremt4Wx4!HOxqR_gFr0eRUvvOTXZiw1VfPaesqLLQPWzEcGhGhC2tCB4k5GOYUcXBz2POyw$> ******************************************************************* IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to [email protected]. [BD.v1.0] ******************************************************************* This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you. ******************************************************************* Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A.
