Exchange data in memory between different mojo executions in different modules of the same plugin

2016-08-19 Thread Konrad Windszus
To exchange data between several executions of my mojo I wanted to leverage AbstractMojo.getPluginContext(). Unfortunately although the map is being shared among multiple executions targeting the same project it is not shared among different projects in a multi-module build. Which API can I lev

Replacement for org.apache.maven.monitor.event.EventDispatcher?

2016-08-19 Thread Konrad Windszus
The EventDispatcher support was completely removed with the commit https://github.com/apache/maven/commit/505423e666b9a8814e1c1aa5d50f4e73b8d710f4 for Maven 3.0. Currently I instead use a JVM Shutdown Hook to perform some tasks at the end of the build which is not recommended either for obvious

Replacement for org.apache.maven.monitor.event.EventDispatcher?

2016-08-19 Thread Konrad Windszus
The EventDispatcher support was completely removed with the commit https://github.com/apache/maven/commit/505423e666b9a8814e1c1aa5d50f4e73b8d710f4 for Maven 3.0. Currently I instead use a JVM Shutdown Hook to perfo

Re: Replacement for org.apache.maven.monitor.event.EventDispatcher?

2016-08-25 Thread Konrad Windszus
> Robert > > On Fri, 19 Aug 2016 17:33:15 +0200, Konrad Windszus wrote: > >> The EventDispatcher support was completely removed with the commit >> https://github.com/apache/maven/commit/505423e666b9a8814e1c1aa5d50f4e73b8d710f4 >> for Maven 3.0. >> Currently I

Re: Replacement for org.apache.maven.monitor.event.EventDispatcher?

2016-08-25 Thread Konrad Windszus
ote: > > Hi Konrad, > > Have a look at > https://maven.apache.org/ref/3.3.9/maven-core/apidocs/org/apache/maven/eventspy/EventSpy.html > > thanks, > Robert > > On Fri, 19 Aug 2016 17:33:15 +0200, Konrad Windszus wrote: > >> The EventDispatcher supp

Re: Replacement for org.apache.maven.monitor.event.EventDispatcher?

2016-08-25 Thread Konrad Windszus
core extension. Konrad > On 25 Aug 2016, at 15:45, Konrad Windszus wrote: > > That is only accessible when being placed in maven.ext.class.path. I am > looking for something which can be registered only through a pom.xml. > Registering such an extension via the extensions

How to enforce running my Maven Plugin with a certain Java version

2017-09-28 Thread Konrad Windszus
How can I enforce that my custom Maven Plugin (or only a certain Mojo within) is only executed with at least a certain Java version (i.e. Java8 due to the use of class files being only compatible with Java8+). The prerequisites section which seems like the natural way to define that only allows

How to validate SHA512/SHA256 checksums during a release of an ASF project

2018-09-03 Thread Konrad Windszus
Hi, I am committer of the ASF project Sling which heavily relies on Maven. We obviously have to follow the ASF policy as well to distribute SHA512 or SHA256 checksums along with our source releases. While the first support for this has been made by https://issues.apache.org/jira/browse/MPOM-205

Re: Error with mvn site:stage-deploy

2019-01-08 Thread Konrad Windszus
This seems to be related to the merged PR from https://github.com/apache/maven-wagon/pull/51/files . Not sure why the error happens though... > On 8. Jan 2019, at 17:27, Enrico Olivelli wrote: > > Hi, > I have this error with Maven 3.6.0 and

Re: [VOTE] Retire Maven OSGi

2019-09-05 Thread Konrad Windszus
Hi, just for the record: There is a replacement for most of the classes in bnd: https://github.com/bndtools/bnd/blob/9a4d7bcc04c2377641911b517ca8b1915f763a9a/biz.aQute.bndlib/src/aQute/bnd/version/MavenVersion.java I just replaced the code using maven-osgi with bndlib in Apache Sling : https://i

Release Maven Doxia Plugin 1.9.1?

2019-12-20 Thread Konrad Windszus
Hi, is a bugfix release of Doxia planned soon which contains https://issues.apache.org/jira/browse/DOXIA-597? Or is there any other workaround known to get markdown code statements (`...`) work correctly with the latest maven-site-plugin? Thank

Re: Release Maven Doxia Plugin 1.9.1?

2020-01-15 Thread Konrad Windszus
Ping, any update? Maybe there is a workaround to make md code statements work, but I currently fail to see it, therefore a release to fix this regression would be highly appreciated. Konrad > On 20. Dec 2019, at 12:03, Michael Osipov wrote: > > Am 2019-12-20 um 11:52 schrieb Konrad

