Package org.eolang.maven.dependencies
Class DcsDepgraph
- java.lang.Object
-
- org.eolang.maven.dependencies.DcsDepgraph
-
- All Implemented Interfaces:
Iterable<org.apache.maven.model.Dependency>
public final class DcsDepgraph extends Object implements Iterable<org.apache.maven.model.Dependency>
A list of transitive dependencies for a given Maven dependency. A JSON File is retrieved using the plugin for uploading transitive dependencies. Then, we go through the JSON, parse it and build a list of dependencies.- Since:
- 0.28.11
- See Also:
- here
-
-
Constructor Summary
Constructors Constructor Description DcsDepgraph(org.apache.maven.project.MavenProject pkt, org.apache.maven.execution.MavenSession ssn, org.apache.maven.plugin.BuildPluginManager mgr, Path path, org.apache.maven.model.Dependency dep)
The main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.apache.maven.model.Dependency>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DcsDepgraph
public DcsDepgraph(org.apache.maven.project.MavenProject pkt, org.apache.maven.execution.MavenSession ssn, org.apache.maven.plugin.BuildPluginManager mgr, Path path, org.apache.maven.model.Dependency dep)
The main constructor.- Parameters:
pkt
- Maven projectssn
- Maven sessionmgr
- Maven plugin managerpath
- Directory to save all transitive dependencies filesdep
- Dependency
-
-