Programming/Maven

Maven dependency graph plugin(pomParser)

Jared 2016. 7. 27. 09:12

1. Download jar file from link below.

https://github.com/roclas/pomParser/raw/master/lib/pom_parser-1.0.jar


2.1. Option 1

- Gather all your pom files and change their names (so they don't overwrite each other) and copy them to an EMPTY directory.

- Just get the latest jar from https://github.com/roclas/pomParser/raw/master/lib/pom_parser-1.0.jar and use it like this:

java -jar pom_parser-X.X.jar _origin_dir_where_all_your_poms_are_ _dest_dir_where_the_graph_goes_ 


2.2. Option2

- Put the project into a folder and compile it with maven:

    mvn install

- Gather all your pom files and change their names (so they don't overwrite each other) and copy them to an EMPTY directory.

- Get the jar and use it like this:

    java -jar pom_parser-X.X.jar _origin_dir_where_all_your_poms_are_ _dest_dir_where_the_graph_goes_


3. Sample output

- html document that include an information of dependency and links for each other.