Skip to content

Add Maven repository configuration for publishing to dansplugins.com - #120

Draft
dmccoystephenson with Copilot wants to merge 17 commits into
developfrom
copilot/update-pom-xml-for-maven
Draft

Add Maven repository configuration for publishing to dansplugins.com#120
dmccoystephenson with Copilot wants to merge 17 commits into
developfrom
copilot/update-pom-xml-for-maven

Conversation

Copilot AI commented Oct 12, 2025

Copy link
Copy Markdown
Contributor

This PR configures the project to publish artifacts to the Dan's Plugins Community Maven repository hosted at dansplugins.com.

Changes

Added a distributionManagement section to pom.xml with the following repositories:

  • Releases: https://maven.dansplugins.com/repository/maven-releases/
  • Snapshots: https://maven.dansplugins.com/repository/maven-snapshots/

Usage

After this change, the project can be published to the Maven repository using:

mvn clean deploy

Developers will need to configure their Maven credentials in ~/.m2/settings.xml:

<servers>
  <server>
    <id>dpc-maven-repo-releases</id>
    <username>your-username</username>
    <password>your-password</password>
  </server>
  <server>
    <id>dpc-maven-repo-snapshots</id>
    <username>your-username</username>
    <password>your-password</password>
  </server>
</servers>

Notes

  • The configuration follows the standard pattern from the dpc-mvn-repo infrastructure
  • Since the current version is 2.2.1-SNAPSHOT, artifacts will be published to the snapshots repository
  • Release versions (without -SNAPSHOT) will automatically be published to the releases repository

Closes #[issue_number]

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • hub.spigotmc.org
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/SimpleSkills/SimpleSkills org.codehaus.plexus.classworlds.launcher.Launcher clean package -DskipTests (dns block)
  • jitpack.io
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/SimpleSkills/SimpleSkills org.codehaus.plexus.classworlds.launcher.Launcher clean package -DskipTests (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Publish to Maven repo</issue_title>
<issue_description>Update pom.xml to publish to Maven repository at dansplugins.com (infrastructure at https://github.com/Dans-Plugins/dpc-mvn-repo)</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #119


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 3 commits September 21, 2025 16:06
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copilot AI self-assigned this Oct 12, 2025
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copilot AI changed the title [WIP] Update pom.xml to publish to Maven repository Add Maven repository configuration for publishing to dansplugins.com Oct 12, 2025
dmccoystephenson and others added 12 commits January 5, 2026 19:40
…e() usage, and handle() active guard

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
…thub.com:Dans-Plugins/SimpleSkills into copilot/fix-751a9037-3a32-417b-8065-948a85ffe2bd
… totals

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
…17b-8065-948a85ffe2bd

Fix skill activation/deactivation persistence across server restarts
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Dans-Plugins/SimpleSkills/sessions/30bcb888-b3bd-40e1-896a-97e301aa5966
…g paths, Ponder install step, standardize repo links

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Dans-Plugins/SimpleSkills/sessions/fbdfd48c-b863-4ded-bc3e-9825f2fc9cca
…-medieval-factions

Align documentation with Medieval Factions plugin conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants