From cfabf5bc5367fa782f5fa4ddae3aaf91a22ff6b2 Mon Sep 17 00:00:00 2001
From: rdsharma26 <65777064+rdsharma26@users.noreply.github.com>
Date: Fri, 20 Dec 2024 13:20:44 -0500
Subject: [PATCH] Added configuration for shading, signing and releasing DQDL
to Maven (#7)
- The shading configuration replaces the current namespace with software.amazon.glue
- The signing configuration signs the JAR file in preparation for releasing to Maven.
---
.gitignore | 2 ++
pom.xml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 97 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index b58e8c9..953403d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,8 @@ gen
*.iml
.idea
+dependency-reduced-pom.xml
+
antlr-grammar
antlr-generated-src
gen
diff --git a/pom.xml b/pom.xml
index 1cb00cf..187f62d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,9 +3,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- com.amazonaws.services.glue.dataquality
+ software.amazon.glue
dqdl
- 1.0.0
+ 0.9.0
com.amazonaws.glue.ml.dataquality.dqdl
@@ -110,15 +110,43 @@
org.apache.maven.plugins
maven-surefire-plugin
- ${maven.surefire.plugin.version}
+ ${maven.surefire.plugin.version}
org.apache.maven.surefire
surefire-junit-platform
- ${maven.surefire.plugin.version}
+ ${maven.surefire.plugin.version}
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 3.6.0
+
+
+
+ com.amazonaws.glue.ml.
+ software.amazon.glue.
+
+
+
+
+
+ package
+
+ shade
+
+
+
+
+ software.amazon.glue:*
+
+
+
+
+
+
@@ -132,4 +160,67 @@
+
+
+ release
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.2.1
+
+
+ attach-sources
+
+ jar-no-fork
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9.1
+
+
+
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.3
+ true
+
+ ossrh
+ https://aws.oss.sonatype.org/
+ false
+
+
+
+
+
+