You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sourcelume.apache.org by jg...@apache.org on 2026/10/12 12:38:39 UTC

(sourcelume-tooling) 01/01: Community over Code Glasgow Hackathon spike

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

jgoodyear pushed a commit to branch COC-spike
in repository https://gitbox.apache.org/repos/asf/sourcelume-tooling.git

commit cb93c4add2cb3fbd0fd50fea606d5df88902b0c7
Author: jgoodyear <jg...@apache.org>
AuthorDate: Mon Oct 12 10:08:21 2026 -0230

    Community over Code Glasgow Hackathon spike
---
 .gitignore                                         |   3 +
 NOTICE                                             |   5 +
 README.md                                          | 152 ++++++++-
 examples/README.md                                 | 132 ++++++++
 examples/helloworld-sample/pom.xml                 | 136 ++++++++
 .../org/apache/sourcelume/examples/HelloWorld.java |  32 ++
 .../apache/sourcelume/examples/HelloWorldTest.java |  29 ++
 examples/simulate-run.sh                           | 116 +++++++
 plugins/sourcelume-maven-plugin/pom.xml            | 108 ++++++
 .../tooling/maven/client/SourcelumeClient.java     | 178 ++++++++++
 .../tooling/maven/client/SourcelumeResponse.java   |  74 ++++
 .../sourcelume/tooling/maven/model/Creator.java    |  74 ++++
 .../tooling/maven/model/CustodyChainEntry.java     |  69 ++++
 .../tooling/maven/model/LicenseHistoryEntry.java   |  57 ++++
 .../tooling/maven/model/ProvenanceRecord.java      | 240 +++++++++++++
 .../tooling/maven/mojo/AbstractSourcelumeMojo.java | 374 +++++++++++++++++++++
 .../tooling/maven/mojo/GenerateMojo.java           |  56 +++
 .../sourcelume/tooling/maven/mojo/PublishMojo.java |  90 +++++
 .../tooling/maven/mojo/ValidateMojo.java           |  74 ++++
 .../tooling/maven/util/SpdxLicenseMapper.java      | 165 +++++++++
 .../sourcelume/tooling/maven/util/SpecBuilder.java | 287 ++++++++++++++++
 .../tooling/maven/client/SourcelumeClientTest.java | 156 +++++++++
 .../sourcelume/tooling/maven/mojo/MojoTest.java    | 161 +++++++++
 .../tooling/maven/util/SpdxLicenseMapperTest.java  |  76 +++++
 .../tooling/maven/util/SpecBuilderTest.java        | 139 ++++++++
 pom.xml                                            | 164 +++++++++
 26 files changed, 3146 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 6d4cc1c..f425888 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,6 @@
 .junie/
 target/
 *.class
