Re: testing archetype generation

2024-09-02 Thread Florent Biville
I usually rely on https://maven.apache.org/archetype/maven-archetype-plugin/create-from-project-mojo.html . I find it easier to work with: create a standard Maven project, tailor to your needs and generate the archetype from it.

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

2024-02-29 Thread Florent Biville
ld by outer > users, can not be a reproducible build check and so on ... > > So I would like to not publish something like this... > > > > czw., 29 lut 2024 o 13:41 Florent Biville > napisał(a): > > > Yes, to clarify, our project has something like th

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

2024-02-29 Thread Florent Biville
> > > > On Thu, Feb 29, 2024 at 1:31 PM Florent Biville > > wrote: > > > Hello, > > > > I'm working on an open-source project that we want to release to Maven > > Central in the coming weeks. > > > > The project currently includes a

Publishing to Maven Central and non-OSS plugin dependencies

2024-02-29 Thread Florent Biville
Hello, I'm working on an open-source project that we want to release to Maven Central in the coming weeks. The project currently includes a plugin dependency that is NOT open-source (nor in a public GitHub repository). Is that a blocker for releases to Maven Central? I know it would be for regula

Re: Dependency JDK convergence rule?

2023-10-18 Thread Florent Biville
That's perfect, thanks :) On Tue, Oct 10, 2023 at 3:02 PM Slawomir Jaranowski wrote: > Hi, > > Did you try: > https://www.mojohaus.org/extra-enforcer-rules/enforceBytecodeVersion.html > > wt., 10 paź 2023 o 14:40 Florent Biville > napisał(a): > > > Hello

Maven license distribution - repo

2023-10-11 Thread Florent Biville
Hello, Could someone clarify what "repo" actually means in terms of license distribution. I searched the interwebz without much success. I also find the official documentation quite vague: This describes how the project may be legally distributed. The

Dependency JDK convergence rule?

2023-10-10 Thread Florent Biville
Hello, I could not find what I'm looking for in the built-in rules of the enforcer plugin: https://maven.apache.org/enforcer/enforcer-rules/index.html. Is there something available today to make sure that all dependencies have the same JDK baseline? Is it even feasible to implement such a check?

Re: maven-polyglot

2023-10-09 Thread Florent Biville
Hello, This is probably not what you're looking for, but a colleague and I created this example for an internal training on Apache Maven that we're giving in a regular basis: https://github.com/learning-maven/pom-as-yaml Hope it helps, Florent On Mon, Oct 9, 2023, 23:16 Eric Kolotyluk wrote: >

Multi-module Maven projects and Scala-aware artifact IDs

2023-06-12 Thread Florent Biville
Hello, I'm working on a multi-module Maven project where part of the artifact ID includes the Scala version it is built against (2.12, 2.13, ...), as it is common with Scala projects, since Scala minor version bumps often break (or so I read). I'm currently trying to fix the project setup, since

Re: Plans to deprecate or change the default value of maven compiler plugin's showWarnings

2022-09-22 Thread Florent Biville
ier Lamy wrote: > On Thu, 15 Sept 2022 at 00:52, Florent Biville > wrote: > > > Hi everyone, > > > > A colleague of mine recently stumbled upon this > > < > > > https://stackoverflow.com/questions/9192613/how-do-i-get-a-java-maven-build

Plans to deprecate or change the default value of maven compiler plugin's showWarnings

2022-09-14 Thread Florent Biville
Hi everyone, A colleague of mine recently stumbled upon this . Quoting the above Stackoverflow answer: > true is required. For reasons unknown, Maven > by default activel

Re: Where can find a working plugin test example

2022-06-28 Thread Florent Biville
Hello, I recently published a simple Maven example with working tests and a modern site skin: https://github.com/learning-maven/simple-plugin. It uses the awesome integration test framework of Karl Heinz Marbaise. It requires a few dependencies and plugins but the usage is quite straightforward.

Maven Reactor and plugin "local" dependencies

2022-05-05 Thread Florent Biville
Hello everyone, TL;DR? https://github.com/fbiville/mvn-plugin-dependency-reactor-issue I recently noticed that, within the big multi-module project of my company, a specific module is listed as a dependency to plugins such as Maven Checkstyle plugin or com.mycila:license-maven-plugin. The proble