diff options
author | liamfallon <liam.fallon@est.tech> | 2022-12-14 09:59:46 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-12-14 11:50:16 +0000 |
commit | 5688c492c5e6760a99e1fb9853b891661665bb36 (patch) | |
tree | a10dcd83628cc94435440365516b5849973d9476 /oparent/pom.xml | |
parent | 1777b660036ec994ef5874d3eb567def38541f96 (diff) |
Remove self references in oparent
This commit removes self references in oparent. These self references
mean that the version of an import in oparent is set to the value of
project.version, which is the value of project.version in the project
importing oparent, not the actual version of oparent. This causes all
sorts of side effects.
The down side is that users of oparent will now have to explicitly
import the oparent dependencies, doing somethling like:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.onap.oparent</groupId>
<artifactId>dependencies</artifactId>
<version><Your oparent version></version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Issue-ID: POLICY-4482
Change-Id: I573bffb0656209413fafc3800c3bcbdb616beecd
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'oparent/pom.xml')
-rw-r--r-- | oparent/pom.xml | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/oparent/pom.xml b/oparent/pom.xml index 3caaf5e..b1a8c45 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.onap.oparent</groupId> <artifactId>version</artifactId> - <!-- When changing, also change the oparent.version property --> + <!-- When changing, also change the property reference in the file below --> <version>3.3.3-SNAPSHOT</version> <relativePath>..</relativePath> </parent> @@ -36,7 +36,6 @@ <url>https://wiki.onap.org/display/DW/Integration+Project</url> </scm> <properties> - <oparent.version>3.3.3</oparent.version> <jacoco.version>0.8.5</jacoco.version> <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> @@ -297,17 +296,6 @@ </dependencies> </profile> </profiles> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.onap.oparent</groupId> - <artifactId>dependencies</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> <build> <pluginManagement> <plugins> @@ -459,7 +447,7 @@ <dependency> <groupId>org.onap.oparent</groupId> <artifactId>checkstyle</artifactId> - <version>${project.version}</version> + <version>[3.3.2,)</version> </dependency> </dependencies> <executions> |