MCPcopy Index your code
hub / github.com/apache/maven-dependency-plugin

github.com/apache/maven-dependency-plugin @maven-dependency-plugin-3.11.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release maven-dependency-plugin-3.11.0 ↗ · + Follow
1,243 symbols 5,568 edges 150 files 456 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Contributing to Apache Maven Dependency Plugin

Apache License, Version 2.0, January 2004 Maven Central Reproducible Builds Jenkins Build Jenkins Tests

You have found a bug, or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

Getting Started

  • Make sure you have a GitHub account.
  • If you're planning to implement a new feature, it makes sense to discuss your changes on the dev list first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Maven's scope.
  • Submit a ticket for your issue, assuming one does not already exist.
  • Clearly describe the issue, including steps to reproduce when it is a bug.
  • Make sure you fill in the earliest version that you know has the issue.
  • Fork the repository on GitHub.

Making and Submitting Changes

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us: + Create a topic branch from where you want to base your work (this is usually the master branch). Push your changes to a topic branch in your fork of the repository. + Make commits of logical units. + Respect the original code style: by using the same codestyle, patches should only highlight the actual difference, not being disturbed by any formatting issues: + Only use spaces for indentation. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted, create a separate PR for this change. + Check for unnecessary whitespace with git diff --check before committing. + Make sure you have added the necessary tests (JUnit/IT) for your changes. + Run all the tests with mvn -Prun-its verify to assure nothing else was accidentally broken. + Submit a pull request to the repository in the Apache organization.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement.

Additional Resources

Extension points exported contracts — how you extend this code

ArtifactItemFilter (Interface)
@author Brian Fox [5 implementers]
src/main/java/org/apache/maven/plugins/dependency/utils/filters/ArtifactItemFilter.java
Java8Slf4jDep (Interface)
(no doc)
src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java
MarkerHandler (Interface)
@author Brian Fox [2 implementers]
src/main/java/org/apache/maven/plugins/dependency/utils/markers/MarkerHandler.java
ArtifactTranslator (Interface)
@author Brian Fox [2 implementers]
src/main/java/org/apache/maven/plugins/dependency/utils/translators/ArtifactTranslator.java
DependencyMatcher (Interface)
(no doc) [4 implementers]
src/main/java/org/apache/maven/plugins/dependency/fromDependencies/DependencyMatcher.java

Core symbols most depended-on inside this repo

execute
called by 210
src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
getProject
called by 177
src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java
getArtifactId
called by 88
src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
info
called by 86
src/main/java/org/apache/maven/plugins/dependency/utils/DependencySilentLog.java
getGroupId
called by 84
src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
equals
called by 82
src/main/java/org/apache/maven/plugins/dependency/exclusion/Coordinates.java
getType
called by 71
src/main/java/org/apache/maven/plugins/dependency/pom/DependencyEntry.java
getFormattedFileName
called by 70
src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java

Shape

Method 1,085
Class 152
Interface 5
Enum 1

Languages

Java100%

Modules by API surface

src/test/java/org/apache/maven/plugins/dependency/AddDependencyMojoTest.java42 symbols
src/test/java/org/apache/maven/plugins/dependency/pom/PomEditorTest.java39 symbols
src/test/java/org/apache/maven/plugins/dependency/fromConfiguration/TestCopyMojo.java39 symbols
src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo.java38 symbols
src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestUnpackDependenciesMojo.java33 symbols
src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java33 symbols
src/test/java/org/apache/maven/plugins/dependency/pom/DependencyEntryTest.java29 symbols
src/test/java/org/apache/maven/plugins/dependency/fromConfiguration/TestUnpackMojo.java29 symbols
src/main/java/org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java25 symbols
src/main/java/org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java24 symbols
src/main/java/org/apache/maven/plugins/dependency/AddDependencyMojo.java24 symbols
src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java22 symbols

For agents

$ claude mcp add maven-dependency-plugin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact