Hi,
while working on a new release of directory-project (45), I found out
that it has a reference on
org.apache.directory.buildtools.checkstyle-configuration, which itself
has a dependences on directory-project:
in directory-project/pom.xml:
<properties>
...
<org.apache.directory.checkstyle-configuration.version>2.0.1-SNAPSHOT</org.apache.directory.checkstyle-configuration.version>
</properties>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.42</version>
</dependency>
<dependency>
<groupId>org.apache.directory.buildtools</groupId>
<artifactId>checkstyle-configuration</artifactId>
<version>${org.apache.directory.checkstyle-configuration.version}</version>
</dependency>
in directory-buildtools/pom.xml:
<project xmlns="https://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0
https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.directory.project</groupId>
<artifactId>project</artifactId>
<version>45-SNAPSHOT</version>
<relativePath />
</parent>
This is not exactly expected (although in the current 44 version of the
directopry-project pom, we refer to a released version of
checkstyle-configuration, AKA 2.0.0
This is kind of problematic, as we can't really have both release
depending on the latest release of the other one...
The only way to get the release proper is to:
- first release project-45 refering to checkstyle-configuration-2.0.0
- then release checkstyle-configuration-2.0.1 refering in project-45
(refering to checkstyle-configuration-2.0.0 itself...)
- then to release project-46 refering to checkstyle-configuration-2.0.1
(which will be refering to project-45...)
or simpler to release checkstyle-configuration-2.0.1 refering to
project-44, which should not be such a big deal as we don't have any
dependencies in the directoy-buildtools projects...
wdyt ?
--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] https://www.busit.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]