Re: Symlink instead of copy when downloading from "file://" repository

2024-09-16 Thread Tiago Bento
ven to create symlinks instead of > > copying dependencies when "downloading" them from a repository with > > the `file://` protocol? > > > > Reason would be increasing performance and saving disk space. > > > > If there's not an out-of-the-bo

Re: Symlink instead of copy when downloading from "file://" repository

2024-09-15 Thread Tamás Cservenák
un, Sep 15, 2024 at 2:03 AM Tiago Bento wrote: > > Hi Maven team, > > Is it possible to configure Maven to create symlinks instead of > copying dependencies when "downloading" them from a repository with > the `file://` protocol? > > Reason would be increasi

Re: Symlink instead of copy when downloading from "file://" repository

2024-09-15 Thread Tamás Cservenák
ssible to configure Maven to create symlinks instead of > copying dependencies when "downloading" them from a repository with > the `file://` protocol? > > Reason would be increasing performance and saving disk space. > > If there's not an out-of-the-box way to achieve

Re: Symlink instead of copy when downloading from "file://" repository

2024-09-15 Thread Enrico Olivelli
Tiago, Il Dom 15 Set 2024, 02:03 Tiago Bento ha scritto: > Hi Maven team, > > Is it possible to configure Maven to create symlinks instead of > copying dependencies when "downloading" them from a repository with > the `file://` protocol? > > Reason would be in

Symlink instead of copy when downloading from "file://" repository

2024-09-14 Thread Tiago Bento
Hi Maven team, Is it possible to configure Maven to create symlinks instead of copying dependencies when "downloading" them from a repository with the `file://` protocol? Reason would be increasing performance and saving disk space. If there's not an out-of-the-box way to ac

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-27 Thread Karl Heinz Marbaise
copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the repository to a defined location." it copies as stated... The question is what you expect to be copied and furthermore the the more important question: Why do you need to copy those parts?

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
> org.apache.maven.doxia:doxia-site-renderer:jar:1.11.1 (compile) > (plugin) > org.apache.maven.reporting:maven-reporting-impl:jar:3.2.0 > (compile) (plugin) > org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.1 () > (plugin) > > Repository: central (https://repo.

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
roblem correct, because based on the > >> copy-dependencies goal as stated in the docs: > >> > >> "Goal that copies the project dependencies from the repository to a > >> defined location." > >> > >> it copies as stated... > >> &

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
On Wed, Jun 26, 2024 at 1:36 AM Nils Breunese wrote: > Robert Turner wrote: > > > The "problem" is not that the old log4j gets copied to the output folder, > > it's that it is fetched into the local Maven cache / repository, which is > > then picked

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Tamás Cservenák
:jar:3.2.0 (compile) (plugin) org.apache.maven.plugins:maven-dependency-plugin:jar:3.7.1 () (plugin) Repository: central (https://repo.maven.apache.org/maven2/, default, releases) So, this node was _collected_ due commons-logging 1.1, and POM commons-logging 1.1 really states dep on log4j 1.2.12: https://repo.mav

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Karl Heinz Marbaise
Hi, On 26.06.24 03:51, Robert Turner wrote: On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise wrote: Hi, I'm not sure if I understand your problem correct, because based on the copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the rep

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Nils Breunese
Robert Turner wrote: > The "problem" is not that the old log4j gets copied to the output folder, > it's that it is fetched into the local Maven cache / repository, which is > then picked up by security tooling (which of course complains that it is > ancient and has vul

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
docs: >> >> "Goal that copies the project dependencies from the repository to a >> defined location." >> >> it copies as stated... >> >> The question is what you expect to be copied and furthermore the the >> more important question: Why do you n

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise wrote: > Hi, > > I'm not sure if I understand your problem correct, because based on the > copy-dependencies goal as stated in the docs: > > "Goal that copies the project dependencies from the repository to a > d

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Karl Heinz Marbaise
Hi, I'm not sure if I understand your problem correct, because based on the copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the repository to a defined location." it copies as stated... The question is what you expect to be copied

per module repository settings

2024-06-25 Thread Delany
e selected modules. Effective pom shows the configuration is carried, but Maven/resolver ignores it. true never https://maven.apache.org/ref/3.9.8/maven-model/maven.html#class_snapshots The snapshot repository must remain enabled. Kind regards, Delany

maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-24 Thread Robert Turner
[1] flagged by security tooling as being present on our build servers in the Maven repository (~/.m2/repository). After a bit of digging, I managed to narrow down where it came from and when it got fetched, and I can reproduce in a pretty narrow use case as well. We have a library (jar) that get

Re: central repository not overridden when chaining BOMs

2024-06-14 Thread Nick Stolwijk
Hi Mattia, Redefining the repository is an unusual way of using a mirror. I don't know if it solves your problem, but have you tried to define the mirror instead of a repository? See https://maven.apache.org/guides/mini/guide-mirror-settings.html Hope this helps, Nick Stolwijk ~~~ Try to

central repository not overridden when chaining BOMs

2024-06-14 Thread mattia fattorello
://repo.maven.apache.org/maven2, default, releases)] But I don't understand why, only for the BOM dependency inside another BOM, the central repository is not overridden. Thanks for any help. Mattia

Deprecate dependency:purge-local-repository, build-helper:remove-project-artifact

2024-05-12 Thread Slawomir Jaranowski
Hi We have similar goals in two plugins: - https://www.mojohaus.org/build-helper-maven-plugin/remove-project-artifact-mojo.html - https://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html By the way, using such goals is not recommended today with Maven 3 and so

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Stanimir Stamenkov
Thu, 29 Feb 2024, /Tamás Cservenák/: am not Windows user, but we had several reports about issues, like this one: https://issues.apache.org/jira/browse/MRESOLVER-372 I see. Thank you for the reference. As far as I'm aware, such "access denied" exceptions on Windows are not specific to atomi

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Tamás Cservenák
Howdy, am not Windows user, but we had several reports about issues, like this one: https://issues.apache.org/jira/browse/MRESOLVER-372 T On Thu, Feb 29, 2024 at 1:40 PM Stanimir Stamenkov wrote: > Thu, 29 Feb 2024, /Tamás Cservenák/: > > > Resolver 1.9.18 uses the temp file technique you desc

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Stanimir Stamenkov
Thu, 29 Feb 2024, /Tamás Cservenák/: Resolver 1.9.18 uses the temp file technique you describe: copies to (random) temp file located in the same directory where target file is, and then atomically moves the file to its place (unless OS is windows, for obvious reasons). Doesn't atomic file mo

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Tamás Cservenák
Hi. > > How resilient is Maven to JVM being killed (K8s POD being killed) while it > is installing artifact files into a local repository? Does it do the copy > into a temporary file then rename method or does it copy into the target > artifact file directly? > > -- > VH >

Maven resilience to interrupted install to local repository

2024-02-29 Thread Václav Haisman
Hi. How resilient is Maven to JVM being killed (K8s POD being killed) while it is installing artifact files into a local repository? Does it do the copy into a temporary file then rename method or does it copy into the target artifact file directly? -- VH

Unable to access https repository through http proxy

2023-08-08 Thread LUHEERATHAN THEVAKUMAR
Hi, Please add me to this mailing list. I have an issue. I am working on a feature which deploys/fetches Ballerina artifacts to/from maven repositories. I need to add the proxy support as a part of the implementation. When I try to publish an artifact to github-maven-registry through an http proxy(

Re: Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
lo, > > > > I'm interested by [MNG-7612 < > > https://issues.apache.org/jira/browse/MNG-7612>] > > - Chained Local Repository. > > In Jira, feature is described to be for IT testings, I suppose Maven > plugin > > IT. > > Does it trully limited?

Re: Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Tamás Cservenák
e: > Hello, > > I'm interested by [MNG-7612 < > https://issues.apache.org/jira/browse/MNG-7612>] > - Chained Local Repository. > In Jira, feature is described to be for IT testings, I suppose Maven plugin > IT. > Does it trully limited? Or can we image using it in ot

Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
Hello, I'm interested by [MNG-7612 <https://issues.apache.org/jira/browse/MNG-7612>] - Chained Local Repository. In Jira, feature is described to be for IT testings, I suppose Maven plugin IT. Does it trully limited? Or can we image using it in others usecases? I've in mind share

Re: How to configure Maven for an overloaded intranet repository?

2022-09-29 Thread Benjamin Marwell
ry large enterprise that uses a centralized intranet maven > repository to get artifacts from. It often has load issues that result in > builds failing with "failed to respond". The team that maintains it is > working towards eventual mitigations for that, but it will be quite a w

How to configure Maven for an overloaded intranet repository?

2022-09-29 Thread David Karr
I work in a very large enterprise that uses a centralized intranet maven repository to get artifacts from. It often has load issues that result in builds failing with "failed to respond". The team that maintains it is working towards eventual mitigations for that, but it will be qui

Re: Re: Apache 3.8.5 installAtEnd not working when another repository is defined

2022-06-25 Thread mfriedenhagen
Hi Tamás, thanks for the quick answer. Interesting solution to use extension here. Best Regards Mirko Friedenhagen — Sent from my mobile Am 25.06.22 um 20:10 schrieb Tamás Cservenák > Created issue https://github.com/mfriedenhagen/atend/issues/1 in your > reproducer detailing what is needed t

Re: Apache 3.8.5 installAtEnd not working when another repository is defined

2022-06-25 Thread Tamás Cservenák
Created issue https://github.com/mfriedenhagen/atend/issues/1 in your reproducer detailing what is needed to be changed and why is needed. T On Sat, Jun 25, 2022 at 8:04 PM Tamás Cservenák wrote: > Howdy, > > your reproducer works, as long you set m-install-p and m-deploy-p as > having extensio

Re: Apache 3.8.5 installAtEnd not working when another repository is defined

2022-06-25 Thread Tamás Cservenák
Howdy, your reproducer works, as long you set m-install-p and m-deploy-p as having extensions. https://gist.github.com/cstamas/191a6bb660c7b1cca1a325248af30d1f I think that w/o settings it just works "by chance" (as it works, try out reproducer w/o -s settings-oss.xml) Once this PR is merged and

Apache 3.8.5 installAtEnd not working when another repository is defined

2022-06-25 Thread Mirko Friedenhagen
Hello, I just ran into this issue: * In some Maven projects we activate additional repositories in settings.xml with the help of a marker file in a project. * With 3.8.4 using `installAtEnd` resp. `deployAtEnd` do work properly, with 3.8.5 and 3.8.6 nothing is installed or deployed. * I created

Re: Repository metadata mirror list outdated

2021-12-09 Thread Anders Hammar
Thanks for reporting! I filed MNG-7356 [1] for this. [1] https://issues.apache.org/jira/browse/MNG-7356 /Anders On Fri, Dec 10, 2021 at 7:44 AM Matthew Blissett wrote: > Hi, > > The mirror list ("A list of known mirrors is available in the Repository > Metadata&q

Repository metadata mirror list outdated

2021-12-09 Thread Matthew Blissett
Hi, The mirror list ("A list of known mirrors is available in the Repository Metadata") given on https://maven.apache.org/guides/mini/guide-mirror-settings.html, and thus the repository metadata itself: https://repo.maven.apache.org/maven2/.meta/repository-metadata.xml is o

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-12-02 Thread Michael Osipov
* Build this one first: https://github.com/apache/maven/tree/maven-3.8.x-resolver-1.7.x (https://maven.apache.org/resolver/maven-3.8.x.html) * Follow this guide: https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html If you have failures, follow this guide: * https:/

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-11-28 Thread Delany
Hi Tamas, I've been trying the Redisson approach for the last 7 weeks, but my machine locks up every second or third build for long periods of time 5-20min. I'm on Ubuntu running the Redis 6.2.6 snap using the Maven 3.8.3 and 3.8.4 wrapper. I followed these instructions to setup Edit the file *${

Re: Avoid illegal access error from sonatype repository

2021-10-13 Thread Manuel Dahmen
Yes, it works fine with the 1.4.15 and plugin dependency. Thank you for the advice. I have been blocked for 5 months with this issue. Le mer. 13 oct. 2021 à 16:24, Alexander Kriegisch a écrit : > Probably you added the XStream dependency because on JDK 16+ Nexus > Staging Maven Plugin does not w

Re: Avoid illegal access error from sonatype repository

2021-10-13 Thread Alexander Kriegisch
Probably you added the XStream dependency because on JDK 16+ Nexus Staging Maven Plugin does not work anymore without upgrading it (or you need a lot of add-opens options on the Java command line). I noticed in my own projects that version 1.4.15 works nicely on JDKs 16 and 17, while 1.4.18 causes

Re: Avoid illegal access error from sonatype repository

2021-10-13 Thread Nils Breunese
Manuel Dahmen wrote: > I don't understand why XStream library is loaded since I don't have this in > my dependencies. > > pom.xml: > https://github.com/manuelddahmen/empty3/blob/android/pom.xml I do see this dependency at https://github.com/manuelddahmen/empty3/blob/android/pom.xml#L308-L312

Re: Avoid illegal access error from sonatype repository

2021-10-13 Thread Anders Hammar
The XStream library is most likely used by some plugin, but it's hard to tell as you don't include the actual build output. /Anders On Wed, Oct 13, 2021 at 1:58 PM Manuel Dahmen wrote: > Hello, good evening, > > I have 1 Java Maven project. > > I don't understand why XStream library is loaded s

Avoid illegal access error from sonatype repository

2021-10-13 Thread Manuel Dahmen
Hello, good evening, I have 1 Java Maven project. I don't understand why XStream library is loaded since I don't have this in my dependencies. pom.xml: https://github.com/manuelddahmen/empty3/blob/android/pom.xml To publish it I use: mvn deploy perform:release I have a warning: illegal reflec

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-08 Thread Delany
Thanks Tamás. Since I use the wrapper, I was thinking there's a case for Maven wrapper variants. But I guess this is what containers are all about anyway. Delany On Thu, 7 Oct 2021 at 11:32, Tamás Cservenák wrote: > Hi Delany, > > from Sisu website: "Sisu is a modular JSR330-based container that

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-07 Thread Tamás Cservenák
Hi Delany, from Sisu website: "Sisu is a modular JSR330-based container that supports *classpath scanning*, *auto-binding*, and *dynamic auto-wiring*. Sisu uses Google-Guice to perform dependency injection and provide the core JSR330 support, but removes the need to write explicit bindings in Guic

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-07 Thread Delany
Michael, could you clarify this line pls: "It only works when Sisu DI is used and not the bundled AetherModule or ServiceLocator (Maven uses Sisu dependency injection)." https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html What should I do about this issue? Thanks, Del

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Michael Osipov
Am 2021-10-06 um 21:05 schrieb Francois Marot: Michael, I do not agree. As a user and maintainer of the build chain in my company, I think Maven would really benefit from an out of the box solution. I think any user is susceptible to the bug by launching multiple Maven instances at the same time

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Francois Marot
Michael, I do not agree. As a user and maintainer of the build chain in my company, I think Maven would really benefit from an out of the box solution. I think any user is susceptible to the bug by launching multiple Maven instances at the same time on his computer. Bugs then encountered are really

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Jacques Etienne Beaudet
not to use your work right now mostly because it would involve > setting up a Redis Database and my 'hack' still works (despite using a lot > of disk space and being a bit slow). > > If I understand correctly after Tams' message, your work is mostly geared > toward ru

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
after Tams' message, your work is mostly geared toward running multiple Maven build in parallel and on multiple hosts, all sharing one big "local" repository through the network. Am I correct ? In my case, I have multiple Jenkins workers but never thought about making them collaborat

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
geared toward running multiple Maven build in parallel and on multiple hosts, all sharing one big "local" repository through the network. Am I correct ? In my case, I have multiple Jenkins workers but never thought about making them collaborate on a shared "local" repo. I'll have

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Bernd Eckenfels
Betreff: Re: Local repository accessed by multiple Maven instances - how is it solved ? Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;) Will re-add file locking once I get there, as in my opinion it is the most "lightweight" MP

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
Tamás, Redis is so easy to install and get going in 5 minutes that I would rather see your energy go into areas which need more attention. M Am 2021-10-04 um 22:02 schrieb Tamás Cservenák: Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;)

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Tamás Cservenák
Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;) Will re-add file locking once I get there, as in my opinion it is the most "lightweight" MP (multi process) solution on a single host. Redis and Hazelcast are more for "farms", where several host

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Bernd Eckenfels
Von: Michael Osipov Gesendet: Monday, October 4, 2021 9:15:23 PM An: users@maven.apache.org Betreff: Re: Local repository accessed by multiple Maven instances - how is it solved ? Am 2021-10-04 um 14:31 schrieb Francois Marot: > Hello all, > > I would like clarificatio

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
Am 2021-10-04 um 14:31 schrieb Francois Marot: Hello all, I would like clarifications on MNG-2802[*] that seems to be solved. If I understand correctly it solves the problem where multiple simultaneous Maven executions shared the same local repository. I have been keeping for years a bit of

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Oliver Fischer
repository. I have been keeping for years a bit of code in my Jenkinsfiles ensuring the local repos were accessed only by a single jenkins executor at the same time, so it seems like I can get rid of this doesn't it ? I'd like your input on this because reproducing the bug is difficult so I

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
ms to be solved. If I > > understand correctly it solves the problem where multiple simultaneous > > Maven executions shared the same local repository. > > I have been keeping for years a bit of code in my Jenkinsfiles ensuring > the > > local repos were accessed only by a singl

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Thomas Broyer
t 2:32 PM Francois Marot wrote: > Hello all, > > I would like clarifications on MNG-2802[*] that seems to be solved. If I > understand correctly it solves the problem where multiple simultaneous > Maven executions shared the same local repository. > I have been keeping for year

Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
Hello all, I would like clarifications on MNG-2802[*] that seems to be solved. If I understand correctly it solves the problem where multiple simultaneous Maven executions shared the same local repository. I have been keeping for years a bit of code in my Jenkinsfiles ensuring the local repos

Looking for code examples for working with repository metadata

2021-07-18 Thread Torsten Liermann
Hi, can someone give me a tip where I can find code examples for dealing with repository metadata? The versions-maven-plugin uses massively deprecated code, projects like pom manipulation extension (Redhat) or this one here: https://github.com/andreasaronsson/nextversion-maven-plugin use

Multimodule project setup & publishing to Sonatype Central Repository

2021-05-08 Thread Dávid Kepič
Hello Maven users, first of all, I hope that you are well. Recently, I've been working on a Java API for Minecraft plugin developers (that, however, does not matter at all). I have a multimodule project, consisting of 3 modules: core, proxy and backend. The core module is the API itself. The othe

Re: list of libraries in maven local repository

2021-03-09 Thread Oliver B. Fischer
. -name "myJar.jar"? Am 09.03.21 um 12:03 schrieb Nikos Karamolegkos: I know but in which sub-folder of the repository? On 9/3/21 12:47 μ.μ., Oliver B. Fischer wrote: The default configuration of Maven is to have its local repository in the directory ./m2/repository. Below this directory

Re: list of libraries in maven local repository

2021-03-09 Thread Nikos Karamolegkos
I know but in which sub-folder of the repository? On 9/3/21 12:47 μ.μ., Oliver B. Fischer wrote: The default configuration of Maven is to have its local repository in the directory ./m2/repository. Below this directory you should find your artifact. Am 09.03.21 um 11:25 schrieb Nikos

Re: list of libraries in maven local repository

2021-03-09 Thread Oliver B. Fischer
The default configuration of Maven is to have its local repository in the directory ./m2/repository. Below this directory you should find your artifact. Am 09.03.21 um 11:25 schrieb Nikos Karamolegkos: Hello, I am trying to add a library to my maven local repository using ./gradlew

list of libraries in maven local repository

2021-03-09 Thread Nikos Karamolegkos
Hello, I am trying to add a library to my maven local repository using ./gradlew publishToMavenLocal. How can I check that the library is really installed to the repository? Thank you -- Nikos Karamolegkos R & D engineer at ICS-FORTH Telecommunications and Networks Lab

Re: overriding central repository

2020-12-30 Thread Michael Osipov
. When they are legit reasons to do this you should file an issue describing your usecase and why this is a way to go. M -Original Message- From: Michael Osipov Sent: Wednesday, December 30, 2020 6:19 AM To: users@maven.apache.org Subject: Re: overriding central repository Am 2020

RE: overriding central repository

2020-12-30 Thread De Mello, Paul
? Thanks, Paul -Original Message- From: Michael Osipov Sent: Wednesday, December 30, 2020 6:19 AM To: users@maven.apache.org Subject: Re: overriding central repository Am 2020-12-29 um 20:04 schrieb De Mello, Paul: > Hi, I hope this is the right place to ask this. > > I hav

Re: overriding central repository

2020-12-30 Thread Michael Osipov
Am 2020-12-29 um 20:04 schrieb De Mello, Paul: Hi, I hope this is the right place to ask this. I have overridden the central repository in my pom (with a corporate artifactory repo). On a clean .m2, when I run mvn package, all of my dependencies download from this artifactory repo. Perfect

overriding central repository

2020-12-30 Thread De Mello, Paul
Hi, I hope this is the right place to ask this. I have overridden the central repository in my pom (with a corporate artifactory repo). On a clean .m2, when I run mvn package, all of my dependencies download from this artifactory repo. Perfect. During this process all of the Downloaded

Re: Maven goes to repository for a dependency from reactor

2020-11-28 Thread Anton Vodonosov
>>>   Best regards, >>>   - Anton >>> >>>   27.11.2020, 00:15, "Falko Modler" : >>>   > Try: mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.2:tree >>>   > >>>   > I'll actually work with 3.0.1+ but not wi

Re: Maven goes to repository for a dependency from reactor

2020-11-28 Thread Anton Vodonosov
that repo. >>  > >>  > Am 25.11.2020 um 22:18 schrieb Anton Vodonosov: >>  >> When I run `mvn -X dependency:tree` in the root directory >>  >> of redisson (https://github.com/redisson/redisson), I get the below >>  error. >>  >> >&g

Re: Maven goes to repository for a dependency from reactor

2020-11-28 Thread Nick Stolwijk
which is the default for > > that repo. > > > > Am 25.11.2020 um 22:18 schrieb Anton Vodonosov: > >> When I run `mvn -X dependency:tree` in the root directory > >> of redisson (https://github.com/redisson/redisson), I get the below > error. > >> &g

Re: Maven goes to repository for a dependency from reactor

2020-11-27 Thread Anton Vodonosov
lve the `redisson` dependency >>  of the `redisson-all` module using a remote repository, when `redisson` >>  is a part of the reactor? >>   >> https://github.com/redisson/redisson/blob/683b0dfce2c97c576722176019f14404d1bf7223/pom.xml#L55 >>   >> https://g

Re: Maven goes to repository for a dependency from reactor

2020-11-26 Thread Falko Modler
b.com/redisson/redisson), I get the below error. Question: why does maven tries to resolve the `redisson` dependency of the `redisson-all` module using a remote repository, when `redisson` is a part of the reactor? https://github.com/redisson/redisson/blob/683b0dfce2c97c576722176019f14404d1bf7223/po

Maven goes to repository for a dependency from reactor

2020-11-25 Thread Anton Vodonosov
When I run `mvn -X dependency:tree` in the root directory of redisson (https://github.com/redisson/redisson), I get the below error. Question: why does maven tries to resolve the `redisson` dependency of the `redisson-all` module using a remote repository, when `redisson` is a part of the reactor

Re: Return a custom error message from the repository

2020-09-10 Thread Hervé BOUTEMY
strategy that will have to be implemented by webservers serving content in Maven2 repository format Regards, Hervé [1] https://issues.apache.org/jira/browse/MNG-6584 Le mercredi 9 septembre 2020, 00:13:21 CEST Steve Abrams a écrit : > Hello, > > I'm working on the GitLab maven repo

Return a custom error message from the repository

2020-09-08 Thread Steve Abrams
Hello, I'm working on the GitLab maven repository and was trying to find out if there is a way to attach a custom error message (or any custom message in general) to the response so when a command like "mvn deploy" fails due to an error in the remote repository, the user can s

Re: Maven Versions Plugin scans whole Maven repository

2020-07-22 Thread Nick Stolwijk
t, depending on > how the dependency on Spring Boot artifact is declared and which Spring > Boot artifact it is. > > -- > Dennis Lundberg > > > Den lör 11 juli 2020 kl 08:39 skrev Lukáš Satin : > > > Hi, > > > > Maven Versions Plugin scans whole Maven r

Re: Maven Versions Plugin scans whole Maven repository

2020-07-22 Thread Dennis Lundberg
ole Maven repository. > > It takes about 1 hour and scans everything from com.google.* and > org.springframework.* plus other packages while they are nowhere in the > pom.xml! There is only org.springbootframework.boot, org.apache.commons, > com.oracle! > > I read all articles, FAQ.

Fetching checksums + remote repository URL

2020-07-20 Thread Farid Zakaria
Hello! Wouldn't mind a bit of help or maybe some advice to the right direction. I'm trying to leverage the *Aether* API to calculate when given a *pom.xml* the transitive closure for the project and spit out: 1. the remote repository URI to the artifact resolved 2. the checksum of th

Re: specifying repository URL on command line

2020-07-16 Thread Anton Vodonosov
Thank you, it works. 17.07.2020, 01:34, "Anthony Whitford" : > You will want to use settings.xml. > See https://maven.apache.org/settings.html > > >>  On Jul 16, 2020, at 3:31 PM, Anton Vodonosov wrote: >> >>  Is it possible to specify URL of artifact ser

Re: specifying repository URL on command line

2020-07-16 Thread Anthony Whitford
You will want to use settings.xml. See https://maven.apache.org/settings.html > On Jul 16, 2020, at 3:31 PM, Anton Vodonosov wrote: > > Is it possible to specify URL of artifact server > on command line (or somehow else externally to the project pom.xml

specifying repository URL on command line

2020-07-16 Thread Anton Vodonosov
Is it possible to specify URL of artifact server on command line (or somehow else externally to the project pom.xml)? For example, if I want to build a 3rd party project, and want it through my proxying artifact server, without modifications in the project's pom.xml file. -

Re: Maven Versions Plugin scans whole Maven repository

2020-07-11 Thread John Patrick
x27;re using it is a little hard to help more. Also without seeing your pom or settings.xml as your output shows central and something called snapshots being polled. John On Sat, 11 Jul 2020 at 07:39, Lukáš Satin wrote: > > Hi, > > Maven Versions Plugin scans whole Maven repository.

Maven Versions Plugin scans whole Maven repository

2020-07-10 Thread Lukáš Satin
Hi, Maven Versions Plugin scans whole Maven repository. It takes about 1 hour and scans everything from com.google.* and org.springframework.* plus other packages while they are nowhere in the pom.xml! There is only org.springbootframework.boot, org.apache.commons, com.oracle! I read all

Re: My maven is trying to download artifacts from an incorrect repository

2020-06-04 Thread Debashish Ghosh
Thanks a lot for your suggestion it worked ! One of the very first poms downloaded was pointing to a wrong repository .. On Thu, Jun 4, 2020 at 6:26 AM John Patrick wrote: > I would try building with a temporary local maven repo to see if > something got corrupt/wrong/incorrect in your

Re: My maven is trying to download artifacts from an incorrect repository

2020-06-04 Thread John Patrick
ven version 3.6.3 . The gist of the issue is that it tries to > download maven-bundle-plugin artifact from > http://central.maven.org/maven2/ . This repository doesn't exist so it keeps > giving error since the artifacts downloaded are empty error files. > > I tri

My maven is trying to download artifacts from an incorrect repository

2020-06-03 Thread Debashish Ghosh
Hi, I am trying to run mvn install on a git hub project https://github.com/hapifhir/org.hl7.fhir.core.git . I am using maven version 3.6.3 . The gist of the issue is that it tries to download maven-bundle-plugin artifact from http://central.maven.org/maven2/ . This repository doesn't exi

Re: Accessing a nexus repository requiring a client certificate

2020-05-18 Thread Alex O'Ree
05-17 um 17:31 schrieb Alex O'Ree: >> > > > > >>> Pinging you back again on this. Adding support for this (i >> think) >> > > it >> > > > > >> going >> > > > > >>> to require some significant chang

Re: Accessing a nexus repository requiring a client certificate

2020-05-18 Thread Alex O'Ree
per endpoint > > > > basis,would > > > > > >>> require separate ssl socket factories, which is constructed > > before > > > > the > > > > > >>> pooling http client connection manager. Having everything > static > &g

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Olivier Lamy
; the > > > > >>> pooling http client connection manager. Having everything static > > > makes > > > > >> this > > > > >>> difficult to implement without potentially breaking any other > > plugin > > > > that >

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Alex O'Ree
p client connection manager. Having everything static > > makes > > > >> this > > > >>> difficult to implement without potentially breaking any other > plugin > > > that > > > >>> uses this class programmatically. Would perhaps changing > >

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Olivier Lamy
uses this class programmatically. Would perhaps changing > > >>> 'openConnectionInternal' be a better option for hooking this? I.e. if > > we > > >>> have a user defined key/trust setup, make a new configuration within > > this > > >>>

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Alex O'Ree
be a better option for hooking this? I.e. if > we > >>> have a user defined key/trust setup, make a new configuration within > this > >>> method, otherwise fallback to the default static pool? > >>> > >>> > >>> > >>> >

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Michael Osipov
ex O'Ree wrote: I did some work on this over the weekend. Maintaining backwards compatibility is going to be challenging due to the http connection pool being static. Since the http client now needs to be specific to a repository or destination, i'm not sure if that configuration will

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Olivier Lamy
? > > > > > > > > > > On Mon, May 11, 2020 at 7:10 PM Alex O'Ree wrote: > > > >> I did some work on this over the weekend. Maintaining backwards > >> compatibility is going to be challenging due to the http connection pool > >> being s

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Michael Osipov
on pool being static. Since the http client now needs to be specific to a repository or destination, i'm not sure if that configuration will still work. Anyhow, i ended up down a rat role of trying to understand why some of the unit tests were failing and making it worse in the process. On We

Re: Accessing a nexus repository requiring a client certificate

2020-05-17 Thread Alex O'Ree
http connection pool > being static. Since the http client now needs to be specific to a > repository or destination, i'm not sure if that configuration will still > work. Anyhow, i ended up down a rat role of trying to understand why some > of the unit tests were failing and making it

  1   2   3   4   5   6   7   8   9   10   >