Package eu.bandm.tools.util3
Class PomDependencies
java.lang.Object
eu.bandm.tools.util3.PomDependencies
Two starting points: 1 find all pom.xml and analyse all relevant
dependency entries.
2 -- find all .jar files currently installed locally. The output is to the current directory.
2 -- find all .jar files currently installed locally. The output is to the current directory.
This code cannot process all kinds of pom files, but makes strict assumptions on the front-end represenation of the XML contents:
- The first occurence "
<version>...</version>" is the artifacts version. - The "artifact ids" are unique, without the "groupId".
- The artifact ids correspond to the names of the jar files.
- No linefeeds or other whitespace in artifact ids and version values.
- Any "scope" entry in a "dependency" makes this dependency irrelevant.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HTML_FILENAME
- See Also:
-
-
Constructor Details
-
PomDependencies
public PomDependencies()
-
-
Method Details
-
main
Example without restriction:bandm/tools/util3$ make run_PomDependencies RUN_PARAMS="~/metatools/sub" "/home/myname/.m2/repository/eu/bandm"- Throws:
IOExceptionClassNotFoundException
-