You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2023/04/06 09:07:35 UTC

[directory-kerby] branch 2.0.x-fixes updated: Adding parent pom to manage dependencies

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 2.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/directory-kerby.git


The following commit(s) were added to refs/heads/2.0.x-fixes by this push:
     new 9452dbd6 Adding parent pom to manage dependencies
9452dbd6 is described below

commit 9452dbd6cb320efc9d76fa89e25f11b874d14705
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu Apr 6 09:49:23 2023 +0100

    Adding parent pom to manage dependencies
---
 benchmark/pom.xml      |  2 +-
 has-project/pom.xml    |  2 +-
 kerby-backend/pom.xml  |  2 +-
 kerby-common/pom.xml   |  2 +-
 kerby-dist/pom.xml     |  2 +-
 kerby-kdc-test/pom.xml |  2 +-
 kerby-kdc/pom.xml      |  2 +-
 kerby-kerb/pom.xml     |  2 +-
 kerby-pkix/pom.xml     |  2 +-
 kerby-provider/pom.xml |  2 +-
 kerby-tool/pom.xml     |  2 +-
 parent/pom.xml         | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml                | 78 ++++++-------------------------------------
 13 files changed, 111 insertions(+), 79 deletions(-)

diff --git a/benchmark/pom.xml b/benchmark/pom.xml
index 9f863820..74e26726 100644
--- a/benchmark/pom.xml
+++ b/benchmark/pom.xml
@@ -15,7 +15,7 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <groupId>org.apache.kerby</groupId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
diff --git a/has-project/pom.xml b/has-project/pom.xml
index 24aa0cde..9f3ab5d9 100644
--- a/has-project/pom.xml
+++ b/has-project/pom.xml
@@ -16,7 +16,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
diff --git a/kerby-backend/pom.xml b/kerby-backend/pom.xml
index ac33808e..9c0a49f1 100644
--- a/kerby-backend/pom.xml
+++ b/kerby-backend/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/kerby-common/pom.xml b/kerby-common/pom.xml
index fcebe24e..e23385fd 100644
--- a/kerby-common/pom.xml
+++ b/kerby-common/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
   
diff --git a/kerby-dist/pom.xml b/kerby-dist/pom.xml
index 470760a4..2a8562e9 100644
--- a/kerby-dist/pom.xml
+++ b/kerby-dist/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/kerby-kdc-test/pom.xml b/kerby-kdc-test/pom.xml
index 5c981c7f..52ebfc2c 100644
--- a/kerby-kdc-test/pom.xml
+++ b/kerby-kdc-test/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/kerby-kdc/pom.xml b/kerby-kdc/pom.xml
index d1383c3a..5bf71341 100644
--- a/kerby-kdc/pom.xml
+++ b/kerby-kdc/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/kerby-kerb/pom.xml b/kerby-kerb/pom.xml
index 01e50742..3564e541 100644
--- a/kerby-kerb/pom.xml
+++ b/kerby-kerb/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
   
diff --git a/kerby-pkix/pom.xml b/kerby-pkix/pom.xml
index c6e51fb4..f24df070 100644
--- a/kerby-pkix/pom.xml
+++ b/kerby-pkix/pom.xml
@@ -16,7 +16,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/kerby-provider/pom.xml b/kerby-provider/pom.xml
index 47384902..2e37daf8 100644
--- a/kerby-provider/pom.xml
+++ b/kerby-provider/pom.xml
@@ -14,7 +14,7 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <parent>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <groupId>org.apache.kerby</groupId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
diff --git a/kerby-tool/pom.xml b/kerby-tool/pom.xml
index ef7ebf61..07547070 100644
--- a/kerby-tool/pom.xml
+++ b/kerby-tool/pom.xml
@@ -17,7 +17,7 @@
 
   <parent>
     <groupId>org.apache.kerby</groupId>
-    <artifactId>kerby-all</artifactId>
+    <artifactId>kerby-parent</artifactId>
     <version>2.0.4-SNAPSHOT</version>
   </parent>
 
diff --git a/parent/pom.xml b/parent/pom.xml
new file mode 100644
index 00000000..735cd053
--- /dev/null
+++ b/parent/pom.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <parent>
+        <groupId>org.apache.kerby</groupId>
+        <artifactId>kerby-all</artifactId>
+        <version>2.0.4-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>kerby-parent</artifactId>
+    <name>Apache Directory Kerby Parent pom</name>
+    <description>Apache Directory Kerby Parent POM</description>
+    <packaging>pom</packaging>
+
+    <properties>
+        <apacheds.version>2.0.0.AM26</apacheds.version>
+        <commons-io.version>2.11.0</commons-io.version>
+        <gson.version>2.10.1</gson.version>
+        <h2.version>2.1.214</h2.version>
+        <ldap.api.version>2.1.2</ldap.api.version>
+        <junit.version>4.13.2</junit.version>
+        <nimbus.jose.version>9.30.2</nimbus.jose.version>
+        <slf4j.version>1.7.36</slf4j.version>
+        <assertj.version>3.24.2</assertj.version>
+        <jline.version>3.22.0</jline.version>
+        <mockito.version>4.11.0</mockito.version>
+        <netty.version>4.1.89.Final</netty.version>
+        <hadoop.version>3.3.4</hadoop.version>
+        <bouncycastle.version>1.70</bouncycastle.version>
+        <jersey.container.version>2.17</jersey.container.version>
+        <jersey.version>1.19.4</jersey.version>
+        <commons-text.version>1.10.0</commons-text.version>
+        <commons-dbutils.version>1.7</commons-dbutils.version>
+        <drizzle-jdbc.version>1.4</drizzle-jdbc.version>
+        <jsch.version>0.1.55</jsch.version>
+        <commons-codec.version>1.15</commons-codec.version>
+        <commons-logging.version>1.2</commons-logging.version>
+        <ini4j.version>0.5.4</ini4j.version>
+        <zookeeper.version>3.5.10</zookeeper.version>
+        <xnio-api.version>3.8.9.Final</xnio-api.version>
+    </properties>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.slf4j</groupId>
+                <artifactId>slf4j-api</artifactId>
+                <version>${slf4j.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>${junit.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.assertj</groupId>
+                <artifactId>assertj-core</artifactId>
+                <version>${assertj.version}</version>
+                <scope>test</scope>
+            </dependency>
+            <!-- Overriding some transitive dependencies for security reasons -->
+            <dependency>
+                <groupId>commons-beanutils</groupId>
+                <artifactId>commons-beanutils</artifactId>
+                <version>1.9.4</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.2.2</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+</project>
diff --git a/pom.xml b/pom.xml
index 67e211b0..81237da5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,46 +46,21 @@
     </site>
   </distributionManagement>
 
-  <properties>
-    <apacheds.version>2.0.0.AM26</apacheds.version>
-    <commons-io.version>2.11.0</commons-io.version>
-    <gson.version>2.10.1</gson.version>
-    <h2.version>2.1.214</h2.version>
-    <ldap.api.version>2.1.2</ldap.api.version>
-    <junit.version>4.13.2</junit.version>
-    <nimbus.jose.version>9.30.2</nimbus.jose.version>
-    <slf4j.version>1.7.36</slf4j.version>
-    <assertj.version>3.24.2</assertj.version>
-    <findbugs.version>3.0.5</findbugs.version>
-    <buildtools.dir>${basedir}/build-tools</buildtools.dir>
-    <skipTests>false</skipTests>
-    <jline.version>3.22.0</jline.version>
-    <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
-    <maven-jxr-plugin.version>3.3.0</maven-jxr-plugin.version>
-    <mockito.version>4.11.0</mockito.version>
-    <netty.version>4.1.89.Final</netty.version>
-    <hadoop.version>3.3.4</hadoop.version>
-    <bouncycastle.version>1.70</bouncycastle.version>
-    <jersey.container.version>2.17</jersey.container.version>
-    <jersey.version>1.19.4</jersey.version>
-    <commons-text.version>1.10.0</commons-text.version>
-    <commons-dbutils.version>1.7</commons-dbutils.version>
-    <drizzle-jdbc.version>1.4</drizzle-jdbc.version>
-    <jsch.version>0.1.55</jsch.version>
-    <maven-owasp-plugin-version>8.1.0</maven-owasp-plugin-version>
-    <commons-codec.version>1.15</commons-codec.version>
-    <commons-logging.version>1.2</commons-logging.version>
-    <ini4j.version>0.5.4</ini4j.version>
-    <targetJdk.version>1.8</targetJdk.version>
-    <zookeeper.version>3.5.10</zookeeper.version>
-    <xnio-api.version>3.8.8.Final</xnio-api.version>
-  </properties>
-
   <prerequisites>
     <maven>3.2.0</maven>
   </prerequisites>
 
+  <properties>
+      <buildtools.dir>${basedir}/build-tools</buildtools.dir>
+      <findbugs.version>3.0.5</findbugs.version>
+      <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
+      <maven-jxr-plugin.version>3.3.0</maven-jxr-plugin.version>
+      <skipTests>false</skipTests>
+      <targetJdk.version>1.8</targetJdk.version>
+  </properties>
+
   <modules>
+    <module>parent</module>
     <module>kerby-common</module>
     <module>kerby-pkix</module>
     <module>kerby-kerb</module>
@@ -99,39 +74,6 @@
     <module>kerby-dist</module>
   </modules>
 
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-api</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${junit.version}</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.assertj</groupId>
-        <artifactId>assertj-core</artifactId>
-        <version>${assertj.version}</version>
-        <scope>test</scope>
-      </dependency>
-      <!-- Overriding some transitive dependencies for security reasons -->
-      <dependency>
-        <groupId>commons-beanutils</groupId>
-        <artifactId>commons-beanutils</artifactId>
-        <version>1.9.4</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-collections</groupId>
-        <artifactId>commons-collections</artifactId>
-        <version>3.2.2</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
   <build>
     <pluginManagement>
       <plugins>