Skip to content

Fix CI: remove duplicate dependency declarations in CircularLayout and OrderedLayout - #353

Open
MattArtzAnthro wants to merge 1 commit into
gephi:master-forgefrom
MattArtzAnthro:fix-duplicate-pom-dependencies
Open

MattArtzAnthro wants to merge 1 commit into
gephi:master-forgefrom
MattArtzAnthro:fix-duplicate-pom-dependencies

Conversation

@MattArtzAnthro

Copy link
Copy Markdown

New plugin or plugin update?

  • New Plugin
  • Update

What is the purpose of this plugin?

Build fix, no plugin change. modules/CircularLayout/pom.xml declares org.gephi:ui-utils twice and modules/OrderedLayout/pom.xml declares org.gephi:graph-api twice. Maven 3 only warns about this, but the Maven on GitHub's ubuntu-latest runner rejects it ("'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique ... The build could not read 2 projects"), so mvn -B package stops before building any module and CI fails for every pull request. This removes the second, identical declaration in each pom.

How to test your plugin in Gephi?

  1. mvn -B validate reports no "must be unique" warnings.
  2. On a fork, the build workflow (the same mvn -B package on ubuntu-latest) now ends in BUILD SUCCESS; on master-forge it fails while reading the two poms.
  3. mvn -B -pl modules/CircularLayout,modules/OrderedLayout package builds both plugins as before; their dependencies are unchanged.

Checklist before submission

  • Did you merged with the master branch to get the latest updates?
  • Did you build and test the plugin successfully locally?
  • Did you include metadata (e.g. plugin author, license) in the pom.xml file
  • Did you make sure NOT to include any unnecessary files in your PR?
  • Did you write unit tests to test your plugin functionalities? (not applicable: pom-only fix)

The diagnosis and this fix were worked out together with Claude, Anthropic's AI assistant. I built, ran, and verified everything on my own machine, and I am happy to re-run any of it.

…dLayout

Each pom declared one dependency twice (ui-utils, graph-api). Maven 3 warns; the Maven on GitHub's ubuntu-latest runner rejects it, so 'mvn package' fails before any module builds and every PR's CI fails.
@MattArtzAnthro MattArtzAnthro mentioned this pull request Nov 1, 2026
6 of 7 tasks

This branch has not been deployed

No deployments
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.

1 participant