Re: finding source of outdated dependencies

2023-11-09 Thread Tamás Cservenák
Well, depMgt is "flattened" (so if depMgt import of POM imports another POM and ...), and if you use verbose with effective, you will see the source of flattened things, at least T On Thu, Nov 9, 2023 at 9:18 PM Garret Wilson wrote: > On 11/9/2023 5:10 PM, Tamás Cservenák wro

Re: Maven CI Friendly Versions

2023-11-10 Thread Tamás Cservenák
It changed domain https://blog.soebes.io/posts/2017/04/2017-04-02-maven-pom-files-without-a-version-in-it/ HTH T On Fri, Nov 10, 2023 at 5:19 PM Eric B wrote: > Many years ago Karl Heinz Marbaise had written a blog about the beginning > of Maven 3.5's support of CI versioning numbers with the s

[ANN] Maven Resolver 2.0.0-alpha-2 released

2023-11-18 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-2. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-2/ This is a *PREVIEW* release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick it up and adapt code if needed.

Re: Pure curiosity

2023-11-19 Thread Tamás Cservenák
Now am very interested where this goes, please continue... T On Mon, Nov 20, 2023, 00:26 Joseph Kesselman wrote: > Maven's declarative nature may be its second greatest strength, following > platform independence and preceding the rich plugin collection. > > The lack of any _dependency_ driven

Re: Pure curiosity

2023-11-20 Thread Tamás Cservenák
Howdy, >From my side, nothing to apologize for. In fact, I miss these kinds of discussions from ML very much... We are deeply trenched in the "maven universe" and it is easy to forget to look sometimes left or right for fresh ideas... T On Mon, Nov 20, 2023 at 6:57 PM Joseph Kesselman wrote: >

[ANN] Maven Resolver 1.9.17 released

2023-11-21 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 1.9.17: The 1.x resolver lineage is in "bugfix only" maintenance mode. === https://maven.apache.org/resolver/ Release Notes - Maven Resolver - Version 1.9.17 ** Bug * [MRESOLVER-372] - Sporadic AccessDeniedEx on

Maven 3.9.6 release is coming soon

