Skip to content

Not properly declaring dependencies #48

@bitxon

Description

@bitxon

Description
Maven project that uses testcontainers-jooq-codegen-maven-plugin always print a WARNING


Steps to Reproduce

  1. Add testcontainers-jooq-codegen-maven-plugin to your project
<build>
    <plugins>
        <plugin>
            <groupId>org.testcontainers</groupId>
            <artifactId>testcontainers-jooq-codegen-maven-plugin</artifactId>
            <version>0.0.4</version>
            ...
        </plugin>
    </plugins>
</build>
  1. Build your project
./mvnw clean verify -Dmaven.plugin.validation=VERBOSE
  1. See Warning in build log (console)
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.246 s
[INFO] Finished at: 2025-04-06T13:36:26+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] 
[WARNING] Plugin validation issues were detected in 1 plugin(s)
[WARNING] 
[WARNING]  * org.testcontainers:testcontainers-jooq-codegen-maven-plugin:0.0.4
[WARNING]   Declared at location(s):
[WARNING]    * bitxon:spring-jooq-postgres:0.0.1-SNAPSHOT (pom.xml) @ line 93
[WARNING]   Used in module(s):
[WARNING]    * bitxon:spring-jooq-postgres:0.0.1-SNAPSHOT (pom.xml)
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-builder-support:3.9.0, org.apache.maven:maven-model-builder:3.9.0, org.apache.maven:maven-core:3.9.0, org.apache.maven:maven-repository-metadata:3.9.0, org.apache.maven:maven-plugin-api:3.9.0, org.apache.maven:maven-resolver-provider:3.9.0, org.apache.maven:maven-settings:3.9.0, org.apache.maven:maven-artifact:3.9.0, org.apache.maven:maven-model:3.9.0, org.apache.maven:maven-settings-builder:3.9.0]
[WARNING] 
[WARNING] 
[WARNING] Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues.
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions