This is an automated email from the ASF dual-hosted git repository.
guoyp pushed a commit to branch griffin-2.0.0-dev
in repository https://gitbox.apache.org/repos/asf/griffin.git
The following commit(s) were added to refs/heads/griffin-2.0.0-dev by this push:
new 0703f8b2 add griffin bom for third party dependencies management (#660)
0703f8b2 is described below
commit 0703f8b2decc04943e52f84d6f5956cb2fc352db
Author: William Guo <[email protected]>
AuthorDate: Tue Aug 6 20:19:01 2024 +0800
add griffin bom for third party dependencies management (#660)
* add griffin bom for third party dependencies management
* standarize pom structure
---
griffin-bom/README.md | 1 +
{griffin-metric => griffin-bom}/pom.xml | 16 +++-
griffin-connectors/pom.xml | 12 ++-
griffin-dqc/pom.xml | 12 ++-
griffin-metric/pom.xml | 6 +-
{griffin-metric => griffin-scheduler}/pom.xml | 7 +-
pom.xml | 107 +++++++++++++++++++++-----
7 files changed, 115 insertions(+), 46 deletions(-)
diff --git a/griffin-bom/README.md b/griffin-bom/README.md
new file mode 100644
index 00000000..1b47cbe7
--- /dev/null
+++ b/griffin-bom/README.md
@@ -0,0 +1 @@
+this is for third party dependencies' management.
diff --git a/griffin-metric/pom.xml b/griffin-bom/pom.xml
similarity index 83%
copy from griffin-metric/pom.xml
copy to griffin-bom/pom.xml
index 8b32b982..9c6d4692 100644
--- a/griffin-metric/pom.xml
+++ b/griffin-bom/pom.xml
@@ -26,14 +26,26 @@ under the License.
<groupId>org.apache.griffin</groupId>
<artifactId>griffin</artifactId>
<version>2.0.0-SNAPSHOT</version>
+ <relativePath/>
</parent>
<groupId>org.apache.griffin</groupId>
- <artifactId>griffin-metric</artifactId>
+ <artifactId>griffin-bom</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>griffin-metric-${project.parent.version}</name>
+ <name>Apache Griffin BOM ${project.version}</name>
<url>https://griffin.apache.org</url>
+ <properties>
+
+ </properties>
+
+
+ <dependencyManagement>
+ <dependencies>
+ </dependencies>
+ </dependencyManagement>
+
+
</project>
\ No newline at end of file
diff --git a/griffin-connectors/pom.xml b/griffin-connectors/pom.xml
index f52c65bb..e7862480 100644
--- a/griffin-connectors/pom.xml
+++ b/griffin-connectors/pom.xml
@@ -17,9 +17,9 @@ 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/xsd/maven-4.0.0.xsd">
-
+<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>
@@ -28,11 +28,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xs
<version>2.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.griffin</groupId>
+
<artifactId>griffin-connectors</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>griffin-connectors-${project.parent.version}</name>
+ <name>${project.artifactId}</name>
<url>https://griffin.apache.org</url>
diff --git a/griffin-dqc/pom.xml b/griffin-dqc/pom.xml
index ff2c8cf0..7d503e5c 100644
--- a/griffin-dqc/pom.xml
+++ b/griffin-dqc/pom.xml
@@ -17,9 +17,9 @@ 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/xsd/maven-4.0.0.xsd">
-
+<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>
@@ -28,11 +28,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xs
<version>2.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.griffin</groupId>
+
<artifactId>griffin-dqc</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>griffin-dqc-${project.parent.version}</name>
+ <name>${project.artifactId}</name>
<url>https://griffin.apache.org</url>
diff --git a/griffin-metric/pom.xml b/griffin-metric/pom.xml
index 8b32b982..fe71d447 100644
--- a/griffin-metric/pom.xml
+++ b/griffin-metric/pom.xml
@@ -28,11 +28,9 @@ under the License.
<version>2.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.griffin</groupId>
+
<artifactId>griffin-metric</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>griffin-metric-${project.parent.version}</name>
+ <name>${project.artifactId}</name>
<url>https://griffin.apache.org</url>
diff --git a/griffin-metric/pom.xml b/griffin-scheduler/pom.xml
similarity index 84%
copy from griffin-metric/pom.xml
copy to griffin-scheduler/pom.xml
index 8b32b982..4fe212a8 100644
--- a/griffin-metric/pom.xml
+++ b/griffin-scheduler/pom.xml
@@ -28,11 +28,8 @@ under the License.
<version>2.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.griffin</groupId>
- <artifactId>griffin-metric</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>griffin-metric-${project.parent.version}</name>
+ <artifactId>griffin-scheduler</artifactId>
+ <name>${project.artifactId}</name>
<url>https://griffin.apache.org</url>
diff --git a/pom.xml b/pom.xml
index 1d1cdb9c..99b88c66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@ 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"
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
@@ -34,26 +34,31 @@ under the License.
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Griffin ${project.version}</name>
+ <description>Big Data Quality Solution For Batch and
Streaming</description>
<url>https://griffin.apache.org</url>
<properties>
- <encoding>UTF-8</encoding>
-
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
-
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
-
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <spring.boot.version>2.6.1</spring.boot.version>
<java.version>1.8</java.version>
- <scala.binary.version>2.11</scala.binary.version>
- <scala211.binary.version>2.11</scala211.binary.version>
- <scala.version>${scala.binary.version}.12</scala.version>
-
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
+ <junit.version>5.9.0</junit.version>
+ <mockito.version>3.12.4</mockito.version>
+ <spotbugs.version>3.1.12</spotbugs.version>
+ <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
+ <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
+ <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
+ <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
+ <maven-source-plugin.version>2.4</maven-source-plugin.version>
+ <maven-surefire-plugin.version>3.0.0-M6</maven-surefire-plugin.version>
+
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
+ <maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
+ <maven.deploy.skip>false</maven.deploy.skip>
+ <jacoco.skip>false</jacoco.skip>
+ <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
+ <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
+ <lombok.version>1.18.20</lombok.version>
-
<maven-apache-rat.version>${version.apache-rat-plugin}</maven-apache-rat.version>
- <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
-
- <compile.scope>compile</compile.scope>
- <provided.scope>provided</provided.scope>
</properties>
<licenses>
@@ -97,20 +102,80 @@ under the License.
<module>griffin-connectors</module>
<module>griffin-metric</module>
<module>griffin-dqc</module>
- <module>schedulers</module>
+ <module>griffin-scheduler</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
+ <groupId>org.apache.griffin</groupId>
+ <artifactId>griffin-metric</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.griffin</groupId>
+ <artifactId>griffin-scheduler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.griffin</groupId>
+ <artifactId>griffin-connectors</artifactId>
+ <version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.griffin</groupId>
+ <artifactId>griffin-dqc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.junit</groupId>
+ <artifactId>junit-bom</artifactId>
+ <version>${junit.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+
</dependencies>
</dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-inline</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-configuration-processor</artifactId>
+ <version>${spring.boot.version}</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
<build>
<pluginManagement>
<plugins>