RE: maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread Stefan CORDES
Hi Hantsy, that should be the same like https://issues.apache.org/jira/browse/MCOMPILER-567 and fixed in 3.12.1 Workaround is to stay on 3.11.0 or use false Gruß, Stefan -Original Message- From: hantsy bai Sent: Friday, December 22, 2023 5:20 AM To: Maven Users List Subject: maven

[ANN] Apache Maven 4.0.0-alpha-10 released

2023-12-21 Thread Guillaume Nodet
The Apache Maven team is pleased to announce the release of Apache Maven 4.0.0-alpha-10. 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

Re: maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread Slawomir Jaranowski
Hi, The problem is known ... we have a thread on ML about it [1] Bug was fixed, version 3.12.1 will be available after voting [2] [1] https://lists.apache.org/thread/dkzy7vx609m0lndt4vy5pn8pk4zvst46 [2] https://lists.apache.org/thread/scb8qw1or396l4hqgf5h78z5h0km60z4 pt., 22 gru 2023 o 05:20

maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread hantsy bai
I tried to update Maven compiler plugin version to the latest 3.12.0 version, and got the error message like the following when compiling the projects: [INFO] --- compiler:3.12.0:compile (default-compile) @ mongodb-kotlin --- [INFO] Recompiling the module because of changed dependency. [INFO]

Re: maven debugging frustrations

2023-12-21 Thread Alexander Kriegisch
Mark, you asked for help here, now I am asking for your help to make Maven Compiler and Maven Plexus Java better. Can you please switch back to the too-low memory settings you used before and reproduce the javac error output when compiled outside Maven? Was it something as simple as: $ javac

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

Re: Fatal error compiling: basedir .../target/generated-sources/annotations does not exist

2023-12-21 Thread Stanimir Stamenkov
Thu, 21 Dec 2023 09:10:44 +0100, /Slawomir Jaranowski/: Release under vote ... you can check candidate version: https://lists.apache.org/thread/scb8qw1or396l4hqgf5h78z5h0km60z4 Tried maven-compiler-plugin 3.12.1 from the staging repository – no error during the build. -- Stanimir

Re: Releasing a multi-module project to Maven Central?

2023-12-21 Thread Nils Breunese
Maybe the BuildPlan Maven Plugin [0] can provide interesting insights? Nils. [0] https://www.mojohaus.org/buildplan-maven-plugin/ > Op 21 dec 2023, om 17:46 heeft Laird Nelson het volgende > geschreven: > > Thanks. I'll take whatever help I can get right now. > > I've tried the jar goal and

Re: Releasing a multi-module project to Maven Central?

2023-12-21 Thread Slawomir Jaranowski
Hi, Can you show a log from your build... especially lines like: [INFO] --- jar:3.3.0:jar (default-jar) @ . --- Is your project available publicly? czw., 21 gru 2023 o 17:47 Laird Nelson napisał(a): > Thanks. I'll take whatever help I can get right now. > > I've tried the jar goal and

Re: Releasing a multi-module project to Maven Central?

2023-12-21 Thread Laird Nelson
Thanks. I'll take whatever help I can get right now. I've tried the jar goal and the jar-no-fork goal. Somehow the goal always runs multiple times. It is difficult to tell what is causing the rebuild. (The javadoc plugin doesn't have a jar goal that doesn't fork, as far as I can tell. But also

RE: maven debugging frustrations

2023-12-21 Thread mark.yagnatinsky
Forked: yes Other questions: didn't check, because using a bigger heap ("maxmem") fixed it. But thanks for this, that looks like it would have helped us! (in a hypothetical world where that PR was merged ten years earlier) (We're mostly using version 3.8 of maven-compiler-plugin...perhaps it's

Re: Fatal error compiling: basedir .../target/generated-sources/annotations does not exist

2023-12-21 Thread Slawomir Jaranowski
Hi, Release under vote ... you can check candidate version: https://lists.apache.org/thread/scb8qw1or396l4hqgf5h78z5h0km60z4 śr., 20 gru 2023 o 21:04 Slawomir Jaranowski napisał(a): > Hi > > MCOMPILER-379 - was about missing SourcesDirectory and we have IT for it: >

Re: Releasing a multi-module project to Maven Central?

2023-12-21 Thread Thomas Broyer
Shouldn't you use the jar-no-fork *goal* of the maven-source-plugin? Using that value as execution id does nothing special. BTW, did you read https://central.sonatype.org/publish/publish-maven/ ? (No idea if any of this would solve your problem though) Le jeu. 21 déc. 2023, 03:15, Laird Nelson