Re: versioning by hashes to speedup multi-module build (a'la nix package manager)

2020-02-01 Thread Konrad Windszus
Hi, just look at http://maven.apache.org/maven-ci-friendly.html. Konrad > Am 01.02.2020 um 16:08 schrieb Anton Vodonosov : > > Hello. > > In order to speed up the build of a big multi-module project, > I'd like to reuse the artifacts of modules that haven't changed. > Manual versioning is tedi

Maven Project Info Reports Plugin 3.0.2

2020-02-02 Thread Konrad Windszus
Hi, Unfortunately release 3.0.1 never got published due to a failed vote in August last year: https://lists.apache.org/list.html?d...@maven.apache.org:lte=12M:%5BVOTE%5D%20Release%20Maven%20Project%20Info%20Reports%20Plugin%20version%203.0.1

Distribution of buildinfo together with artifacts to Maven Central

2020-05-22 Thread Konrad Windszus
Hi, the buildinfo file (generated by https://github.com/apache/maven-studies/tree/maven-buildinfo-plugin ) is useful to check reproducability. Is it supposed to be uploaded to Maven Central along with the artifact (with which

SHA512/256 checksum generation not support though Maven Plugins

2020-06-08 Thread Konrad Windszus
Hi, I am a bit confused which Maven Plugin/Module is supposed to calculate checksums. With https://issues.apache.org/jira/browse/MINSTALL-143 and https://issues.apache.org/jira/browse/MDEPLOY-231 the checksum calculation is now being performed in maven-artifact-transfer (https://github.com/apa

New release of release plugin

2020-08-05 Thread Konrad Windszus
Hi, as the last release of the m-release-plugin (3.0.0-M2) failed due to https://issues.apache.org/jira/browse/MRELEASE-1042 and a PR has been provided with a fix for quite some time now (https://github.com/apache/maven-release/pull/56

Release of maven-gpg-plugin

2021-05-05 Thread Konrad Windszus
Hi, the current release 1.6 is from 2015 and I am suffering from https://issues.apache.org/jira/browse/MGPG-66 which has been fixed in MGPG-66. Currently there are no open issues for the upcoming release 3.0.1 (https://issues.apache.org/jira/projec

Re: Release of maven-gpg-plugin

2021-05-06 Thread Konrad Windszus
Thanks a lot. > On 5. May 2021, at 18:35, Hervé BOUTEMY wrote: > > ok, I'll try againt to do a release: I hope users tested during that year, so > I won't have to cancel the vote again... > > Regards, > > Hervé > > Le mercredi 5 mai 2021, 15:02

Re: [maven-gpg-plugin] Unable to sign artifacts with SHA-256 or higher

2021-05-27 Thread Konrad Windszus
Look at https://issues.apache.org/jira/browse/MPOM-244 which should solve this for ASF projects. Konrad > On 27. May 2021, at 13:29, Janardhan wrote: > > Thank you, for the generous response. > > The file hashes are created by maven-resolver, w

Re: [ANN] Versions Maven Plugin 2.9.0 Released

2022-01-21 Thread Konrad Windszus
Hi, first of all thanks a lot for the release. Unfortunately, I also experienced display-plugin-updates hanging and reported this in https://github.com/mojohaus/versions-maven-plugin/issues/538 . Hopefully this regression can be fixed

Named Lock implementation for Maven with Jenkins

2022-06-21 Thread Konrad Windszus
Hi, By default Jenkins uses a global Maven repository which is accessed in parallel by multiple jobs running in dedicated VMs. To prevent race conditions one should probably configure one of the distributed named locks outlined in https://maven.apache.org/resolver/maven-resolver-named-locks/inde

Re: Named Lock implementation for Maven with Jenkins

2022-06-21 Thread Konrad Windszus
er and unique subfolder there based on the executor > number. This way the folders used are executor specific and there will be > no concurrency problems. The downside is that it will use more disk space > because many artifacts are stored multiple times. > > ti 21. kesäk. 2022 klo 10.5

Re: Named Lock implementation for Maven with Jenkins

2022-06-21 Thread Konrad Windszus
Regards > Mirko Friedenhagen > — > Sent from my mobile > > Am 21.06.22 um 10:20 schrieb Konrad Windszus > >> Thanks for that suggestion. I know about that workaround. But to speed up >> builds and to reduce disk space usage I would really like to use a shared &g

Re: Artifact Resolver configuration documentation - server.xml ?

2023-02-20 Thread Konrad Windszus
Thanks for the pointer, fixed in https://github.com/apache/maven-resolver/commit/18a16c8313ccef934301d56696254cf4f9962410. Konrad On 2023/02/19 17:29:31 Tamás Cservenák wrote: > Yup, > > Is mistake, it meant settings.xml, not server.xml. > > Hth > T > > On Sun, Feb 19, 2023, 16:58 Dominique C

Re: 3.9.0 not respecting proxy settings

2023-02-23 Thread Konrad Windszus
Why not changing Native to call https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#useSystemProperties() by default (if nothing conflicting is explicitly configured)? That way it would be more compatible with the Wagon i

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-26 Thread Konrad Windszus
The timeouts are configurable even with new native connector: https://maven.apache.org/resolver/configuration.html. Please try if those settings help. Konrad > Am 25.03.2023 um 15:08 schrieb Michael Vitz > : > > Hi all, > > We recently switched from Maven 3.8.x to 3.9.x and all of a sudden,

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Konrad Windszus
com/mvitz/maven-39-gh-actions-timeouts/actions/runs/4529868249/jobs/7978093099 > ). > > Regards, > Michael > > >> Am So., 26. März 2023 um 12:54 Uhr schrieb Konrad Windszus >> : >> >> The timeouts are configurable even with new native connector: >>

Re: [m-site-plugin] Error reading site descriptor

2023-04-04 Thread Konrad Windszus
I created https://issues.apache.org/jira/browse/DOXIASITETOOLS-301 to handle this issue more gracefully. Konrad > On 4. Apr 2023, at 11:00, Michael Osipov wrote: > > On 2023/04/03 03:41:28 Maxim Solodovnik wrote: >> Hello Michael, >> >> surprisingly it helped! >> Thanks a million! :)) > > Not

Re: release of depends-maven-plugin?

2023-05-10 Thread Konrad Windszus
Hi Julian, you would probably have to ask the ServiceMix team as it is their plug-in. Maven committers in general cannot trigger releases there. Konrad > On 10. May 2023, at 13:37, Julian Reschke wrote: > > Hi there, > > we'd like to update Jackrabbit Oak to reproducable builds, and it seems

Re: Authoring Maven Mojos for Maven 3.9.x - Maximum bytecode version=Java14

2023-10-17 Thread Konrad Windszus
I think we should revise the decision to not backport https://issues.apache.org/jira/projects/MNG/issues/MNG-7587 to Maven 3.9.x… > On 16. Oct 2023, at 22:08, Garret Wilson wrote: > > On 10/16/2023 4:59 PM, Tamá

Re: enforce module descriptions

2024-02-09 Thread Konrad Windszus
You can probably use https://www.mojohaus.org/extra-enforcer-rules/requirePropertyDiverges.html to enforce a distinct description per module. Konrad > On 9. Feb 2024, at 17:48, Delany wrote: > > Yes. I mean, of course, right? Description is like name and artifactId. > These should never inher

Re: [VOTE] Require Java 17 for Maven 4

2024-02-28 Thread Konrad Windszus
+1 Konrad > On 28. Feb 2024, at 08:30, 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

[ANN] Apache Resource Bundles 1.7 Released

2024-07-25 Thread Konrad Windszus
The Apache Maven team is pleased to announce the release of the Apache Resource Bundles, version 1.7 https://maven.apache.org/apache-resource-bundles/ Release Notes - Apache Maven Resource Bundles - Version 1.7 ** Bug * [MASFRES-69] - All files having a filename containing "target" are ex

Re: Strange warning with m-enforcer-p

2024-08-08 Thread Konrad Windszus
Hi Thorsten, Please check your effective POM via mvn help:effective-pom (https://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html). The legacy configuration parameter is probably inherited from some parent. Regards, Konrad > On 8. Aug 2024, at 09:57, Thorsten Heit wrote: > >

Re: Bug with Maven Compiler Plugin when using Textblocks?

2024-08-15 Thread Konrad Windszus
Hi Armin, Please report at https://issues.apache.org/jira/projects/MCOMPILER/summary. Looks like QDox may have issues with text blocks in general (https://github.com/paul-hammant/qdox/issues/215). Konrad > On 15. Aug 2024, at 13:03, Armin Schrenk > wrote: > > Hello everybody, > > hope this i

Re: Strange warning with m-enforcer-p

2024-08-19 Thread Konrad Windszus
Hi, Indeed, it is explicitly mentioned in https://issues.apache.org/jira/browse/MBUILDCACHE-56 with a workaround in https://issues.apache.org/jira/browse/MBUILDCACHE-56?focusedCommentId=17715327&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17715327. Konrad > On

[ANN] Apache Maven Filtering 3.4.0 Released

2024-09-10 Thread Konrad Windszus
The Apache Maven team is pleased to announce the release of the Apache Maven Filtering 3.4.0 https://maven.apache.org/shared/maven-filtering/ Release Notes - Maven Shared Components - Version maven-filtering-3.4.0 ** Improvement * [MSHARED-1412] - Allow customization of Interpolator used fo