1

We have multimodule project . I could see one place considers SNAPSHOT and another place considers exact version . I get below error when building pom. Could some one please help on this?

[WARNING] 
Dependency convergence error for test.logging:base:2301.0.1-SNAPSHOT paths to dependency are:
+-abc.test:test-cli:2201.0.0-SNAPSHOT
  +-abc.test:test-observability:2201.0.0-SNAPSHOT
    +-test.logging:helidon:2301.0.1-SNAPSHOT
      +-test.logging:base:2301.0.1-SNAPSHOT
and
+-abc.test:test-cli:2201.0.0-SNAPSHOT
  +-test.logging:base:2301.0.1-20220803.092936-190

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.

Below is flatten plugin config in my parent pom.

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>flatten-maven-plugin</artifactId>
                <version>${version.plugin.flatten}</version>
                <configuration>
                    <updatePomFile>true</updatePomFile>
                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
                </configuration>
                <executions>
                    <execution>
                        <id>flatten</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>flatten</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>flatten.clean</id>
                        <phase>clean</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
santosh jk
  • 111
  • 1
  • 11

0 Answers0