2023-11-21 Thread Tamás Cservenák
Howdy, The 3.9.6 release will contain three important changes: - Resolver 1.9.x is hopefully "tamed" on Windows, no more sporadic AccessDeniedEx to fail the builds - Sisu DI is upgraded to support bytecode higher than Java 14. This makes writing Maven components (extensions, plugins, Sisu managed

Re: Maven 3.9.6 release is coming soon

2023-11-21 Thread Tamás Cservenák
check > > wt., 21 lis 2023 o 12:22 Tamás Cservenák napisał(a): > > > Howdy, > > > > The 3.9.6 release will contain three important changes: > > - Resolver 1.9.x is hopefully "tamed" on Windows, no more sporadic > > AccessDeniedEx to fail the build

Re: .sha256 artifact checksums on Central

2023-11-21 Thread Tamás Cservenák
Sha1s are present as well... Unsure what the problem is here, what do i miss? T On Tue, Nov 21, 2023, 20:10 Bernd Eckenfels wrote: > > > Bernd Eckenfels wrote on 21. Nov 2023 19:44 (GMT +01:00): > > Strange enough central did accept those, but seems to not support it with > > Remote Included St

Re: .sha256 artifact checksums on Central

2023-11-21 Thread Tamás Cservenák
Sorry, talked prematurely (and not at desk, only phone)... this is a sonatype issue it seems. Will take a deeper look tomorrow. T On Tue, Nov 21, 2023, 21:11 Tamás Cservenák wrote: > Sha1s are present as well... Unsure what the problem is here, what do i > miss? > > T > > On

Re: [ANN] Maven Resolver 1.9.17 released

2023-11-22 Thread Tamás Cservenák
should be skipped. Upcoming 1.9.18 will correct these issues. Thanks T On Tue, Nov 21, 2023 at 11:31 AM Tamás Cservenák wrote: > The Apache Maven team is pleased to announce the release of the > Maven Resolver 1.9.17: > > The 1.x resolver lineage is in "bugfix only" mainten

Re: .sha256 artifact checksums on Central

2023-11-22 Thread Tamás Cservenák
Most probably is, this should never happen. There is NO global policy change, SHA-1 is still _mandatory_, while you CAN add SHA256 or whatever "better" if you want... but SHA-1 is mandatory. This should be enforced by Sonatype... T On Wed, Nov 22, 2023 at 5:38 PM Bernd Eckenfels wrote: > > > Mi

[ANN] Maven Resolver 1.9.18 released

2023-11-25 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 1.9.18: The 1.x resolver lineage is in "bugfix only" maintenance mode. Resolver 1.9.17 release is declared "broken" by RM, release 1.9.18 undos the unwanted code change that happened in FileUtils@1.9.17 and restores so

[ANN] Maven Resolver 2.0.0-alpha-3 released

2023-12-01 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-3. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-3/ This is a third *PREVIEW* release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick it up and adapt code if n

[ANN] Apache Maven 3.9.6 released

2023-12-01 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Apache Maven 3.9.6 Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of inf

Re: what javac is actually used?

2023-12-03 Thread Tamás Cservenák
Howdy, Maven, by default uses maven-compiler-plugin, but that plugin itself is pluggable (can use javac, which is default, but also eclipse compiler, etc). The plugin by default uses javac. But, for example maven compiler plugin _by default_ enables debug: https://maven.apache.org/plugins/maven-c

Re: what javac is actually used?

2023-12-03 Thread Tamás Cservenák
Howdy, Simplest would be that in module where you found afore mentioned differences ask for effective pom: $ mvn help:effective-pom Maybe pipe it to a file as it may be huge. Then look for project/build/plugins/maven-compiler-plugin (quasi xpath). T On Sun, Dec 3, 2023, 22:08 Dave Dyer wrote:

Re: what javac is actually used?

2023-12-04 Thread Tamás Cservenák
Howdy, Did you figure out the effective configuration of m-compiler-p? Or, do you maybe use the takari lifecycle? As it use Eclipse JDT by default and totally disables/circumvents m-compiler-p... Thanks T On Mon, Dec 4, 2023 at 9:09 AM Dave Dyer wrote: > Thanks, I'll follow up by trying to ext

Re: Configuring plugins by composition rather than inheritance

2023-12-05 Thread Tamás Cservenák
Howdy, For importing plugins there was even some PoC like this: https://github.com/apache/maven/pull/1190 Also, planned for maven4 to (or already is, Guillaume?) support mixins. HTH T On Tue, Dec 5, 2023 at 12:51 PM Bernd Eckenfels wrote: > Hello, > > I think that’s a long-standing restrictio

[ANN] Maven Indexer 7.1.1 released

2023-12-16 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Indexer 7.1.1 https://maven.apache.org/maven-indexer/ Release Notes - Maven Indexer - Version 7.1.1 ** Bug * [MINDEXER-207] - RR backend should handle 404 gracefully ** Task * [MINDEXER-205] - Align Search API backend

[ANN] Maven Resolver 2.0.0-alpha-5 released

2023-12-17 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-5. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-5/ This is a fourth *PREVIEW* (alpha-4 was scrubbed) release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick i

Re: Maven 4.0 release timeline

2023-12-18 Thread Tamás Cservenák
...or,.just go to staging repo https://repository.apache.org/content/repositories/maven-2050 download the distro and try on some of your projects? In case of problems be so kind to report the issues so we can iron them out. Imho, alpha 10 is in very good shape. Alpha-9 had a nasty bug and could r

Re: Maven 4.0 release timeline

2023-12-18 Thread Tamás Cservenák
r wait for alpha-10 to officially come out? > > -Original Message----- > From: Tamás Cservenák > Sent: Monday, December 18, 2023 3:43 PM > To: Maven Users List > Cc: subharaj.ma...@gmail.com > Subject: Re: Maven 4.0 release timeline > > > CAUTION: This email orig

Re: Maven 4.0 release timeline

2023-12-18 Thread Tamás Cservenák
Yup. If the vote passes OK, these files will land in central as well. T On Mon, Dec 18, 2023 at 9:59 PM wrote: > Ah, much better! I guess I can ignore the cyclondex files and grab a > plain old zip? > > -Original Message----- > From: Tamás Cservenák > Sent: Monday, D

Re: Maven 4.0 release timeline

2023-12-18 Thread Tamás Cservenák
Howdy, And to reply to the "longer stuff": Current Maven 4 (on vote, so 3 days if vote passes OK and files land on Central) is alpha-10. As with any previous alphas, the _minimal_ requirement is that UT passes, Maven can build itself, and that to pass Maven IT suite. IT suite is currently, in th

Re: Maven 4.0 release timeline

2023-12-18 Thread Tamás Cservenák
> (I have a multi-module project and it tried to download the submodules > instead of using the local source code) > > -Original Message- > From: Tamás Cservenák > Sent: Monday, December 18, 2023 5:08 PM > To: Maven Users List > Cc: subharaj.ma...@gmail.com > S

Re: Maven 4.0 release timeline

2023-12-21 Thread Tamás Cservenák
Well, we have some notes and scratches around like these: https://cwiki.apache.org/confluence/display/MAVEN/Maven+Ecosystem+Cleanup https://cwiki.apache.org/confluence/display/MAVEN/Towards+Doxia+2.0.0+Stack But these are about Maven "ecosystem" that needed a lot of work to make those up to date.

Re: Unexpected behavior of the javadoc plugin?

2023-12-28 Thread Tamás Cservenák
Hej Ceki, I also experience javadoc misbehaviour when JPMS/jigsaw is involved, and _I think_ it boils down when it tries to be "smart" when it comes to JPMS... See master of maven-resolver, as it was suffering with similar issues, and this change: https://github.com/apache/maven-resolver/commit/ba

Re: Unexpected behavior of the javadoc plugin?

2024-01-09 Thread Tamás Cservenák
file, it works > fine. > > > > However, given the BOM file is intended to be imported, I would prefer > > to keep it minimal and have it free of any and elements > > in order to not pollute importing projects. > > > > Is my concern warranted? > > > >

[ANN] Apache Maven Indexer 7.1.2 released

2024-01-11 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Indexer 7.1.2 https://maven.apache.org/maven-indexer/ Release Notes - Maven Indexer - Version 7.1.2 ** Bug * [MINDEXER-214] - ArtifactContext should not log warnings if artifact is not zip file ** Dependency upgrade *

[ANN] Apache Maven Resolver 2.0.0-alpha-6 released

2024-01-11 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-6. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-6/ This is a fifth *PREVIEW* (alpha-4 was scrubbed) release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick it

Re: Browsing Maven central buggy?

2024-01-24 Thread Tamás Cservenák
Howdy, Yes, this is a known problem, but it does not affect Maven, as it does not "browse". Basically you have to go directly to the directory you are looking for, and not rely on HTML "index page" as that seems not maintained since a while. T On Wed, Jan 24, 2024 at 5:50 PM Thorsten Heit wrote

Re: Browsing Maven central buggy?

2024-01-24 Thread Tamás Cservenák
sonatype.com/ > > And browse at https://central.sonatype.com/search > > It sits on top of the same data and is very nice indeed .. props to > Brian Fox and team btw! > > Manfred > > On 2024-01-24 08:57, Tamás Cservenák wrote: > > Howdy, > > > > Yes, this is

Re: Browsing Maven central buggy?

2024-01-24 Thread Tamás Cservenák
tarted ... > > https://github.com/maveniverse/mima > > used with > > https://www.jbang.dev/ > > Any other tips Tamas? > > Manfred > > > On 2024-01-24 09:22, Tamás Cservenák wrote: > > Or something like this: > > https://asciinema.org/a/0dLOAfWxyxTg6zgcYSDX6FQ

Re: Browsing Maven central buggy?

2024-01-24 Thread Tamás Cservenák
o 52.0 > > On Wed, Jan 24, 2024 at 12:10 PM Tamás Cservenák > wrote: > > > Basically, all you need is JBang installed, and then > > > > $ jbang mima@maveniverse > > > > will figure out what it is, download and launch the CLI for you. In CLI > use > >

Re: Browsing Maven central buggy?

2024-01-25 Thread Tamás Cservenák
Sorry, I need to apologize, as the info I stated below is WRONG: MIMA CLI uses Maven Indexer (Search API from https://github.com/apache/maven-indexer) and it is Maven Indexer project that is Java 11 since 7.x. Sorry again, T On Wed, Jan 24, 2024 at 7:19 PM Tamás Cservenák wrote: > MIMA a

[ANN] Apache Maven Resolver 2.0.0-alpha-7 released

2024-01-29 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-7. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-7/ This is a sixth *PREVIEW* (alpha-4 was scrubbed) release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick it

Re: How to know which plugin/goal is frozen in multithreaded build ?

2024-02-03 Thread Tamás Cservenák
Howdy, Important questions: - what maven version exactly - what java version are you using? - how exactly is "multi threaded" build invoked Also, you could tweak logging properties to show threads and trigger MT build in debug piped into file, and that file when filtered for thread name would pr

Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Tamás Cservenák
Howdy, To me this looks like Maven is not aware that the App depends on ModuleB... Are they "plain dependency" linked? Or what kind of dependency we talk about here? In short: why would App start while ModuleB (upstream dep) is not done? Something is fishy here. T On Tue, Feb 6, 2024 at 11:40 A

Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-07 Thread Tamás Cservenák
a src code change to “Five” and “Two” then it would be safe to > build [One,Two] and [Four,Five] in parallel because you know the changes > within these graphs cannot impact each other. > Joe > > On 2024/02/06 21:37:42 Tamás Cservenák wrote: > > Howdy, > > > > T

Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-07 Thread Tamás Cservenák
then it would be safe > to > > build [One,Two] and [Four,Five] in parallel because you know the changes > > within these graphs cannot impact each other. > > Joe > > > > On 2024/02/06 21:37:42 Tamás Cservenák wrote: > > > Howdy, > > > > > > To

Re: Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-07 Thread Tamás Cservenák
have a play with it. With regards to this issue, using the takari > smart builder unfortunately doesn’t resolve the issue. > Joe > > On 2024/02/07 11:41:22 Tamás Cservenák wrote: > > Can you please try smart builder instead? > > https://github.com/takari/takari-smart-builder >

Re: Re: Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-07 Thread Tamás Cservenák
t; Joe > > On 2024/02/07 17:33:08 Tamás Cservenák wrote: > > Howdy, > > > > In that case, there is something fishy with the project, my blind guess > > would be some "hidden" inter-module dependency maybe? > > > > Can you provide access to sourc

Re: Re: Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-08 Thread Tamás Cservenák
Seems we are on track with this. To prove my last-night theory I created a "hack" (is really just that) and guess what? It makes reproducer behave "as expected": https://github.com/apache/maven/pull/1406 T On Wed, Feb 7, 2024 at 10:05 PM Tamás Cservenák wrote: > Howdy,

Re: Re: Re: Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-08 Thread Tamás Cservenák
unity to optimise builds. I appreciate this > functionality could also be seen as a gotcha (although tbf this already > exists). > Thanks, > Joe > > > On 2024/02/08 10:09:31 Tamás Cservenák wrote: > > Seems we are on track with this. To prove my last-night theory I created >

Re: Re: Re: Re: Re: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-08 Thread Tamás Cservenák
ncies > So basically module-b is only in the reactor for verification purposes > rather than ‘src packaging’ purposes. > Thanks, > Joe > > On 2024/02/08 12:12:03 Tamás Cservenák wrote: > > Hej, > > > > yes, basically the "hack" is well described by you: >

Re: Versions maven plugin

2024-02-15 Thread Tamás Cservenák
Howdy, sorry I missed this thread. But spotted when you closed this issue, so answered there: https://github.com/mojohaus/versions/issues/961#issuecomment-1946797974 On Sat, May 27, 2023 at 8:57 AM Andrzej wrote: > Hi all, > > I've been looking at Versions Maven Plugin and I can say that there

Re: How does maven resolve inter-module dependencies in a multi-module build?

2024-02-15 Thread Tamás Cservenák
Howdy, usually you should consider maven build (in case maven, session == cli invocation) as this hierarchy: * remote repositories: * * local repository: * * * session Maven will prefer things "most specific" if present: - if is in reactor (current session), will use that - if is in local reposit

[ANN] Apache Maven Resolver 2.0.0-alpha-8 released

2024-02-26 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-8. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-8/ This is a seventh *PREVIEW* (alpha-4 was scrubbed) release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick

Re: a question about the Maven Resolver Ant Tasks uber JAR

2024-02-28 Thread Tamás Cservenák
Howdy, This is probably an oversight, as Resolver does use SLF4J and yes, in Maven for example jcl-over-slf4j is used. Or a bug? As jcl-over-slf4j is here: https://github.com/apache/maven-resolver/blob/maven-resolver-1.9.18/maven-resolver-transport-http/pom.xml#L81-L86 Can you post some reproduce

Re: problem resolving LATEST dependency in the local repo

2024-02-29 Thread Tamás Cservenák
Howdy, Yes, the "LATEST" Maven2 version keyword has been phased out in Maven3. They make builds non reproducible (just like snapshots): as it is a "moving target". T On Thu, Feb 29, 2024, 03:01 Alan Snyder wrote: > I have been using the Maven Artifact Resolver Ant Tasks with success, > except

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread 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). T On Thu, Feb 29, 2024 at 12:17 PM Václav Haisman wrote: > Hi.

Re: Publishing to Maven Central and non-OSS plugin dependencies

2024-02-29 Thread Tamás Cservenák
Howdy, You would need to ask Sonatype about that, and check here: https://central.sonatype.org/publish/requirements/ IMHO best to ask them about it: IIUC you want to deploy artifacts to central that has dependencies not available from Central (nor any other public repository?) Thanks T On Thu

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 t

Re: problem resolving LATEST dependency in the local repo

2024-02-29 Thread Tamás Cservenák
nResolution > > I understand the drawbacks of using LATEST and RELEASE, but there are > situations where they are useful. > > I should have stated explicitly that LATEST is resolved correctly for > artifacts in Maven Central. > > > > > On Feb 29, 2024, at 12:40 AM, Ta

Re: a question about the Maven Resolver Ant Tasks uber JAR

2024-03-01 Thread Tamás Cservenák
Re-reading your "I tried to make a JAR that included the Maven Resolver Ant Tasks uber JAR plus some extra stuff"... The Maven Resolver Ant Tasks uber JAR contains _relocated_ classes (see POM). Hence, using this uber JAR to create another uber JAR is not recommended (or make sure there are no sh

Re: Failed to init Classpath for jar file C:\apache-maven-3.9.6\boot\plexus-classworlds.license during compilation

2024-03-01 Thread Tamás Cservenák
Howdy, Can you post debug output how the compiler plugin is invoked? Also, looks related: https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1578 T On Fri, Mar 1, 2024 at 10:37 AM Václav Haisman wrote: > I am getting the following error during build with Maven 3.9.6 and Java 21. > The eff

Re: [VOTE] Require Java 17 for Maven 4

2024-03-02 Thread Tamás Cservenák
+1 On Wed, Feb 28, 2024, 08:31 Benjamin Marwell wrote: > Hi Maven Devs/Users/Committers and PMC members! > > After several discussions on the mailing lists, I would like to > start a vote in favour of setting the minimal Java bytecode target > of Maven-Core 4 to 17 and hence require Java 17 for

[ANN] Apache Maven GPG Plugin 3.2.0 Released

2024-03-11 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven GPG Plugin, version 3.2.0 This plugin signs all of the project's attached artifacts with GnuPG or BC. https://maven.apache.org/plugins/maven-gpg-plugin/ You should specify the version in your project's plugin co

[ANN] Maven Filtering 3.3.2 Released

2024-03-12 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven Filtering, version 3.3.2 You can download the appropriate sources etc. from the download page: https://maven.apache.org/shared/maven-filtering/download.cgi Release Notes - Maven Shared Components - Version maven

[ANN] Release Maven Remote Resources Plugin 3.2.0

2024-03-12 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven Remote Resources Plugin, version 3.2.0 https://maven.apache.org/plugins/maven-remote-resources-plugin/ Release Notes - Maven Remote Resources Plugin - Version 3.2.0 ** Bug * [MRRESOURCES-135] - Show projectT

[ANN] Apache Maven 4.0.0-alpha-13 released

2024-03-12 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of Apache Maven 4.0.0-alpha-13 Note: This is the first release that requires Java 17! Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's b

[ANN] Apache Maven GPG Plugin 3.2.1 Released

2024-03-18 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven GPG Plugin, version 3.2.1 This release is a bugfix, restoring plugin ability to pick up GPG passphrase from settings.xml. Have to be noted though, that this method of getting passphrases is considered "bad practic

[DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
Howdy, I'd would be interested in how users and devs are using maven-dependency-plugin: https://maven.apache.org/plugins/maven-dependency-plugin/ I collected some basic questions I'd like to have answered (but feel free to add more info!): - which goals are "must have" for you - which goals are "

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
; over the time I used all of them in different projects and I think all > of them are needed. > > Viele Grüße > > Oliver > > > Am 21.03.24 um 17:04 schrieb Tamás Cservenák: > > Howdy, > > > > I'd would be interested in how users and devs are using > &

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
Agreed, Use of "purge-local-repository" is a very bad thing (next to "go offline" and related goals). They all come from the "maven2 era", and should never be used with Maven3... T On Thu, Mar 21, 2024 at 7:50 PM Richard Eckart de Castilho wrote: > >

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
e / dependency:analyze-only > > - dependency:copy > > - dependency:copy-dependencies > > - dependency:go-offline > > - dependency:list > > - dependency:tree > > - dependency:unpack > > - dependency:unpack-dependencies > > > > > > >

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
ocal" and "remote" repository notion is interchangeable. Is not. These (mis)conceptions must go away. T On Thu, Mar 21, 2024 at 8:54 PM Tamás Cservenák wrote: > Howdy, > > What is the use case of "go offline"? > That is yet another goal coming from "Mave

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
wnload plugins and dependencies, for instance if one is making some > layer in a docker build container for later reuse. > > On Thu, Mar 21, 2024 at 2:54 PM Tamás Cservenák > wrote: > > > Howdy, > > > > What is the use case of "go offline"? > > That is

Re: [DISCUSS] Maven Dependency Plugin

2024-03-21 Thread Tamás Cservenák
am not sure I would advocate for it: > https://blog.frankel.ch/faster-maven-builds/2/ > > There are undoubtedly better ways to achieve the author's goals, but I'm > not sure that's the fault of dependency:go-offline. > > On Thu, Mar 21, 2024 at 3:19 PM Tamás Cserven

[ANN] Apache Maven GPG Plugin 3.2.2 Released

2024-03-26 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven GPG Plugin, version 3.2.2 This release is a bugfix, restoring the sign-and-deploy Mojo to pick up remote repository authentication from settings.xml. Also contains smaller improvements as well. This plugin signs

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
erwards. > > Over the years I build a lot of pipelines, added checks to projects and so > on. The dependency plugin was very often my rescue. I can't remember each > single usage and project and its context, but there is a reason why these > goals/functions have been added.

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
m-dependency-p too big/getting unmaintainable/becoming a kitchen sink? > > Do some goals feel like a bad fit? > > Are you thinking of breaking it up or replacing it? > > Greg > > On Tue, Mar 26, 2024 at 8:52 AM Tamás Cservenák > wrote: > > > Howdy, > > &

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
getSpec="purge:" actually does the purge from the local repository. Same stands for gav-copy (and gav-copy-transitively), but they do not use MavenProject to "contextualize" but need to be told explicitly what to resolve... On Tue, Mar 26, 2024 at 5:34 PM Tamás Cservenák wrote: > Howd

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
ll them into local repository (session > > default in no path specified), ie. good to prep a local repo -- TBD > > > param > > "deploy:id::url" -> will deploy them to Remote Repo > > "purge:" -> will purge them from local repository (session defau

Re: [DISCUSS] Maven Dependency Plugin

2024-03-26 Thread Tamás Cservenák
r 26, 2024 at 8:56 PM Tamás Cservenák wrote: > Rudimentary support for those is already present (equals, startWith, > endsWith) :) > > So one can write ArtifactMatcher "spec expression" (that will be parsed > into ArtifactMatcher that is actually Predicate) as: > &quo

Re: Maven & Github codespaces

2024-03-27 Thread Tamás Cservenák
Howdy, Am using 3.9.6 on 21 on a regular basis, and Maven per se does nor have this issue. How did you install Maven 3.9.6? Did you verify that the download is not damaged for example? T On Wed, Mar 27, 2024 at 6:00 PM Tommy Svensson wrote: > Hello Maven users! > > I am having problem building

Re: Maven & Github codespaces

2024-03-28 Thread Tamás Cservenák
Yes, it works! I just said a few emails ago that I am using Maven 3.9.6 on Java 21 since that Java was out. T On Thu, Mar 28, 2024 at 12:47 PM Tommy Svensson wrote: > I can add that on my computer I can do "mvn wrapper:wrapper" to install > mvnw, and then build using that problems, but on githu

Re: [DISCUSS] Maven Dependency Plugin

2024-03-28 Thread Tamás Cservenák
it will not over-and-over-and-over unpack the same thing... T On Tue, Mar 26, 2024 at 9:07 PM Tamás Cservenák wrote: > Oh, and as a side effect, the plugin is way more snappier as well, look at > execution time diffs (I know, this is not "benchmark", but

Re: Maven & Github codespaces

2024-04-01 Thread Tamás Cservenák
Hi Tommy, would be good for reference (maybe someone else hits a similar issue) to have on ML the "solution" as well. At least some description of what exactly made you think "forgett maven on GitHub codespaces" and what you did to fix this. Thanks T On Mon, Apr 1, 2024 at 12:40 PM Tommy Svensso

Re: Maven & Github codespaces

2024-04-01 Thread Tamás Cservenák
t; So I'm looking for some other solution to re-use pom segments, in a future > compatible way. > > /Tommy > > ______ > > Tommy Svensson > > to...@natusoft.se > > > > > Från: Tamás Cservenák > Svara: Maven Users List > D

[ANN] Apache Maven GPG Plugin 3.2.3 Released

2024-04-11 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven GPG Plugin, version 3.2.3 This release is a bugfix release, but also contains updated key dependencies. This plugin signs all of the project's attached artifacts with GnuPG or BC. https://maven.apache.org/plugin

[ANN] Apache Maven GPG Plugin 3.2.4 Released

2024-04-19 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Apache Maven GPG Plugin, version 3.2.4 This release is a bugfix release. This plugin signs all of the project's attached artifacts with GnuPG or BC. https://maven.apache.org/plugins/maven-gpg-plugin/ You should specify the

[ANN] Maven Resolver 1.9.19 released

2024-04-19 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 1.9.19: The 1.x resolver lineage is in "bugfix only" maintenance mode. === https://maven.apache.org/resolver/ Release Notes - Maven Resolver - Version 1.9.19 ** Bug * [MRESOLVER-483] - PreorderNodeListGenerator

[ANN] Apache Maven Wrapper 3.3.0 Released

2024-04-20 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Apache Maven Wrapper, version 3.3.0 The Maven Wrapper is an easy way to ensure a user of your Maven build has everything necessary to run your Maven build. See https://maven.apache.org/wrapper/ for instructions on how to use Maven Wr

Re: Can properties be inherited like I expect them to be?

2024-04-21 Thread Tamás Cservenák
Howdy, I did locally this https://gist.github.com/cstamas/25f6c978d3eb0823fd0af8ef25c08d6f And I think I got the behaviour that you expect. Given a project can be built only with Java8+ this should be ok. T On Sun, Apr 21, 2024 at 4:03 PM Gary Gregory wrote: > Hi, > > A POM can't seem to inh

Re: [ANN] Apache Maven Wrapper 3.3.0 Released

2024-04-22 Thread Tamás Cservenák
rsion after this change? > > Nils. > > [0] https://github.com/renovatebot/renovate > > > Op 20 apr 2024, om 11:11 heeft Tamás Cservenák het > volgende geschreven: > > > > The Apache Maven team is pleased to announce the release of the Apache > > Maven Wrapper,

Re: [ANN] Apache Maven Wrapper 3.3.0 Released

2024-04-22 Thread Tamás Cservenák
Agreed! On Mon, Apr 22, 2024 at 12:27 PM Slawomir Jaranowski wrote: > I would like to not add something which must be parsed in a magical way ... > we can add a property that can be simply used. > > pon., 22 kwi 2024 o 12:06 Tamás Cservenák > napisał(a): > > > Good

Quo Vadis Maven?

2024-04-23 Thread Tamás Cservenák
Howdy, This is just a short newsflash about upcoming planned releases related to Maven. Recently we got a huge spike in plugin releases, with various fixes and improvements. I will not enumerate all of them here, just use `mvn versions:display-plugin-updates` to pick them up ;) (and more plugins

Re: [ANN] Apache Maven Wrapper 3.3.0 Released

2024-04-25 Thread Tamás Cservenák
Do you maybe use MAVEN_CONFIG? See https://issues.apache.org/jira/browse/MWRAPPER-133 Thanks T On Thu, Apr 25, 2024 at 12:10 PM Sven Nguyen Van wrote: > Hi, > > sadly, this update made several Jenkins-Pipelines fail here. > > RenovateBot tried to update the maven-wrapper in several of our proje

[ANN] Apache Maven Wrapper 3.3.1 Released

2024-04-25 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Apache Maven Wrapper, version 3.3.1 The Maven Wrapper is an easy way to ensure a user of your Maven build has everything necessary to run your Maven build. See https://maven.apache.org/wrapper/ for instructions on how to use Maven Wr

[ANN] Apache Maven Install Plugin 3.1.2 Released

2024-04-29 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Apache Maven Install Plugin, version 3.1.2 https://maven.apache.org/plugins/maven-install-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-install-plugin 3.1.2 Yo

[ANN] Apache Maven Deploy Plugin 3.1.2 Released

2024-04-29 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Apache Maven Deploy Plugin, version 3.1.2 https://maven.apache.org/plugins/maven-deploy-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-deploy-plugin 3.1.2 You c

[ANN] Apache Maven Resolver 2.0.0-alpha-11 released

2024-04-29 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-11. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-11/ This is the last alpha release of Resolver 2.0.0, that would allow any downstream consumers to try it out and adapt. Release Notes -

[ANN] Maven Resolver 1.9.20 released

2024-04-29 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Resolver 1.9.20: The 1.x resolver lineage is in "bugfix only" maintenance mode. === https://maven.apache.org/resolver/ Release Notes - Maven Resolver - Version 1.9.20 ** Bug * [MRESOLVER-547] - BF collector always copies

Re: How to replace a Maven core component with a custom one?

2024-04-30 Thread Tamás Cservenák
Howdy, IF you target latest Maven 3.9.x (uses Sisu 0.9.0.M2), then: - use max Java 17 bytecode - use JSR330 instead of plexus annotations - use org.eclipse.sisu.Priority annotation to override a component IF you target Maven 3.8.x or so, similar, but use Java 11 bytecode max Thanks T On Wed, M

Re: How to replace a Maven core component with a custom one?

2024-05-01 Thread Tamás Cservenák
ncyResolutionRequest > request) throws DependencyResolutionException { > throw new RuntimeException(); // just crashing for now to check if > this class is properly injected > } > } > > On Wed, 1 May 2024 at 08:54, Tamás Cservenák wrote: > > > Howdy, > &g

Re: How to replace a Maven core component with a custom one?

2024-05-01 Thread Tamás Cservenák
olve(DependencyResolutionRequest > > request) throws DependencyResolutionException { > > throw new RuntimeException(); // just crashing for now to check > if > > this class is properly injected > > } > > } > > > > On Wed, 1 May 2024 at 08:54, Tam

Re: Behavior change in go-offline between 3.9.2 and 3.9.3

2024-05-14 Thread Tamás Cservenák
Howdy, cool it works for you. Am just dropping this for reference https://issues.apache.org/jira/browse/MDEP-904 T On Tue, May 14, 2024 at 4:34 PM Voytek Jarnot wrote: > In case anyone's following along either now or in the future: > > Switching from dependency:go-offline to dependency:resolve

[ANN] Apache Maven Indexer 7.1.3 released

2024-05-20 Thread Tamás Cservenák
The Apache Maven team is pleased to announce the release of the Maven Indexer 7.1.3 https://maven.apache.org/maven-indexer/ Release Notes - Maven Indexer - Version 7.1.3 ** Improvement * [MINDEXER-222] - RR backend in case of GAVCE search should use Last-Modified HTTP header ** Dependency up

<    1   2   3   4   5   6   >