+
+# Do not check in example targets
+examples/helloworld-sample/target
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..0e6045e
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,5 @@
+Apache Sourcelume Tooling
+Copyright 2026 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (https://www.apache.org/).
diff --git a/README.md b/README.md
index d5b5078..422088d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,155 @@
 # Apache Sourcelume Tooling (`sourcelume-tooling`)
 
+> Tooling support and build system plugins to automate generating, validating, and submitting Apache Sourcelume specification records to a Sourcelume Registry.
+
 ## Overview
 
-Simplifying submission of spec records to Apache Sourcelume Registry.
+Apache Sourcelume Tooling simplifies the process by which projects describe their dataset provenance and submit signed metadata records to an Apache Sourcelume Registry instance.
+
+This repository provides native plugins and modules for various build ecosystems:
+- **`sourcelume-maven-plugin`** (JVM / Maven)
+- **`sourcelume-gradle-plugin`** *(Roadmap - JVM / Gradle)*
+- **`sourcelume-hatch-plugin`** *(Roadmap - Python / Hatch)*
+- **`sourcelume-cmake-module`** *(Roadmap - C / C++ / CMake)*
+
+---
+
+## Sourcelume Maven Plugin (`sourcelume-maven-plugin`)
+
+The `sourcelume-maven-plugin` extracts metadata directly from a project's `pom.xml` (coordinates, organization, developers, license, SCM repositories), generates canonical [Sourcelume 0.0.1 Provenance Records](https://sourcelume.apache.org/schema/0.0.1/sourcelume.schema.json), validates them against the registry schema, and publishes them to the registry.
+
+### Goals
+
+| Goal | Description | Default Lifecycle Phase |
+|---|---|---|
+| `sourcelume:generate` | Generates a `provenance-record.json` spec file from POM metadata. | `prepare-package` |
+| `sourcelume:validate` | Validates the spec against the registry's `/records/validate` endpoint. | `verify` |
+| `sourcelume:publish` | Submits the generated spec to the registry (`POST /records`). | `deploy` |
+| `sourcelume:help` | Displays help and configuration options for the plugin. | - |
+
+---
+
+### Quickstart & Usage
+
+#### 1. Command-Line Execution (Ad-hoc)
+
+Submit a Maven project's provenance spec directly from the CLI:
+
+```bash
+mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:publish \
+  -Dregistry.url=https://registry.example.org \
+  -Dregistry.username="$REGISTRY_USERNAME" \
+  -Dregistry.password="$REGISTRY_PASSWORD"
+```
+
+Or with a bearer token:
+
+```bash
+mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:publish \
+  -Dregistry.url=https://registry.example.org \
+  -Dregistry.token="$REGISTRY_TOKEN"
+```
+
+To run a dry run without submitting data:
+
+```bash
+mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:publish \
+  -Dsourcelume.dryRun=true
+```
+
+#### 2. Declarative POM Configuration
+
+Add the plugin to your `pom.xml`:
+
+```xml
+<project>
+  ...
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.sourcelume</groupId>
+        <artifactId>sourcelume-maven-plugin</artifactId>
+        <version>0.0.1-SNAPSHOT</version>
+        <configuration>
+          <registryUrl>https://registry.example.org</registryUrl>
+          <licenseCategory>open-source</licenseCategory>
+          <licenseNote>Permissive open source training data</licenseNote>
+          <!-- Optional custom overrides -->
+          <!-- <datasetIdentifier>doi:10.1234/example-dataset</datasetIdentifier> -->
+          <!-- <datasetName>Custom Training Dataset</datasetName> -->
+        </configuration>
+        <executions>
+          <execution>
+            <id>sourcelume-generate</id>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>sourcelume-publish</id>
+            <goals>
+              <goal>publish</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+```
+
+---
+
+### Configuration Reference
+
+| Parameter | System Property / CLI Flag | Environment Variable | Default Value | Description |
+|---|---|---|---|---|
+| `registryUrl` | `-Dregistry.url` | `SOURCELUME_REGISTRY_URL` | `http://localhost:8082` | URL of the Sourcelume Registry. |
+| `username` | `-Dregistry.username` | `SOURCELUME_REGISTRY_USERNAME` | - | Registry username for HTTP Basic Auth. |
+| `password` | `-Dregistry.password` | `SOURCELUME_REGISTRY_PASSWORD` | - | Registry password for HTTP Basic Auth. |
+| `token` | `-Dregistry.token` | `SOURCELUME_REGISTRY_TOKEN` | - | Bearer token for authentication. |
+| `dryRun` | `-Dsourcelume.dryRun` | - | `false` | If true, logs payloads without sending to the registry. |
+| `failOnError` | `-Dsourcelume.failOnError` | - | `true` | If true, failures stop the Maven build. |
+| `skip` | `-Dsourcelume.skip` | - | `false` | Skips plugin execution. |
+| `outputFile` | `-Dsourcelume.outputFile` | - | `${project.build.directory}/sourcelume/provenance-record.json` | Path to generated JSON-LD spec. |
+| `recordFile` | `-Dsourcelume.recordFile` | - | - | Path to pre-existing JSON-LD record file to submit. |
+| `datasetIdentifier` | `-Dsourcelume.datasetIdentifier`| - | `sourcelume://maven/${groupId}/${artifactId}` | Dataset persistent identifier. |
+| `datasetName` | `-Dsourcelume.datasetName` | - | `${project.name}` / `${artifactId}` | Dataset title or name. |
+| `license` | `-Dsourcelume.license` | - | Derived from POM | License name, URL, or SPDX IRI. |
+| `licenseCategory` | `-Dsourcelume.licenseCategory` | - | `open-source` | Category (e.g. `open-source`, `open-data`, `public-domain`). |
+
+---
+
+## Building and Testing
+
+Prerequisites:
+- Java 17+
+- Maven 3.9+
+
+```bash
+# Build and run all tests
+mvn clean test
+
+# Install locally to test with sample Maven projects
+mvn clean install
+```
+
+## Running Examples & Simulation
+
+A ready-to-run sample project and simulation script are provided in the `examples/` directory:
+
+```bash
+# Run automated simulation
+./examples/simulate-run.sh
+
+# Or explore the sample project directly
+cd examples/helloworld-sample
+mvn compile sourcelume:generate
+mvn sourcelume:publish -Dsourcelume.dryRun=true
+```
+
+See [examples/README.md](examples/README.md) for full details and live registry verification instructions.
+
+## License
+
+Licensed under the [Apache License, Version 2.0](LICENSE).
diff --git a/examples/README.md b/examples/README.md
new file mode 100644
index 0000000..e90b2ce
--- /dev/null
+++ b/examples/README.md
@@ -0,0 +1,132 @@
+# Apache Sourcelume Tooling — Examples
+
+This folder provides ready-to-use sample projects and simulation scripts to demonstrate how projects can automatically extract provenance metadata, generate canonical Sourcelume 0.0.1 Provenance Records, validate them against schema definitions, and publish them to a Sourcelume Registry.
+
+## Contents
+
+- **`helloworld-sample/`**: A sample Java/Maven Hello World project configured with `sourcelume-maven-plugin`.
+- **`simulate-run.sh`**: An automated end-to-end simulation runner that builds the sample, executes provenance record generation, simulates dry-run submission, validates against the local registry, publishes to the local registry, and queries the registry to verify ingestion.
+
+---
+
+## Quick Simulation
+
+Make sure the tooling plugin is installed in your local Maven repository (`~/.m2/repository`):
+
+```bash
+# From repository root
+mvn clean install
+```
+
+Run the end-to-end simulation runner:
+
+```bash
+chmod +x examples/simulate-run.sh
+./examples/simulate-run.sh
+```
+
+---
+
+## Manual Execution Walkthrough
+
+You can test individual goals directly in `examples/helloworld-sample`:
+
+```bash
+cd examples/helloworld-sample
+```
+
+### 1. Compile & Generate Provenance Record
+
+Generates `${project.build.directory}/sourcelume/provenance-record.json` based on POM coordinates, developers, and license metadata:
+
+```bash
+mvn compile sourcelume:generate
+```
+
+You can inspect the generated JSON-LD spec file:
+
+```bash
+cat target/sourcelume/provenance-record.json
+```
+
+Example output:
+
+```json
+{
+  "@context": "https://sourcelume.apache.org/context/0.0.1/sourcelume.jsonld",
+  "id": "https://sourcelume.apache.org/records/rec-maven-org.apache.sourcelume.examples-sourcelume-helloworld-sample-1.0.0-SNAPSHOT",
+  "type": "ProvenanceRecord",
+  "identifier": "sourcelume://datasets/sample-helloworld-corpus-v1",
+  "name": "Sourcelume Hello World Example Dataset",
+  "version": "1.0.0-SNAPSHOT",
+  "license": "https://spdx.org/licenses/Apache-2.0.html",
+  "licenseCategory": "open-source",
+  "licenseNote": "Apache-2.0 verified example dataset & code",
+  "creator": [
+    {
+      "type": "schema:Organization",
+      "name": "The Apache Software Foundation",
+      "role": "originator"
+    },
+    {
+      "type": "schema:Person",
+      "name": "Sourcelume Example Contributor",
+      "role": "originator"
+    }
+  ],
+  "created": "2026-10-12T09:49:00Z",
+  "added": "2026-10-12T09:49:00Z",
+  "contentCreated": "2026-10-12T09:49:00Z",
+  "origin": "Curated metadata from Maven POM: org.apache.sourcelume.examples:sourcelume-helloworld-sample:1.0.0-SNAPSHOT",
+  "custodyChain": [
+    {
+      "agent": "https://sourcelume.apache.org/agents/maven-plugin",
+      "action": "maven_build_and_provenance_generation",
+      "startTime": "2026-10-12T09:49:00Z"
+    }
+  ]
+}
+```
+
+### 2. Dry-Run Submission (Simulation Mode)
+
+Simulate publishing without sending network traffic:
+
+```bash
+mvn sourcelume:publish -Dsourcelume.dryRun=true
+```
+
+### 3. Live Registry Validation & Submission (Localhost)
+
+When running Apache Sourcelume Registry locally (`http://localhost:8082`):
+
+```bash
+# Validate against registry SHACL & JSON Schema validator
+mvn sourcelume:validate -Dregistry.url=http://localhost:8082
+
+# Publish record to registry
+mvn sourcelume:publish -Dregistry.url=http://localhost:8082
+```
+
+Authentication flags can also be passed if required:
+
+```bash
+mvn sourcelume:publish \
+  -Dregistry.url=http://localhost:8082 \
+  -Dregistry.username=admin \
+  -Dregistry.password=admin
+```
+
+---
+
+## Verifying in Sourcelume Registry & Apache Atlas
+
+Once published, you can query the record from the registry API or Apache Atlas:
+
+```bash
+# Query record by ID
+curl -s http://localhost:8082/records/urn%3Asourcelume%3Amaven%3Aorg.apache.sourcelume.examples%3Asourcelume-helloworld-sample%3A1.0.0-SNAPSHOT | jq .
+
+# Or query dataset in Atlas
+curl -s "http://localhost:8082/api/v1/datasets?qualifiedName=urn%3Asourcelume%3Amaven%3Aorg.apache.sourcelume.examples%3Asourcelume-helloworld-sample%3A1.0.0-SNAPSHOT" | jq .
+```
diff --git a/examples/helloworld-sample/pom.xml b/examples/helloworld-sample/pom.xml
new file mode 100644
index 0000000..273f78f
--- /dev/null
+++ b/examples/helloworld-sample/pom.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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 with
+    the License.  You may obtain a copy of the License at
+
+       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/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.sourcelume.examples</groupId>
+  <artifactId>sourcelume-helloworld-sample</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Apache Sourcelume Hello World Sample</name>
+  <description>Sample project demonstrating automated generation, validation, and submission of Sourcelume provenance records.</description>
+  <url>https://sourcelume.apache.org/examples/helloworld</url>
+
+  <licenses>
+    <license>
+      <name>Apache License, Version 2.0</name>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <organization>
+    <name>The Apache Software Foundation</name>
+    <url>https://www.apache.org/</url>
+  </organization>
+
+  <developers>
+    <developer>
+      <id>developer</id>
+      <name>Sourcelume Example Contributor</name>
+      <email>dev@sourcelume.apache.org</email>
+      <organization>Apache Sourcelume</organization>
+      <roles>
+        <role>originator</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <scm>
+    <connection>scm:git:https://github.com/apache/sourcelume-tooling.git</connection>
+    <developerConnection>scm:git:https://github.com/apache/sourcelume-tooling.git</developerConnection>
+    <url>https://github.com/apache/sourcelume-tooling/tree/main/examples/helloworld-sample</url>
+  </scm>
+
+  <properties>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <sourcelume.plugin.version>0.0.1-SNAPSHOT</sourcelume.plugin.version>
+    <junit.version>5.10.2</junit.version>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <!-- Compiler Plugin -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.13.0</version>
+      </plugin>
+
+      <!-- Executable JAR configuration -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>3.3.0</version>
+        <configuration>
+          <archive>
+            <manifest>
+              <mainClass>org.apache.sourcelume.examples.HelloWorld</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+
+      <!-- Apache Sourcelume Maven Plugin -->
+      <plugin>
+        <groupId>org.apache.sourcelume</groupId>
+        <artifactId>sourcelume-maven-plugin</artifactId>
+        <version>${sourcelume.plugin.version}</version>
+        <configuration>
+          <registryUrl>http://localhost:8082</registryUrl>
+          <licenseCategory>open-source</licenseCategory>
+          <licenseNote>Apache-2.0 verified example dataset &amp; code</licenseNote>
+          <datasetIdentifier>sourcelume://datasets/sample-helloworld-corpus-v1</datasetIdentifier>
+          <datasetName>Sourcelume Hello World Example Dataset</datasetName>
+        </configuration>
+        <executions>
+          <execution>
+            <id>generate-sourcelume-spec</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>validate-sourcelume-spec</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>validate</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/examples/helloworld-sample/src/main/java/org/apache/sourcelume/examples/HelloWorld.java b/examples/helloworld-sample/src/main/java/org/apache/sourcelume/examples/HelloWorld.java
new file mode 100644
index 0000000..33bf18c
--- /dev/null
+++ b/examples/helloworld-sample/src/main/java/org/apache/sourcelume/examples/HelloWorld.java
@@ -0,0 +1,32 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.examples;
+
+/**
+ * Sample Hello World application for Apache Sourcelume Tooling demonstration.
+ */
+public class HelloWorld {
+
+    public static void main(String[] args) {
+        System.out.println("Hello, Apache Sourcelume!");
+        System.out.println("Training dataset and codebase provenance governed via sourcelume-maven-plugin.");
+    }
+
+    public static String getGreeting() {
+        return "Hello, Apache Sourcelume!";
+    }
+}
diff --git a/examples/helloworld-sample/src/test/java/org/apache/sourcelume/examples/HelloWorldTest.java b/examples/helloworld-sample/src/test/java/org/apache/sourcelume/examples/HelloWorldTest.java
new file mode 100644
index 0000000..da329bb
--- /dev/null
+++ b/examples/helloworld-sample/src/test/java/org/apache/sourcelume/examples/HelloWorldTest.java
@@ -0,0 +1,29 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.examples;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+class HelloWorldTest {
+
+    @Test
+    void testGreeting() {
+        assertEquals("Hello, Apache Sourcelume!", HelloWorld.getGreeting());
+    }
+}
diff --git a/examples/simulate-run.sh b/examples/simulate-run.sh
new file mode 100755
index 0000000..dd4d1a9
--- /dev/null
+++ b/examples/simulate-run.sh
@@ -0,0 +1,116 @@
+#!/usr/bin/env bash
+#
+# 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 with
+# the License.  You may obtain a copy of the License at
+#
+#      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.
+#
+
+set -euo pipefail
+
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+SAMPLE_DIR="${SCRIPT_DIR}/helloworld-sample"
+REGISTRY_URL="${SOURCELUME_REGISTRY_URL:-http://localhost:8082}"
+
+# Ensure Maven is on PATH if in IntelliJ or standard locations
+if ! command -v mvn >/dev/null 2>&1; then
+  if [ -d "/Users/jgoodyear/Library/Application Support/JetBrains/IntelliJIdea2026.2/plugins/maven-plugin/lib/maven3/bin" ]; then
+    export PATH="/Users/jgoodyear/Library/Application Support/JetBrains/IntelliJIdea2026.2/plugins/maven-plugin/lib/maven3/bin:$PATH"
+  fi
+fi
+
+# Styling
+BOLD="\033[1m"
+GREEN="\033[0;32m"
+BLUE="\033[0;34m"
+YELLOW="\033[1;33m"
+CYAN="\033[0;36m"
+RESET="\033[0m"
+
+echo -e "${BOLD}${CYAN}========================================================================${RESET}"
+echo -e "${BOLD}${CYAN}   Apache Sourcelume Tooling — Example Simulation Runner                ${RESET}"
+echo -e "${BOLD}${CYAN}========================================================================${RESET}"
+echo -e "Target Project:  ${BOLD}${SAMPLE_DIR}${RESET}"
+echo -e "Target Registry: ${BOLD}${REGISTRY_URL}${RESET}\n"
+
+# Step 1: Build sample project and execute sourcelume:generate
+echo -e "${BOLD}${BLUE}[Step 1/5] Building Sample and Generating Provenance Record...${RESET}"
+cd "${SAMPLE_DIR}"
+mvn clean compile org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:generate
+
+SPEC_FILE="${SAMPLE_DIR}/target/sourcelume/provenance-record.json"
+if [ -f "${SPEC_FILE}" ]; then
+  echo -e "\n${GREEN}✓ Generated Provenance Spec at:${RESET} ${SPEC_FILE}"
+  echo -e "${YELLOW}---------------- Payload Preview ----------------${RESET}"
+  cat "${SPEC_FILE}"
+  echo -e "\n${YELLOW}-------------------------------------------------${RESET}\n"
+else
+  echo -e "Error: Expected spec file not found at ${SPEC_FILE}" >&2
+  exit 1
+fi
+
+# Step 2: Simulate Dry-Run Publish
+echo -e "${BOLD}${BLUE}[Step 2/5] Simulating Dry-Run Submission (no network call)...${RESET}"
+mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:publish \
+  -Dsourcelume.dryRun=true \
+  -Dregistry.url="${REGISTRY_URL}"
+
+# Step 3: Attempt Live Validation with Local Sourcelume Registry
+echo -e "\n${BOLD}${BLUE}[Step 3/5] Attempting Live Validation with Local Sourcelume Registry...${RESET}"
+echo -e "Target URL: ${BOLD}${REGISTRY_URL}/records/validate${RESET}"
+if mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:validate \
+  -Dregistry.url="${REGISTRY_URL}"; then
+  echo -e "${GREEN}✓ Live schema and SHACL validation succeeded against local Sourcelume Registry!${RESET}"
+else
+  VALIDATE_EXIT=$?
+  echo -e "\n${YELLOW}Notice: Could not validate against local Sourcelume Registry (Exit code: ${VALIDATE_EXIT}).${RESET}"
+  echo -e "Ensure Sourcelume Registry is running locally on ${REGISTRY_URL}:"
+  echo -e "  cd ../sourcelume-registry && mvn -pl sourcelume-registry-runtime-quarkus quarkus:dev"
+fi
+
+# Step 4: Attempt Live Submission to Local Sourcelume Registry
+echo -e "\n${BOLD}${BLUE}[Step 4/5] Attempting Live Submission to Local Sourcelume Registry...${RESET}"
+echo -e "Target URL: ${BOLD}${REGISTRY_URL}/records${RESET}"
+if mvn org.apache.sourcelume:sourcelume-maven-plugin:0.0.1-SNAPSHOT:publish \
+  -Dregistry.url="${REGISTRY_URL}" \
+  -Dsourcelume.allowConflict=true; then
+  echo -e "${GREEN}✓ Successfully published sample provenance record to local Sourcelume Registry!${RESET}"
+else
+  PUBLISH_EXIT=$?
+  echo -e "\n${YELLOW}Notice: Live submission attempt failed or registry unavailable (Exit code: ${PUBLISH_EXIT}).${RESET}"
+fi
+
+# Step 5: Query Live Registry to Verify Ingestion
+echo -e "\n${BOLD}${BLUE}[Step 5/5] Querying Local Sourcelume Registry for Ingested Record...${RESET}"
+RECORD_ID="urn:sourcelume:maven:org.apache.sourcelume.examples:sourcelume-helloworld-sample:1.0.0-SNAPSHOT"
+ENCODED_ID="urn%3Asourcelume%3Amaven%3Aorg.apache.sourcelume.examples%3Asourcelume-helloworld-sample%3A1.0.0-SNAPSHOT"
+
+if command -v curl >/dev/null 2>&1; then
+  RECORD_RESP=$(curl -s -f "${REGISTRY_URL}/records/${ENCODED_ID}" 2>/dev/null || true)
+  if [ -n "${RECORD_RESP}" ]; then
+    echo -e "${GREEN}✓ Ingested record verified in registry at:${RESET} ${REGISTRY_URL}/records/${ENCODED_ID}"
+    echo -e "${YELLOW}---------------- Registry Record View ----------------${RESET}"
+    if command -v jq >/dev/null 2>&1; then
+      echo "${RECORD_RESP}" | jq .
+    else
+      echo "${RECORD_RESP}"
+    fi
+    echo -e "${YELLOW}------------------------------------------------------${RESET}"
+  else
+    echo -e "${YELLOW}Record lookup skipped or not found (registry may not be active).${RESET}"
+  fi
+fi
+
+echo -e "\n${BOLD}${CYAN}========================================================================${RESET}"
+echo -e "${BOLD}${GREEN}   Simulation Run Finished Successfully!                               ${RESET}"
+echo -e "${BOLD}${CYAN}========================================================================${RESET}"
diff --git a/plugins/sourcelume-maven-plugin/pom.xml b/plugins/sourcelume-maven-plugin/pom.xml
new file mode 100644
index 0000000..c17fc65
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/pom.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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 with
+    the License.  You may obtain a copy of the License at
+
+       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/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.sourcelume</groupId>
+    <artifactId>sourcelume-tooling</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>sourcelume-maven-plugin</artifactId>
+  <packaging>maven-plugin</packaging>
+
+  <name>Apache Sourcelume Maven Plugin</name>
+  <description>Maven plugin to extract metadata, generate Sourcelume Provenance records, validate them, and publish to Sourcelume Registry.</description>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.plugin-tools</groupId>
+      <artifactId>maven-plugin-annotations</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-databind</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.datatype</groupId>
+      <artifactId>jackson-datatype-jsr310</artifactId>
+    </dependency>
+
+    <!-- Testing -->
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.assertj</groupId>
+      <artifactId>assertj-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-junit-jupiter</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <configuration>
+          <goalPrefix>sourcelume</goalPrefix>
+        </configuration>
+        <executions>
+          <execution>
+            <id>default-descriptor</id>
+            <phase>process-classes</phase>
+          </execution>
+          <execution>
+            <id>help-goal</id>
+            <goals>
+              <goal>helpmojo</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClient.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClient.java
new file mode 100644
index 0000000..7a8e940
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClient.java
@@ -0,0 +1,178 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.client;
+
+import java.io.IOException;
+import java.net.URI;
+import java.net.http.HttpClient;
+import java.net.http.HttpRequest;
+import java.net.http.HttpResponse;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.Base64;
+
+/**
+ * HTTP client for communicating with an Apache Sourcelume Registry instance.
+ */
+public class SourcelumeClient {
+
+    private final String registryUrl;
+    private final String username;
+    private final String password;
+    private final String token;
+    private final Duration timeout;
+    private final HttpClient httpClient;
+
+    public SourcelumeClient(String registryUrl, String username, String password, String token, Duration timeout, HttpClient httpClient) {
+        this.registryUrl = sanitizeUrl(registryUrl);
+        this.username = username;
+        this.password = password;
+        this.token = token;
+        this.timeout = timeout != null ? timeout : Duration.ofSeconds(30);
+        this.httpClient = httpClient != null ? httpClient : HttpClient.newBuilder()
+            .connectTimeout(this.timeout)
+            .build();
+    }
+
+    public static Builder builder() {
+        return new Builder();
+    }
+
+    private static String sanitizeUrl(String url) {
+        if (url == null || url.isBlank()) {
+            return "http://localhost:8082";
+        }
+        String trimmed = url.trim();
+        return trimmed.endsWith("/") ? trimmed.substring(0, trimmed.length() - 1) : trimmed;
+    }
+
+    public String getRegistryUrl() {
+        return registryUrl;
+    }
+
+    /**
+     * Validates a Sourcelume ProvenanceRecord payload against the registry.
+     *
+     * @param recordJson JSON-LD record payload
+     * @return response from registry
+     * @throws IOException          if network error occurs
+     * @throws InterruptedException if request is interrupted
+     */
+    public SourcelumeResponse validate(String recordJson) throws IOException, InterruptedException {
+        String endpoint = registryUrl + "/records/validate";
+        HttpRequest request = buildPostRequest(endpoint, recordJson);
+        HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));
+
+        int statusCode = response.statusCode();
+        String body = response.body();
+
+        if (statusCode >= 200 && statusCode < 300) {
+            return SourcelumeResponse.success(statusCode, body);
+        } else {
+            return SourcelumeResponse.error(statusCode, body, "Validation failed with HTTP " + statusCode + ": " + body);
+        }
+    }
+
+    /**
+     * Publishes (submits) a Sourcelume ProvenanceRecord payload to the registry.
+     *
+     * @param recordJson JSON-LD record payload
+     * @return response from registry
+     * @throws IOException          if network error occurs
+     * @throws InterruptedException if request is interrupted
+     */
+    public SourcelumeResponse publish(String recordJson) throws IOException, InterruptedException {
+        String endpoint = registryUrl + "/records";
+        HttpRequest request = buildPostRequest(endpoint, recordJson);
+        HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));
+
+        int statusCode = response.statusCode();
+        String body = response.body();
+
+        if (statusCode >= 200 && statusCode < 300) {
+            return SourcelumeResponse.success(statusCode, body);
+        } else if (statusCode == 409) {
+            return SourcelumeResponse.error(statusCode, body, "Record already exists in registry (HTTP 409): " + body);
+        } else {
+            return SourcelumeResponse.error(statusCode, body, "Publish failed with HTTP " + statusCode + ": " + body);
+        }
+    }
+
+    private HttpRequest buildPostRequest(String endpoint, String jsonPayload) {
+        HttpRequest.Builder builder = HttpRequest.newBuilder()
+            .uri(URI.create(endpoint))
+            .timeout(timeout)
+            .header("Content-Type", "application/json")
+            .header("Accept", "application/json")
+            .POST(HttpRequest.BodyPublishers.ofString(jsonPayload, StandardCharsets.UTF_8));
+
+        // Apply Authentication
+        if (token != null && !token.isBlank()) {
+            builder.header("Authorization", "Bearer " + token.trim());
+        } else if (username != null && !username.isBlank()) {
+            String pass = password != null ? password : "";
+            String auth = username + ":" + pass;
+            String encoded = Base64.getEncoder().encodeToString(auth.getBytes(StandardCharsets.UTF_8));
+            builder.header("Authorization", "Basic " + encoded);
+        }
+
+        return builder.build();
+    }
+
+    public static class Builder {
+        private String registryUrl = "http://localhost:8082";
+        private String username;
+        private String password;
+        private String token;
+        private Duration timeout = Duration.ofSeconds(30);
+        private HttpClient httpClient;
+
+        public Builder registryUrl(String registryUrl) {
+            this.registryUrl = registryUrl;
+            return this;
+        }
+
+        public Builder username(String username) {
+            this.username = username;
+            return this;
+        }
+
+        public Builder password(String password) {
+            this.password = password;
+            return this;
+        }
+
+        public Builder token(String token) {
+            this.token = token;
+            return this;
+        }
+
+        public Builder timeout(Duration timeout) {
+            this.timeout = timeout;
+            return this;
+        }
+
+        public Builder httpClient(HttpClient httpClient) {
+            this.httpClient = httpClient;
+            return this;
+        }
+
+        public SourcelumeClient build() {
+            return new SourcelumeClient(registryUrl, username, password, token, timeout, httpClient);
+        }
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeResponse.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeResponse.java
new file mode 100644
index 0000000..c52bee8
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/client/SourcelumeResponse.java
@@ -0,0 +1,74 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.client;
+
+/**
+ * Encapsulates an HTTP response from the Sourcelume Registry.
+ */
+public class SourcelumeResponse {
+
+    private final int statusCode;
+    private final String body;
+    private final String errorMessage;
+
+    public SourcelumeResponse(int statusCode, String body, String errorMessage) {
+        this.statusCode = statusCode;
+        this.body = body != null ? body : "";
+        this.errorMessage = errorMessage;
+    }
+
+    public static SourcelumeResponse success(int statusCode, String body) {
+        return new SourcelumeResponse(statusCode, body, null);
+    }
+
+    public static SourcelumeResponse error(int statusCode, String body, String errorMessage) {
+        return new SourcelumeResponse(statusCode, body, errorMessage);
+    }
+
+    public int getStatusCode() {
+        return statusCode;
+    }
+
+    public String getBody() {
+        return body;
+    }
+
+    public String getErrorMessage() {
+        return errorMessage;
+    }
+
+    public boolean isSuccess() {
+        return statusCode >= 200 && statusCode < 300;
+    }
+
+    public boolean isConflict() {
+        return statusCode == 409;
+    }
+
+    public boolean isValidationError() {
+        return statusCode == 422;
+    }
+
+    @Override
+    public String toString() {
+        return "SourcelumeResponse{" +
+            "statusCode=" + statusCode +
+            ", body='" + body + '\'' +
+            ", errorMessage='" + errorMessage + '\'' +
+            '}';
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/Creator.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/Creator.java
new file mode 100644
index 0000000..b968c87
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/Creator.java
@@ -0,0 +1,74 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Creator entry in Sourcelume Provenance Record.
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class Creator {
+
+    @JsonProperty("type")
+    private String type = "schema:Organization";
+
+    @JsonProperty("name")
+    private String name;
+
+    @JsonProperty("role")
+    private String role;
+
+    public Creator() {
+    }
+
+    public Creator(String type, String name) {
+        this.type = type;
+        this.name = name;
+    }
+
+    public Creator(String type, String name, String role) {
+        this.type = type;
+        this.name = name;
+        this.role = role;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getRole() {
+        return role;
+    }
+
+    public void setRole(String role) {
+        this.role = role;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/CustodyChainEntry.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/CustodyChainEntry.java
new file mode 100644
index 0000000..645861f
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/CustodyChainEntry.java
@@ -0,0 +1,69 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Custody chain entry in Sourcelume Provenance Record.
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class CustodyChainEntry {
+
+    @JsonProperty("agent")
+    private String agent;
+
+    @JsonProperty("action")
+    private String action;
+
+    @JsonProperty("startTime")
+    private String startTime;
+
+    public CustodyChainEntry() {
+    }
+
+    public CustodyChainEntry(String agent, String action, String startTime) {
+        this.agent = agent;
+        this.action = action;
+        this.startTime = startTime;
+    }
+
+    public String getAgent() {
+        return agent;
+    }
+
+    public void setAgent(String agent) {
+        this.agent = agent;
+    }
+
+    public String getAction() {
+        return action;
+    }
+
+    public void setAction(String action) {
+        this.action = action;
+    }
+
+    public String getStartTime() {
+        return startTime;
+    }
+
+    public void setStartTime(String startTime) {
+        this.startTime = startTime;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/LicenseHistoryEntry.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/LicenseHistoryEntry.java
new file mode 100644
index 0000000..c16b19d
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/LicenseHistoryEntry.java
@@ -0,0 +1,57 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Historical license entry in Sourcelume Provenance Record.
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class LicenseHistoryEntry {
+
+    @JsonProperty("iri")
+    private String iri;
+
+    @JsonProperty("effectiveDate")
+    private String effectiveDate;
+
+    public LicenseHistoryEntry() {
+    }
+
+    public LicenseHistoryEntry(String iri, String effectiveDate) {
+        this.iri = iri;
+        this.effectiveDate = effectiveDate;
+    }
+
+    public String getIri() {
+        return iri;
+    }
+
+    public void setIri(String iri) {
+        this.iri = iri;
+    }
+
+    public String getEffectiveDate() {
+        return effectiveDate;
+    }
+
+    public void setEffectiveDate(String effectiveDate) {
+        this.effectiveDate = effectiveDate;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/ProvenanceRecord.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/ProvenanceRecord.java
new file mode 100644
index 0000000..402dceb
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/model/ProvenanceRecord.java
@@ -0,0 +1,240 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Represents an Apache Sourcelume Provenance Record (0.0.1 schema).
+ */
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+    "@context",
+    "id",
+    "type",
+    "identifier",
+    "name",
+    "version",
+    "license",
+    "licenseScope",
+    "licenseCategory",
+    "licenseNote",
+    "licenseHistory",
+    "creator",
+    "created",
+    "added",
+    "contentCreated",
+    "origin",
+    "custodyChain"
+})
+public class ProvenanceRecord {
+
+    @JsonProperty("@context")
+    private String context = "https://sourcelume.apache.org/context/0.0.1/sourcelume.jsonld";
+
+    @JsonProperty("id")
+    private String id;
+
+    @JsonProperty("type")
+    private String type = "ProvenanceRecord";
+
+    @JsonProperty("identifier")
+    private String identifier;
+
+    @JsonProperty("name")
+    private String name;
+
+    @JsonProperty("version")
+    private String version;
+
+    @JsonProperty("license")
+    private String license;
+
+    @JsonProperty("licenseScope")
+    private String licenseScope;
+
+    @JsonProperty("licenseCategory")
+    private String licenseCategory;
+
+    @JsonProperty("licenseNote")
+    private String licenseNote;
+
+    @JsonProperty("licenseHistory")
+    private List<LicenseHistoryEntry> licenseHistory;
+
+    @JsonProperty("creator")
+    private List<Creator> creator = new ArrayList<>();
+
+    @JsonProperty("created")
+    private String created;
+
+    @JsonProperty("added")
+    private String added;
+
+    @JsonProperty("contentCreated")
+    private String contentCreated;
+
+    @JsonProperty("origin")
+    private String origin;
+
+    @JsonProperty("custodyChain")
+    private List<CustodyChainEntry> custodyChain = new ArrayList<>();
+
+    public ProvenanceRecord() {
+    }
+
+    public String getContext() {
+        return context;
+    }
+
+    public void setContext(String context) {
+        this.context = context;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public String getIdentifier() {
+        return identifier;
+    }
+
+    public void setIdentifier(String identifier) {
+        this.identifier = identifier;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public void setVersion(String version) {
+        this.version = version;
+    }
+
+    public String getLicense() {
+        return license;
+    }
+
+    public void setLicense(String license) {
+        this.license = license;
+    }
+
+    public String getLicenseScope() {
+        return licenseScope;
+    }
+
+    public void setLicenseScope(String licenseScope) {
+        this.licenseScope = licenseScope;
+    }
+
+    public String getLicenseCategory() {
+        return licenseCategory;
+    }
+
+    public void setLicenseCategory(String licenseCategory) {
+        this.licenseCategory = licenseCategory;
+    }
+
+    public String getLicenseNote() {
+        return licenseNote;
+    }
+
+    public void setLicenseNote(String licenseNote) {
+        this.licenseNote = licenseNote;
+    }
+
+    public List<LicenseHistoryEntry> getLicenseHistory() {
+        return licenseHistory;
+    }
+
+    public void setLicenseHistory(List<LicenseHistoryEntry> licenseHistory) {
+        this.licenseHistory = licenseHistory;
+    }
+
+    public List<Creator> getCreator() {
+        return creator;
+    }
+
+    public void setCreator(List<Creator> creator) {
+        this.creator = creator;
+    }
+
+    public String getCreated() {
+        return created;
+    }
+
+    public void setCreated(String created) {
+        this.created = created;
+    }
+
+    public String getAdded() {
+        return added;
+    }
+
+    public void setAdded(String added) {
+        this.added = added;
+    }
+
+    public String getContentCreated() {
+        return contentCreated;
+    }
+
+    public void setContentCreated(String contentCreated) {
+        this.contentCreated = contentCreated;
+    }
+
+    public String getOrigin() {
+        return origin;
+    }
+
+    public void setOrigin(String origin) {
+        this.origin = origin;
+    }
+
+    public List<CustodyChainEntry> getCustodyChain() {
+        return custodyChain;
+    }
+
+    public void setCustodyChain(List<CustodyChainEntry> custodyChain) {
+        this.custodyChain = custodyChain;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/AbstractSourcelumeMojo.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/AbstractSourcelumeMojo.java
new file mode 100644
index 0000000..a91e216
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/AbstractSourcelumeMojo.java
@@ -0,0 +1,374 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.mojo;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.SerializationFeature;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.maven.project.MavenProject;
+import org.apache.sourcelume.tooling.maven.client.SourcelumeClient;
+import org.apache.sourcelume.tooling.maven.model.ProvenanceRecord;
+import org.apache.sourcelume.tooling.maven.util.SpecBuilder;
+
+import java.io.File;
+import java.io.IOException;
+import java.nio.file.Files;
+import java.time.Duration;
+
+/**
+ * Base Mojo containing shared configuration parameters for Sourcelume goals.
+ */
+public abstract class AbstractSourcelumeMojo extends AbstractMojo {
+
+    @Parameter(defaultValue = "${project}", readonly = true, required = true)
+    protected MavenProject project;
+
+    /**
+     * URL of the Sourcelume Registry endpoint.
+     */
+    @Parameter(property = "registry.url", defaultValue = "http://localhost:8082")
+    protected String registryUrl;
+
+    /**
+     * Username for Registry authentication.
+     */
+    @Parameter(property = "registry.username")
+    protected String username;
+
+    /**
+     * Password for Registry authentication.
+     */
+    @Parameter(property = "registry.password")
+    protected String password;
+
+    /**
+     * Bearer token for Registry authentication.
+     */
+    @Parameter(property = "registry.token")
+    protected String token;
+
+    /**
+     * Skip execution of this mojo.
+     */
+    @Parameter(property = "sourcelume.skip", defaultValue = "false")
+    protected boolean skip;
+
+    /**
+     * Fail build if validation or publish fails.
+     */
+    @Parameter(property = "sourcelume.failOnError", defaultValue = "true")
+    protected boolean failOnError;
+
+    /**
+     * Simulate action without submitting data to the registry.
+     */
+    @Parameter(property = "sourcelume.dryRun", defaultValue = "false")
+    protected boolean dryRun;
+
+    /**
+     * Directory where generated spec files are written.
+     */
+    @Parameter(property = "sourcelume.outputDirectory", defaultValue = "${project.build.directory}/sourcelume")
+    protected File outputDirectory;
+
+    /**
+     * Output file path for generated ProvenanceRecord JSON-LD.
+     */
+    @Parameter(property = "sourcelume.outputFile", defaultValue = "${project.build.directory}/sourcelume/provenance-record.json")
+    protected File outputFile;
+
+    /**
+     * Optional pre-existing record file to use instead of generating from project metadata.
+     */
+    @Parameter(property = "sourcelume.recordFile")
+    protected File recordFile;
+
+    /**
+     * Provenance Record ID override.
+     */
+    @Parameter(property = "sourcelume.recordId")
+    protected String recordId;
+
+    /**
+     * Dataset identifier override.
+     */
+    @Parameter(property = "sourcelume.datasetIdentifier")
+    protected String datasetIdentifier;
+
+    /**
+     * Dataset name override.
+     */
+    @Parameter(property = "sourcelume.datasetName")
+    protected String datasetName;
+
+    /**
+     * Dataset version override.
+     */
+    @Parameter(property = "sourcelume.datasetVersion")
+    protected String datasetVersion;
+
+    /**
+     * License identifier or URL override.
+     */
+    @Parameter(property = "sourcelume.license")
+    protected String license;
+
+    /**
+     * License scope override.
+     */
+    @Parameter(property = "sourcelume.licenseScope")
+    protected String licenseScope;
+
+    /**
+     * License category override.
+     */
+    @Parameter(property = "sourcelume.licenseCategory")
+    protected String licenseCategory;
+
+    /**
+     * License note override.
+     */
+    @Parameter(property = "sourcelume.licenseNote")
+    protected String licenseNote;
+
+    /**
+     * Origin override.
+     */
+    @Parameter(property = "sourcelume.origin")
+    protected String origin;
+
+    /**
+     * Creator name override.
+     */
+    @Parameter(property = "sourcelume.creatorName")
+    protected String creatorName;
+
+    /**
+     * Creator type override (schema:Organization or schema:Person).
+     */
+    @Parameter(property = "sourcelume.creatorType")
+    protected String creatorType;
+
+    /**
+     * Creator role override (originator, curator, distributor).
+     */
+    @Parameter(property = "sourcelume.creatorRole")
+    protected String creatorRole;
+
+    /**
+     * Custody agent override.
+     */
+    @Parameter(property = "sourcelume.custodyAgent")
+    protected String custodyAgent;
+
+    /**
+     * Custody action override.
+     */
+    @Parameter(property = "sourcelume.custodyAction")
+    protected String custodyAction;
+
+    /**
+     * HTTP timeout in seconds.
+     */
+    @Parameter(property = "sourcelume.timeout", defaultValue = "30")
+    protected int timeoutSeconds;
+
+    protected final ObjectMapper objectMapper = createObjectMapper();
+
+    public static ObjectMapper createObjectMapper() {
+        ObjectMapper mapper = new ObjectMapper();
+        mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+        mapper.enable(SerializationFeature.INDENT_OUTPUT);
+        return mapper;
+    }
+
+    /**
+     * Resolves the registry URL taking into account environment variables and system properties.
+     */
+    protected String resolveRegistryUrl() {
+        String env = System.getenv("SOURCELUME_REGISTRY_URL");
+        if (env != null && !env.isBlank()) {
+            return env;
+        }
+        return registryUrl != null && !registryUrl.isBlank() ? registryUrl : "http://localhost:8082";
+    }
+
+    /**
+     * Resolves username with environment variable fallback.
+     */
+    protected String resolveUsername() {
+        String env = System.getenv("SOURCELUME_REGISTRY_USERNAME");
+        if (env != null && !env.isBlank()) {
+            return env;
+        }
+        return username;
+    }
+
+    /**
+     * Resolves password with environment variable fallback.
+     */
+    protected String resolvePassword() {
+        String env = System.getenv("SOURCELUME_REGISTRY_PASSWORD");
+        if (env != null && !env.isBlank()) {
+            return env;
+        }
+        return password;
+    }
+
+    /**
+     * Resolves token with environment variable fallback.
+     */
+    protected String resolveToken() {
+        String env = System.getenv("SOURCELUME_REGISTRY_TOKEN");
+        if (env != null && !env.isBlank()) {
+            return env;
+        }
+        return token;
+    }
+
+    protected SourcelumeClient createClient() {
+        return SourcelumeClient.builder()
+            .registryUrl(resolveRegistryUrl())
+            .username(resolveUsername())
+            .password(resolvePassword())
+            .token(resolveToken())
+            .timeout(Duration.ofSeconds(timeoutSeconds > 0 ? timeoutSeconds : 30))
+            .build();
+    }
+
+    /**
+     * Resolves an existing record JSON or generates a new one from project metadata.
+     *
+     * @return Generated or loaded JSON-LD string
+     * @throws MojoExecutionException on serialization or I/O failure
+     */
+    protected String resolveOrGenerateJson() throws MojoExecutionException {
+        if (recordFile != null && recordFile.exists() && recordFile.isFile()) {
+            try {
+                getLog().info("Using existing Sourcelume record file: " + recordFile.getAbsolutePath());
+                return Files.readString(recordFile.toPath());
+            } catch (IOException e) {
+                throw new MojoExecutionException("Failed to read record file: " + recordFile, e);
+            }
+        }
+
+        ProvenanceRecord record = buildRecord();
+        try {
+            String json = objectMapper.writeValueAsString(record);
+            writeOutputFile(json);
+            return json;
+        } catch (IOException e) {
+            throw new MojoExecutionException("Failed to serialize Sourcelume ProvenanceRecord", e);
+        }
+    }
+
+    protected ProvenanceRecord buildRecord() {
+        return new SpecBuilder()
+            .withProject(project)
+            .withId(recordId)
+            .withIdentifier(datasetIdentifier)
+            .withName(datasetName)
+            .withVersion(datasetVersion)
+            .withLicense(license)
+            .withLicenseScope(licenseScope)
+            .withLicenseCategory(licenseCategory)
+            .withLicenseNote(licenseNote)
+            .withOrigin(origin)
+            .withCreatorName(creatorName)
+            .withCreatorType(creatorType)
+            .withCreatorRole(creatorRole)
+            .withCustodyAgent(custodyAgent)
+            .withCustodyAction(custodyAction)
+            .build();
+    }
+
+    protected void writeOutputFile(String json) throws MojoExecutionException {
+        if (outputFile == null) {
+            return;
+        }
+        try {
+            File parent = outputFile.getParentFile();
+            if (parent != null && !parent.exists()) {
+                parent.mkdirs();
+            }
+            Files.writeString(outputFile.toPath(), json);
+            getLog().info("Sourcelume record written to: " + outputFile.getAbsolutePath());
+        } catch (IOException e) {
+            throw new MojoExecutionException("Failed to write Sourcelume record to " + outputFile, e);
+        }
+    }
+
+    // Setters for unit testing / programmatic usage
+    public void setProject(MavenProject project) {
+        this.project = project;
+    }
+
+    public void setRegistryUrl(String registryUrl) {
+        this.registryUrl = registryUrl;
+    }
+
+    public void setUsername(String username) {
+        this.username = username;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
+
+    public void setToken(String token) {
+        this.token = token;
+    }
+
+    public void setSkip(boolean skip) {
+        this.skip = skip;
+    }
+
+    public void setFailOnError(boolean failOnError) {
+        this.failOnError = failOnError;
+    }
+
+    public void setDryRun(boolean dryRun) {
+        this.dryRun = dryRun;
+    }
+
+    public void setOutputFile(File outputFile) {
+        this.outputFile = outputFile;
+    }
+
+    public void setRecordFile(File recordFile) {
+        this.recordFile = recordFile;
+    }
+
+    public void setLicense(String license) {
+        this.license = license;
+    }
+
+    public void setDatasetIdentifier(String datasetIdentifier) {
+        this.datasetIdentifier = datasetIdentifier;
+    }
+
+    public void setDatasetName(String datasetName) {
+        this.datasetName = datasetName;
+    }
+
+    public void setOrigin(String origin) {
+        this.origin = origin;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/GenerateMojo.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/GenerateMojo.java
new file mode 100644
index 0000000..c6591f7
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/GenerateMojo.java
@@ -0,0 +1,56 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.mojo;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.sourcelume.tooling.maven.model.ProvenanceRecord;
+
+/**
+ * Generates an Apache Sourcelume Provenance Record (JSON-LD) for the current Maven project.
+ */
+@Mojo(name = "generate", defaultPhase = LifecyclePhase.PREPARE_PACKAGE, requiresProject = true, threadSafe = true)
+public class GenerateMojo extends AbstractSourcelumeMojo {
+
+    @Override
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        if (skip) {
+            getLog().info("Sourcelume generation is skipped.");
+            return;
+        }
+
+        getLog().info("Generating Sourcelume Provenance Record for " + project.getId());
+        ProvenanceRecord record = buildRecord();
+
+        try {
+            String json = objectMapper.writeValueAsString(record);
+            writeOutputFile(json);
+            getLog().info("Generated Sourcelume Provenance Record: " + record.getId());
+            if (getLog().isDebugEnabled()) {
+                getLog().debug("Record payload:\n" + json);
+            }
+        } catch (Exception e) {
+            if (failOnError) {
+                throw new MojoExecutionException("Failed to generate Sourcelume Provenance Record", e);
+            } else {
+                getLog().warn("Failed to generate Sourcelume Provenance Record: " + e.getMessage());
+            }
+        }
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/PublishMojo.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/PublishMojo.java
new file mode 100644
index 0000000..c650971
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/PublishMojo.java
@@ -0,0 +1,90 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.mojo;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+import org.apache.sourcelume.tooling.maven.client.SourcelumeClient;
+import org.apache.sourcelume.tooling.maven.client.SourcelumeResponse;
+
+/**
+ * Generates and publishes (submits) an Apache Sourcelume Provenance Record to the configured Sourcelume Registry.
+ */
+@Mojo(name = "publish", defaultPhase = LifecyclePhase.DEPLOY, requiresProject = true, threadSafe = true)
+public class PublishMojo extends AbstractSourcelumeMojo {
+
+    /**
+     * Treat HTTP 409 Conflict as a non-fatal warning (when record already exists in registry).
+     */
+    @Parameter(property = "sourcelume.allowConflict", defaultValue = "false")
+    protected boolean allowConflict;
+
+    @Override
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        if (skip) {
+            getLog().info("Sourcelume publishing is skipped.");
+            return;
+        }
+
+        String json = resolveOrGenerateJson();
+        String targetRegistry = resolveRegistryUrl();
+
+        if (dryRun) {
+            getLog().info("[DRY-RUN] Simulating publish to Sourcelume Registry: " + targetRegistry);
+            getLog().info("[DRY-RUN] Record to submit:\n" + json);
+            return;
+        }
+
+        getLog().info("Submitting Sourcelume Provenance Record to registry: " + targetRegistry);
+        SourcelumeClient client = createClient();
+
+        try {
+            SourcelumeResponse response = client.publish(json);
+            if (response.isSuccess()) {
+                getLog().info("Successfully published record to Sourcelume Registry! Status: " + response.getStatusCode());
+                if (!response.getBody().isBlank()) {
+                    getLog().info("Registry response: " + response.getBody());
+                }
+            } else if (response.isConflict() && allowConflict) {
+                getLog().warn("Record already exists in Sourcelume Registry (HTTP 409 Conflict). Continuing as allowConflict=true.");
+            } else {
+                String errorMsg = "Failed to publish record to Sourcelume Registry (HTTP " + response.getStatusCode() + "): " + response.getBody();
+                if (failOnError) {
+                    throw new MojoFailureException(errorMsg);
+                } else {
+                    getLog().warn(errorMsg);
+                }
+            }
+        } catch (MojoFailureException e) {
+            throw e;
+        } catch (Exception e) {
+            String errorMsg = "Communication error publishing to Sourcelume Registry at " + targetRegistry + ": " + e.getMessage();
+            if (failOnError) {
+                throw new MojoExecutionException(errorMsg, e);
+            } else {
+                getLog().warn(errorMsg);
+            }
+        }
+    }
+
+    public void setAllowConflict(boolean allowConflict) {
+        this.allowConflict = allowConflict;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/ValidateMojo.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/ValidateMojo.java
new file mode 100644
index 0000000..352c283
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/mojo/ValidateMojo.java
@@ -0,0 +1,74 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.mojo;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.sourcelume.tooling.maven.client.SourcelumeClient;
+import org.apache.sourcelume.tooling.maven.client.SourcelumeResponse;
+
+/**
+ * Validates a Sourcelume Provenance Record against the configured Sourcelume Registry.
+ */
+@Mojo(name = "validate", defaultPhase = LifecyclePhase.VERIFY, requiresProject = true, threadSafe = true)
+public class ValidateMojo extends AbstractSourcelumeMojo {
+
+    @Override
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        if (skip) {
+            getLog().info("Sourcelume validation is skipped.");
+            return;
+        }
+
+        String json = resolveOrGenerateJson();
+        String targetRegistry = resolveRegistryUrl();
+
+        if (dryRun) {
+            getLog().info("[DRY-RUN] Simulating validation against " + targetRegistry);
+            getLog().info("[DRY-RUN] Record to validate:\n" + json);
+            return;
+        }
+
+        getLog().info("Validating Sourcelume Provenance Record against registry: " + targetRegistry);
+        SourcelumeClient client = createClient();
+
+        try {
+            SourcelumeResponse response = client.validate(json);
+            if (response.isSuccess()) {
+                getLog().info("Validation succeeded: " + response.getBody());
+            } else {
+                String errorMsg = "Registry validation failed (HTTP " + response.getStatusCode() + "): " + response.getBody();
+                if (failOnError) {
+                    throw new MojoFailureException(errorMsg);
+                } else {
+                    getLog().warn(errorMsg);
+                }
+            }
+        } catch (MojoFailureException e) {
+            throw e;
+        } catch (Exception e) {
+            String errorMsg = "Communication error connecting to Sourcelume Registry at " + targetRegistry + ": " + e.getMessage();
+            if (failOnError) {
+                throw new MojoExecutionException(errorMsg, e);
+            } else {
+                getLog().warn(errorMsg);
+            }
+        }
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapper.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapper.java
new file mode 100644
index 0000000..e0658e0
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapper.java
@@ -0,0 +1,165 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.util;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Utility to map Maven license names, identifiers, and URLs to canonical SPDX license IRIs.
+ */
+public final class SpdxLicenseMapper {
+
+    private static final Map<String, String> CANONICAL_MAP = new HashMap<>();
+
+    static {
+        // Apache Licenses
+        register("https://spdx.org/licenses/Apache-2.0.html",
+            "apache-2.0",
+            "apache 2.0",
+            "apache-2",
+            "apache license, version 2.0",
+            "apache license 2.0",
+            "the apache software license, version 2.0",
+            "the apache license, version 2.0",
+            "http://www.apache.org/licenses/license-2.0.txt",
+            "https://www.apache.org/licenses/license-2.0.txt",
+            "http://www.apache.org/licenses/license-2.0",
+            "https://www.apache.org/licenses/license-2.0",
+            "http://www.apache.org/licenses/license-2.0.html",
+            "https://www.apache.org/licenses/license-2.0.html"
+        );
+
+        // MIT
+        register("https://spdx.org/licenses/MIT.html",
+            "mit",
+            "mit license",
+            "the mit license",
+            "http://opensource.org/licenses/mit",
+            "https://opensource.org/licenses/mit"
+        );
+
+        // BSD Licenses
+        register("https://spdx.org/licenses/BSD-3-Clause.html",
+            "bsd-3-clause",
+            "bsd 3-clause",
+            "bsd-3",
+            "the 3-clause bsd license",
+            "revised bsd license",
+            "new bsd license"
+        );
+        register("https://spdx.org/licenses/BSD-2-Clause.html",
+            "bsd-2-clause",
+            "bsd 2-clause",
+            "bsd-2",
+            "simplified bsd license"
+        );
+
+        // Creative Commons & Open Data
+        register("https://spdx.org/licenses/CC0-1.0.html",
+            "cc0",
+            "cc0-1.0",
+            "cc0 1.0",
+            "cc0 1.0 universal",
+            "public domain"
+        );
+        register("https://spdx.org/licenses/CC-BY-4.0.html",
+            "cc-by-4.0",
+            "cc by 4.0",
+            "creative commons attribution 4.0",
+            "creative commons attribution 4.0 international"
+        );
+        register("https://spdx.org/licenses/ODC-By-1.0.html",
+            "odc-by",
+            "odc-by-1.0",
+            "open data commons attribution license"
+        );
+        register("https://spdx.org/licenses/ODbL-1.0.html",
+            "odbl",
+            "odbl-1.0",
+            "open database license"
+        );
+
+        // Eclipse Public License
+        register("https://spdx.org/licenses/EPL-2.0.html",
+            "epl-2.0",
+            "epl 2.0",
+            "eclipse public license 2.0",
+            "eclipse public license - v 2.0"
+        );
+        register("https://spdx.org/licenses/EPL-1.0.html",
+            "epl-1.0",
+            "epl 1.0",
+            "eclipse public license 1.0",
+            "eclipse public license - v 1.0"
+        );
+
+        // GNU Licenses
+        register("https://spdx.org/licenses/GPL-3.0-only.html",
+            "gpl-3.0",
+            "gpl-3.0-only",
+            "gpl 3.0",
+            "gnu general public license v3.0"
+        );
+        register("https://spdx.org/licenses/LGPL-3.0-only.html",
+            "lgpl-3.0",
+            "lgpl-3.0-only",
+            "lgpl 3.0",
+            "gnu lesser general public license v3.0"
+        );
+    }
+
+    private SpdxLicenseMapper() {
+    }
+
+    private static void register(String canonicalIri, String... aliases) {
+        for (String alias : aliases) {
+            CANONICAL_MAP.put(alias.trim().toLowerCase(), canonicalIri);
+        }
+    }
+
+    /**
+     * Resolves an SPDX IRI from a license name, URL, or identifier.
+     *
+     * @param licenseInput name, URL, or identifier from POM or user config
+     * @return canonical SPDX IRI or the input URL if already a valid URL
+     */
+    public static String toSpdxIri(String licenseInput) {
+        if (licenseInput == null || licenseInput.isBlank()) {
+            return "https://spdx.org/licenses/Apache-2.0.html";
+        }
+
+        String normalized = licenseInput.trim().toLowerCase();
+        if (CANONICAL_MAP.containsKey(normalized)) {
+            return CANONICAL_MAP.get(normalized);
+        }
+
+        // If it's already an SPDX URL format
+        if (licenseInput.startsWith("https://spdx.org/licenses/") || licenseInput.startsWith("http://spdx.org/licenses/")) {
+            return licenseInput.startsWith("http://") ? "https://" + licenseInput.substring(7) : licenseInput;
+        }
+
+        // If it starts with http:// or https:// or urn:, return as valid URI
+        if (licenseInput.startsWith("http://") || licenseInput.startsWith("https://") || licenseInput.startsWith("urn:")) {
+            return licenseInput;
+        }
+
+        // Default: construct standard SPDX IRI
+        String spdxId = licenseInput.trim().replaceAll("\\s+", "-");
+        return "https://spdx.org/licenses/" + spdxId + ".html";
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpecBuilder.java b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpecBuilder.java
new file mode 100644
index 0000000..3ad00a9
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/main/java/org/apache/sourcelume/tooling/maven/util/SpecBuilder.java
@@ -0,0 +1,287 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.util;
+
+import org.apache.maven.model.Developer;
+import org.apache.maven.model.License;
+import org.apache.maven.model.Organization;
+import org.apache.maven.model.Scm;
+import org.apache.maven.project.MavenProject;
+import org.apache.sourcelume.tooling.maven.model.Creator;
+import org.apache.sourcelume.tooling.maven.model.CustodyChainEntry;
+import org.apache.sourcelume.tooling.maven.model.ProvenanceRecord;
+
+import java.time.Instant;
+import java.time.format.DateTimeFormatter;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Builds a Sourcelume {@link ProvenanceRecord} from Maven project metadata and configuration overrides.
+ */
+public class SpecBuilder {
+
+    private MavenProject project;
+    private String id;
+    private String identifier;
+    private String name;
+    private String version;
+    private String license;
+    private String licenseScope;
+    private String licenseCategory;
+    private String licenseNote;
+    private String origin;
+    private String creatorName;
+    private String creatorType;
+    private String creatorRole;
+    private List<Creator> creators;
+    private String custodyAgent;
+    private String custodyAction;
+    private String created;
+    private String added;
+    private String contentCreated;
+
+    public SpecBuilder() {
+    }
+
+    public SpecBuilder withProject(MavenProject project) {
+        this.project = project;
+        return this;
+    }
+
+    public SpecBuilder withId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public SpecBuilder withIdentifier(String identifier) {
+        this.identifier = identifier;
+        return this;
+    }
+
+    public SpecBuilder withName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public SpecBuilder withVersion(String version) {
+        this.version = version;
+        return this;
+    }
+
+    public SpecBuilder withLicense(String license) {
+        this.license = license;
+        return this;
+    }
+
+    public SpecBuilder withLicenseScope(String licenseScope) {
+        this.licenseScope = licenseScope;
+        return this;
+    }
+
+    public SpecBuilder withLicenseCategory(String licenseCategory) {
+        this.licenseCategory = licenseCategory;
+        return this;
+    }
+
+    public SpecBuilder withLicenseNote(String licenseNote) {
+        this.licenseNote = licenseNote;
+        return this;
+    }
+
+    public SpecBuilder withOrigin(String origin) {
+        this.origin = origin;
+        return this;
+    }
+
+    public SpecBuilder withCreatorName(String creatorName) {
+        this.creatorName = creatorName;
+        return this;
+    }
+
+    public SpecBuilder withCreatorType(String creatorType) {
+        this.creatorType = creatorType;
+        return this;
+    }
+
+    public SpecBuilder withCreatorRole(String creatorRole) {
+        this.creatorRole = creatorRole;
+        return this;
+    }
+
+    public SpecBuilder withCreators(List<Creator> creators) {
+        this.creators = creators;
+        return this;
+    }
+
+    public SpecBuilder withCustodyAgent(String custodyAgent) {
+        this.custodyAgent = custodyAgent;
+        return this;
+    }
+
+    public SpecBuilder withCustodyAction(String custodyAction) {
+        this.custodyAction = custodyAction;
+        return this;
+    }
+
+    public SpecBuilder withCreated(String created) {
+        this.created = created;
+        return this;
+    }
+
+    public SpecBuilder withAdded(String added) {
+        this.added = added;
+        return this;
+    }
+
+    public SpecBuilder withContentCreated(String contentCreated) {
+        this.contentCreated = contentCreated;
+        return this;
+    }
+
+    public ProvenanceRecord build() {
+        ProvenanceRecord record = new ProvenanceRecord();
+
+        String groupId = project != null ? project.getGroupId() : "unknown";
+        String artifactId = project != null ? project.getArtifactId() : "unknown";
+        String projVersion = project != null ? project.getVersion() : "0.0.1";
+
+        // ID
+        if (id != null && !id.isBlank()) {
+            record.setId(id);
+        } else {
+            record.setId("urn:sourcelume:maven:" + groupId + ":" + artifactId + ":" + projVersion);
+        }
+
+        // Dataset Identifier
+        if (identifier != null && !identifier.isBlank()) {
+            record.setIdentifier(identifier);
+        } else {
+            record.setIdentifier("sourcelume://maven/" + groupId + "/" + artifactId);
+        }
+
+        // Name
+        if (name != null && !name.isBlank()) {
+            record.setName(name);
+        } else if (project != null && project.getName() != null && !project.getName().isBlank()) {
+            record.setName(project.getName());
+        } else {
+            record.setName(artifactId);
+        }
+
+        // Version
+        if (version != null && !version.isBlank()) {
+            record.setVersion(version);
+        } else {
+            record.setVersion(projVersion);
+        }
+
+        // License
+        if (license != null && !license.isBlank()) {
+            record.setLicense(SpdxLicenseMapper.toSpdxIri(license));
+        } else if (project != null && project.getLicenses() != null && !project.getLicenses().isEmpty()) {
+            License pomLicense = project.getLicenses().get(0);
+            String candidate = pomLicense.getUrl() != null && !pomLicense.getUrl().isBlank()
+                ? pomLicense.getUrl()
+                : pomLicense.getName();
+            record.setLicense(SpdxLicenseMapper.toSpdxIri(candidate));
+        } else {
+            record.setLicense("https://spdx.org/licenses/Apache-2.0.html");
+        }
+
+        // License qualifiers
+        if (licenseScope != null && !licenseScope.isBlank()) {
+            record.setLicenseScope(licenseScope);
+        }
+        if (licenseCategory != null && !licenseCategory.isBlank()) {
+            record.setLicenseCategory(licenseCategory);
+        } else {
+            record.setLicenseCategory("open-source");
+        }
+        if (licenseNote != null && !licenseNote.isBlank()) {
+            record.setLicenseNote(licenseNote);
+        }
+
+        // Timestamps (ISO-8601 UTC)
+        String now = DateTimeFormatter.ISO_INSTANT.format(Instant.now());
+        record.setCreated(created != null && !created.isBlank() ? created : now);
+        record.setAdded(added != null && !added.isBlank() ? added : now);
+        record.setContentCreated(contentCreated != null && !contentCreated.isBlank() ? contentCreated : now);
+
+        // Origin
+        if (origin != null && !origin.isBlank()) {
+            record.setOrigin(origin);
+        } else if (project != null) {
+            Scm scm = project.getScm();
+            if (scm != null && scm.getUrl() != null && !scm.getUrl().isBlank()) {
+                record.setOrigin(scm.getUrl());
+            } else if (project.getUrl() != null && !project.getUrl().isBlank()) {
+                record.setOrigin(project.getUrl());
+            } else {
+                record.setOrigin("https://repo1.maven.org/maven2/" + groupId.replace('.', '/') + "/" + artifactId + "/" + projVersion);
+            }
+        } else {
+            record.setOrigin("https://sourcelume.apache.org");
+        }
+
+        // Creators
+        List<Creator> resolvedCreators = new ArrayList<>();
+        if (creators != null && !creators.isEmpty()) {
+            resolvedCreators.addAll(creators);
+        } else if (creatorName != null && !creatorName.isBlank()) {
+            String type = creatorType != null && !creatorType.isBlank() ? creatorType : "schema:Organization";
+            String role = creatorRole != null && !creatorRole.isBlank() ? creatorRole : "originator";
+            resolvedCreators.add(new Creator(type, creatorName, role));
+        } else if (project != null) {
+            Organization org = project.getOrganization();
+            if (org != null && org.getName() != null && !org.getName().isBlank()) {
+                resolvedCreators.add(new Creator("schema:Organization", org.getName(), "originator"));
+            }
+
+            if (project.getDevelopers() != null) {
+                for (Developer dev : project.getDevelopers()) {
+                    if (dev.getName() != null && !dev.getName().isBlank()) {
+                        resolvedCreators.add(new Creator("schema:Person", dev.getName(), "originator"));
+                    }
+                }
+            }
+
+            if (resolvedCreators.isEmpty()) {
+                resolvedCreators.add(new Creator("schema:Organization", groupId, "originator"));
+            }
+        } else {
+            resolvedCreators.add(new Creator("schema:Organization", "Apache Sourcelume", "originator"));
+        }
+        record.setCreator(resolvedCreators);
+
+        // Custody Chain
+        List<CustodyChainEntry> custodyChain = new ArrayList<>();
+        String agent = custodyAgent != null && !custodyAgent.isBlank() ? custodyAgent : record.getOrigin();
+        if (!agent.startsWith("http://") && !agent.startsWith("https://") && !agent.startsWith("urn:")) {
+            agent = "urn:sourcelume:agent:" + agent.replaceAll("[^a-zA-Z0-9.-]", "_");
+        }
+
+        String action = custodyAction != null && !custodyAction.isBlank()
+            ? custodyAction
+            : "Build and package Maven artifact " + groupId + ":" + artifactId + ":" + projVersion;
+
+        custodyChain.add(new CustodyChainEntry(agent, action, record.getAdded()));
+        record.setCustodyChain(custodyChain);
+
+        return record;
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClientTest.java b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClientTest.java
new file mode 100644
index 0000000..e7408e9
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/client/SourcelumeClientTest.java
@@ -0,0 +1,156 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.client;
+
+import com.sun.net.httpserver.HttpServer;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+
+import java.io.OutputStream;
+import java.net.InetSocketAddress;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.concurrent.atomic.AtomicReference;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+class SourcelumeClientTest {
+
+    private HttpServer server;
+    private String serverUrl;
+    private final AtomicReference<String> lastAuthHeader = new AtomicReference<>();
+    private final AtomicReference<String> lastRequestBody = new AtomicReference<>();
+
+    @BeforeEach
+    void setUp() throws Exception {
+        server = HttpServer.create(new InetSocketAddress(0), 0);
+        server.createContext("/records/validate", exchange -> {
+            lastAuthHeader.set(exchange.getRequestHeaders().getFirst("Authorization"));
+            lastRequestBody.set(new String(exchange.getRequestBody().readAllBytes(), StandardCharsets.UTF_8));
+
+            byte[] response = "{\"valid\":true}".getBytes(StandardCharsets.UTF_8);
+            exchange.getResponseHeaders().set("Content-Type", "application/json");
+            exchange.sendResponseHeaders(200, response.length);
+            try (OutputStream os = exchange.getResponseBody()) {
+                os.write(response);
+            }
+        });
+
+        server.createContext("/records", exchange -> {
+            lastAuthHeader.set(exchange.getRequestHeaders().getFirst("Authorization"));
+            lastRequestBody.set(new String(exchange.getRequestBody().readAllBytes(), StandardCharsets.UTF_8));
+
+            String path = exchange.getRequestURI().getPath();
+            if ("/records".equals(path)) {
+                if (lastRequestBody.get().contains("conflict")) {
+                    byte[] response = "{\"error\":\"Record already exists\"}".getBytes(StandardCharsets.UTF_8);
+                    exchange.getResponseHeaders().set("Content-Type", "application/json");
+                    exchange.sendResponseHeaders(409, response.length);
+                    try (OutputStream os = exchange.getResponseBody()) {
+                        os.write(response);
+                    }
+                } else if (lastRequestBody.get().contains("invalid")) {
+                    byte[] response = "{\"error\":\"Validation failed\"}".getBytes(StandardCharsets.UTF_8);
+                    exchange.getResponseHeaders().set("Content-Type", "application/json");
+                    exchange.sendResponseHeaders(422, response.length);
+                    try (OutputStream os = exchange.getResponseBody()) {
+                        os.write(response);
+                    }
+                } else {
+                    byte[] response = "{\"status\":\"created\",\"id\":\"urn:test:1\"}".getBytes(StandardCharsets.UTF_8);
+                    exchange.getResponseHeaders().set("Content-Type", "application/json");
+                    exchange.sendResponseHeaders(201, response.length);
+                    try (OutputStream os = exchange.getResponseBody()) {
+                        os.write(response);
+                    }
+                }
+            }
+        });
+
+        server.start();
+        serverUrl = "http://localhost:" + server.getAddress().getPort();
+    }
+
+    @AfterEach
+    void tearDown() {
+        if (server != null) {
+            server.stop(0);
+        }
+    }
+
+    @Test
+    void shouldValidateRecordSuccessfullyWithBearerAuth() throws Exception {
+        SourcelumeClient client = SourcelumeClient.builder()
+            .registryUrl(serverUrl)
+            .token("secret-token-123")
+            .timeout(Duration.ofSeconds(5))
+            .build();
+
+        SourcelumeResponse response = client.validate("{\"type\":\"ProvenanceRecord\"}");
+
+        assertThat(response.isSuccess()).isTrue();
+        assertThat(response.getStatusCode()).isEqualTo(200);
+        assertThat(response.getBody()).contains("\"valid\":true");
+        assertThat(lastAuthHeader.get()).isEqualTo("Bearer secret-token-123");
+        assertThat(lastRequestBody.get()).isEqualTo("{\"type\":\"ProvenanceRecord\"}");
+    }
+
+    @Test
+    void shouldPublishRecordSuccessfullyWithBasicAuth() throws Exception {
+        SourcelumeClient client = SourcelumeClient.builder()
+            .registryUrl(serverUrl)
+            .username("admin")
+            .password("password123")
+            .timeout(Duration.ofSeconds(5))
+            .build();
+
+        SourcelumeResponse response = client.publish("{\"type\":\"ProvenanceRecord\",\"name\":\"test\"}");
+
+        assertThat(response.isSuccess()).isTrue();
+        assertThat(response.getStatusCode()).isEqualTo(201);
+        assertThat(response.getBody()).contains("urn:test:1");
+        assertThat(lastAuthHeader.get()).startsWith("Basic ");
+    }
+
+    @Test
+    void shouldHandleConflictOnPublish() throws Exception {
+        SourcelumeClient client = SourcelumeClient.builder()
+            .registryUrl(serverUrl)
+            .build();
+
+        SourcelumeResponse response = client.publish("{\"type\":\"conflict\"}");
+
+        assertThat(response.isSuccess()).isFalse();
+        assertThat(response.isConflict()).isTrue();
+        assertThat(response.getStatusCode()).isEqualTo(409);
+        assertThat(response.getErrorMessage()).contains("Record already exists");
+    }
+
+    @Test
+    void shouldHandleValidationErrorOnPublish() throws Exception {
+        SourcelumeClient client = SourcelumeClient.builder()
+            .registryUrl(serverUrl)
+            .build();
+
+        SourcelumeResponse response = client.publish("{\"type\":\"invalid\"}");
+
+        assertThat(response.isSuccess()).isFalse();
+        assertThat(response.isValidationError()).isTrue();
+        assertThat(response.getStatusCode()).isEqualTo(422);
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/mojo/MojoTest.java b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/mojo/MojoTest.java
new file mode 100644
index 0000000..0cf87cb
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/mojo/MojoTest.java
@@ -0,0 +1,161 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.mojo;
+
+import com.sun.net.httpserver.HttpServer;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.project.MavenProject;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.io.TempDir;
+
+import java.io.File;
+import java.io.OutputStream;
+import java.net.InetSocketAddress;
+import java.nio.charset.StandardCharsets;
+import java.nio.file.Files;
+import java.nio.file.Path;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatThrownBy;
+
+class MojoTest {
+
+    private HttpServer server;
+    private String serverUrl;
+    private MavenProject project;
+
+    @TempDir
+    Path tempDir;
+
+    @BeforeEach
+    void setUp() throws Exception {
+        project = new MavenProject();
+        project.setGroupId("org.apache.sourcelume");
+        project.setArtifactId("test-artifact");
+        project.setVersion("0.1.0");
+
+        server = HttpServer.create(new InetSocketAddress(0), 0);
+        server.createContext("/records/validate", exchange -> {
+            byte[] response = "{\"valid\":true}".getBytes(StandardCharsets.UTF_8);
+            exchange.getResponseHeaders().set("Content-Type", "application/json");
+            exchange.sendResponseHeaders(200, response.length);
+            try (OutputStream os = exchange.getResponseBody()) {
+                os.write(response);
+            }
+        });
+        server.createContext("/records", exchange -> {
+            byte[] response = "{\"status\":\"created\",\"id\":\"urn:test\"}".getBytes(StandardCharsets.UTF_8);
+            exchange.getResponseHeaders().set("Content-Type", "application/json");
+            exchange.sendResponseHeaders(201, response.length);
+            try (OutputStream os = exchange.getResponseBody()) {
+                os.write(response);
+            }
+        });
+        server.start();
+        serverUrl = "http://localhost:" + server.getAddress().getPort();
+    }
+
+    @AfterEach
+    void tearDown() {
+        if (server != null) {
+            server.stop(0);
+        }
+    }
+
+    @Test
+    void testGenerateMojo() throws Exception {
+        File outputFile = tempDir.resolve("target/sourcelume/provenance-record.json").toFile();
+
+        GenerateMojo mojo = new GenerateMojo();
+        mojo.setProject(project);
+        mojo.setOutputFile(outputFile);
+
+        mojo.execute();
+
+        assertThat(outputFile).exists();
+        String content = Files.readString(outputFile.toPath());
+        assertThat(content).contains("urn:sourcelume:maven:org.apache.sourcelume:test-artifact:0.1.0");
+        assertThat(content).contains("sourcelume://maven/org.apache.sourcelume/test-artifact");
+    }
+
+    @Test
+    void testValidateMojo() throws Exception {
+        File outputFile = tempDir.resolve("target/sourcelume/provenance-record.json").toFile();
+
+        ValidateMojo mojo = new ValidateMojo();
+        mojo.setProject(project);
+        mojo.setOutputFile(outputFile);
+        mojo.setRegistryUrl(serverUrl);
+
+        mojo.execute();
+        assertThat(outputFile).exists();
+    }
+
+    @Test
+    void testPublishMojoDryRun() throws Exception {
+        File outputFile = tempDir.resolve("target/sourcelume/provenance-record.json").toFile();
+
+        PublishMojo mojo = new PublishMojo();
+        mojo.setProject(project);
+        mojo.setOutputFile(outputFile);
+        mojo.setRegistryUrl(serverUrl);
+        mojo.setDryRun(true);
+
+        mojo.execute();
+        assertThat(outputFile).exists();
+    }
+
+    @Test
+    void testPublishMojoLive() throws Exception {
+        File outputFile = tempDir.resolve("target/sourcelume/provenance-record.json").toFile();
+
+        PublishMojo mojo = new PublishMojo();
+        mojo.setProject(project);
+        mojo.setOutputFile(outputFile);
+        mojo.setRegistryUrl(serverUrl);
+        mojo.setUsername("user");
+        mojo.setPassword("pass");
+
+        mojo.execute();
+        assertThat(outputFile).exists();
+    }
+
+    @Test
+    void testPublishMojoFailureWhenServerReturnsError() throws Exception {
+        server.createContext("/records-error", exchange -> {
+            byte[] response = "{\"error\":\"invalid\"}".getBytes(StandardCharsets.UTF_8);
+            exchange.getResponseHeaders().set("Content-Type", "application/json");
+            exchange.sendResponseHeaders(500, response.length);
+            try (OutputStream os = exchange.getResponseBody()) {
+                os.write(response);
+            }
+        });
+
+        File outputFile = tempDir.resolve("target/sourcelume/provenance-record.json").toFile();
+
+        PublishMojo mojo = new PublishMojo();
+        mojo.setProject(project);
+        mojo.setOutputFile(outputFile);
+        mojo.setRegistryUrl(serverUrl + "/records-error");
+        mojo.setFailOnError(true);
+
+        assertThatThrownBy(mojo::execute)
+            .isInstanceOf(Exception.class);
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapperTest.java b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapperTest.java
new file mode 100644
index 0000000..dced72c
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpdxLicenseMapperTest.java
@@ -0,0 +1,76 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.util;
+
+import org.junit.jupiter.api.Test;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+class SpdxLicenseMapperTest {
+
+    @Test
+    void shouldMapStandardApacheLicenseNamesAndUrls() {
+        assertThat(SpdxLicenseMapper.toSpdxIri("Apache-2.0"))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("Apache License, Version 2.0"))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("The Apache Software License, Version 2.0"))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("http://www.apache.org/licenses/LICENSE-2.0.txt"))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("https://www.apache.org/licenses/LICENSE-2.0.txt"))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+    }
+
+    @Test
+    void shouldMapMitAndBsdLicenses() {
+        assertThat(SpdxLicenseMapper.toSpdxIri("MIT"))
+            .isEqualTo("https://spdx.org/licenses/MIT.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("The MIT License"))
+            .isEqualTo("https://spdx.org/licenses/MIT.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("BSD-3-Clause"))
+            .isEqualTo("https://spdx.org/licenses/BSD-3-Clause.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("BSD-2-Clause"))
+            .isEqualTo("https://spdx.org/licenses/BSD-2-Clause.html");
+    }
+
+    @Test
+    void shouldMapCreativeCommonsAndOpenDataLicenses() {
+        assertThat(SpdxLicenseMapper.toSpdxIri("CC0-1.0"))
+            .isEqualTo("https://spdx.org/licenses/CC0-1.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("CC-BY-4.0"))
+            .isEqualTo("https://spdx.org/licenses/CC-BY-4.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri("ODC-By"))
+            .isEqualTo("https://spdx.org/licenses/ODC-By-1.0.html");
+    }
+
+    @Test
+    void shouldHandleDirectUrlsAndUris() {
+        assertThat(SpdxLicenseMapper.toSpdxIri("https://example.org/custom-license"))
+            .isEqualTo("https://example.org/custom-license");
+        assertThat(SpdxLicenseMapper.toSpdxIri("urn:isbn:0451450523"))
+            .isEqualTo("urn:isbn:0451450523");
+    }
+
+    @Test
+    void shouldFallbackGracefullyForNullOrBlank() {
+        assertThat(SpdxLicenseMapper.toSpdxIri(null))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(SpdxLicenseMapper.toSpdxIri(""))
+            .isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+    }
+}
diff --git a/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpecBuilderTest.java b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpecBuilderTest.java
new file mode 100644
index 0000000..4842237
--- /dev/null
+++ b/plugins/sourcelume-maven-plugin/src/test/java/org/apache/sourcelume/tooling/maven/util/SpecBuilderTest.java
@@ -0,0 +1,139 @@
+/*
+ * 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 with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      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.
+ */
+package org.apache.sourcelume.tooling.maven.util;
+
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import org.apache.maven.model.Developer;
+import org.apache.maven.model.License;
+import org.apache.maven.model.Organization;
+import org.apache.maven.model.Scm;
+import org.apache.maven.project.MavenProject;
+import org.apache.sourcelume.tooling.maven.mojo.AbstractSourcelumeMojo;
+import org.apache.sourcelume.tooling.maven.model.ProvenanceRecord;
+import org.junit.jupiter.api.Test;
+
+import java.util.List;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+class SpecBuilderTest {
+
+    private final ObjectMapper mapper = AbstractSourcelumeMojo.createObjectMapper();
+
+    @Test
+    void shouldBuildRecordFromMavenProjectMetadata() throws Exception {
+        MavenProject project = new MavenProject();
+        project.setGroupId("org.apache.sourcelume");
+        project.setArtifactId("sourcelume-sample");
+        project.setVersion("1.0.0");
+        project.setName("Apache Sourcelume Sample");
+
+        License lic = new License();
+        lic.setName("Apache-2.0");
+        lic.setUrl("https://www.apache.org/licenses/LICENSE-2.0.txt");
+        project.setLicenses(List.of(lic));
+
+        Organization org = new Organization();
+        org.setName("The Apache Software Foundation");
+        project.setOrganization(org);
+
+        Developer dev = new Developer();
+        dev.setName("Jane Doe");
+        project.setDevelopers(List.of(dev));
+
+        Scm scm = new Scm();
+        scm.setUrl("https://github.com/apache/sourcelume-sample");
+        project.setScm(scm);
+
+        SpecBuilder builder = new SpecBuilder().withProject(project);
+        ProvenanceRecord record = builder.build();
+
+        assertThat(record.getContext()).isEqualTo("https://sourcelume.apache.org/context/0.0.1/sourcelume.jsonld");
+        assertThat(record.getType()).isEqualTo("ProvenanceRecord");
+        assertThat(record.getId()).isEqualTo("urn:sourcelume:maven:org.apache.sourcelume:sourcelume-sample:1.0.0");
+        assertThat(record.getIdentifier()).isEqualTo("sourcelume://maven/org.apache.sourcelume/sourcelume-sample");
+        assertThat(record.getName()).isEqualTo("Apache Sourcelume Sample");
+        assertThat(record.getVersion()).isEqualTo("1.0.0");
+        assertThat(record.getLicense()).isEqualTo("https://spdx.org/licenses/Apache-2.0.html");
+        assertThat(record.getLicenseCategory()).isEqualTo("open-source");
+        assertThat(record.getOrigin()).isEqualTo("https://github.com/apache/sourcelume-sample");
+        assertThat(record.getCreator()).hasSize(2);
+        assertThat(record.getCreator().get(0).getName()).isEqualTo("The Apache Software Foundation");
+        assertThat(record.getCreator().get(0).getType()).isEqualTo("schema:Organization");
+        assertThat(record.getCreator().get(1).getName()).isEqualTo("Jane Doe");
+        assertThat(record.getCreator().get(1).getType()).isEqualTo("schema:Person");
+        assertThat(record.getCustodyChain()).hasSize(1);
+        assertThat(record.getCustodyChain().get(0).getAgent()).isEqualTo("https://github.com/apache/sourcelume-sample");
+
+        // Verify JSON serializability and structure
+        String json = mapper.writeValueAsString(record);
+        JsonNode node = mapper.readTree(json);
+        assertThat(node.get("@context").asText()).isEqualTo("https://sourcelume.apache.org/context/0.0.1/sourcelume.jsonld");
+        assertThat(node.get("type").asText()).isEqualTo("ProvenanceRecord");
+        assertThat(node.get("id").asText()).isEqualTo("urn:sourcelume:maven:org.apache.sourcelume:sourcelume-sample:1.0.0");
+    }
+
+    @Test
+    void shouldHonorExplicitOverrides() {
+        MavenProject project = new MavenProject();
+        project.setGroupId("com.example");
+        project.setArtifactId("custom-app");
+        project.setVersion("2.3.4");
+
+        SpecBuilder builder = new SpecBuilder()
+            .withProject(project)
+            .withId("urn:dataset:custom-123")
+            .withIdentifier("doi:10.1234/5678")
+            .withName("Custom Fine-Tuning Corpus")
+            .withVersion("2.3.4-alpha")
+            .withLicense("MIT")
+            .withLicenseCategory("open-source")
+            .withLicenseScope("Global")
+            .withLicenseNote("Permissive training corpus")
+            .withOrigin("https://data.example.org/corpus.tar.gz")
+            .withCreatorName("Corpus Team")
+            .withCreatorType("schema:Organization")
+            .withCreatorRole("originator")
+            .withCustodyAgent("https://ci.example.org/pipeline/1")
+            .withCustodyAction("Aggregated dataset release")
+            .withCreated("2026-10-12T00:00:00Z")
+            .withAdded("2026-10-12T01:00:00Z")
+            .withContentCreated("2026-10-10T00:00:00Z");
+
+        ProvenanceRecord record = builder.build();
+
+        assertThat(record.getId()).isEqualTo("urn:dataset:custom-123");
+        assertThat(record.getIdentifier()).isEqualTo("doi:10.1234/5678");
+        assertThat(record.getName()).isEqualTo("Custom Fine-Tuning Corpus");
+        assertThat(record.getVersion()).isEqualTo("2.3.4-alpha");
+        assertThat(record.getLicense()).isEqualTo("https://spdx.org/licenses/MIT.html");
+        assertThat(record.getLicenseScope()).isEqualTo("Global");
+        assertThat(record.getLicenseCategory()).isEqualTo("open-source");
+        assertThat(record.getLicenseNote()).isEqualTo("Permissive training corpus");
+        assertThat(record.getOrigin()).isEqualTo("https://data.example.org/corpus.tar.gz");
+        assertThat(record.getCreated()).isEqualTo("2026-10-12T00:00:00Z");
+        assertThat(record.getAdded()).isEqualTo("2026-10-12T01:00:00Z");
+        assertThat(record.getContentCreated()).isEqualTo("2026-10-10T00:00:00Z");
+        assertThat(record.getCreator()).hasSize(1);
+        assertThat(record.getCreator().get(0).getName()).isEqualTo("Corpus Team");
+        assertThat(record.getCreator().get(0).getRole()).isEqualTo("originator");
+        assertThat(record.getCustodyChain()).hasSize(1);
+        assertThat(record.getCustodyChain().get(0).getAgent()).isEqualTo("https://ci.example.org/pipeline/1");
+        assertThat(record.getCustodyChain().get(0).getAction()).isEqualTo("Aggregated dataset release");
+    }
+}
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..825fd92
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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 with
+    the License.  You may obtain a copy of the License at
+
+       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/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>39</version>
+    <relativePath/>
+  </parent>
+
+  <groupId>org.apache.sourcelume</groupId>
+  <artifactId>sourcelume-tooling</artifactId>
+  <version>0.0.1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>Apache Sourcelume Tooling</name>
+  <description>Build tool plugins and automated submission tooling for Apache Sourcelume Registry.</description>
+  <url>https://sourcelume.apache.org/</url>
+  <inceptionYear>2026</inceptionYear>
+
+  <licenses>
+    <license>
+      <name>Apache License, Version 2.0</name>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+    </license>
+  </licenses>
+
+  <mailingLists>
+    <mailingList>
+      <name>Sourcelume Dev List</name>
+      <subscribe>dev-subscribe@sourcelume.apache.org</subscribe>
+      <unsubscribe>dev-unsubscribe@sourcelume.apache.org</unsubscribe>
+      <post>dev@sourcelume.apache.org</post>
+      <archive>https://lists.apache.org/list.html?dev@sourcelume.apache.org</archive>
+    </mailingList>
+  </mailingLists>
+
+  <scm>
+    <connection>scm:git:https://github.com/apache/sourcelume-tooling.git</connection>
+    <developerConnection>scm:git:https://github.com/apache/sourcelume-tooling.git</developerConnection>
+    <tag>HEAD</tag>
+    <url>https://github.com/apache/sourcelume-tooling</url>
+  </scm>
+
+  <issueManagement>
+    <system>GitHub</system>
+    <url>https://github.com/apache/sourcelume-tooling/issues</url>
+  </issueManagement>
+
+  <modules>
+    <module>plugins/sourcelume-maven-plugin</module>
+  </modules>
+
+  <properties>
+    <maven.compiler.source>21</maven.compiler.source>
+    <maven.compiler.target>21</maven.compiler.target>
+    <maven.compiler.release>21</maven.compiler.release>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+    <maven.version>3.9.6</maven.version>
+    <maven-plugin-tools.version>3.12.0</maven-plugin-tools.version>
+    <jackson.version>2.17.2</jackson.version>
+    <junit.version>5.10.2</junit.version>
+    <assertj.version>3.25.3</assertj.version>
+    <mockito.version>5.11.0</mockito.version>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-plugin-api</artifactId>
+        <version>${maven.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-core</artifactId>
+        <version>${maven.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.plugin-tools</groupId>
+        <artifactId>maven-plugin-annotations</artifactId>
+        <version>${maven-plugin-tools.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.core</groupId>
+        <artifactId>jackson-databind</artifactId>
+        <version>${jackson.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>com.fasterxml.jackson.datatype</groupId>
+        <artifactId>jackson-datatype-jsr310</artifactId>
+        <version>${jackson.version}</version>
+      </dependency>
+
+      <!-- Testing -->
+      <dependency>
+        <groupId>org.junit.jupiter</groupId>
+        <artifactId>junit-jupiter</artifactId>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.assertj</groupId>
+        <artifactId>assertj-core</artifactId>
+        <version>${assertj.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mockito</groupId>
+        <artifactId>mockito-core</artifactId>
+        <version>${mockito.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mockito</groupId>
+        <artifactId>mockito-junit-jupiter</artifactId>
+        <version>${mockito.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.13.0</version>
+          <configuration>
+            <release>${maven.compiler.release}</release>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-plugin-plugin</artifactId>
+          <version>${maven-plugin-tools.version}</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>3.2.5</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@sourcelume.apache.org
For additional commands, e-mail: commits-help@sourcelume.apache.org