-
Notifications
You must be signed in to change notification settings - Fork 183
[MDEP-644] Add tgf, dot, graphml support for verboseGraphSerializer #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MDEP-644] Add tgf, dot, graphml support for verboseGraphSerializer #95
Conversation
Please change the title so it differs from #92 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge to master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lot of commits here; might be worth rebasing this if that's not too much trouble
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you want System.lineSeparator anywhere
Map<DependencyNode, String> nodeErrors = getNodeConflictMessagesBfs( root, coordinateStrings, | ||
coordinateVersionMap ); | ||
|
||
if ( "graphml".equals( outputType ) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This long chain of if's makes me wonder if what we really need is a base abstract Serializer type and subclasses for each type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just committed that
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializer.java
Outdated
Show resolved
Hide resolved
src/test/java/org/apache/maven/plugins/dependency/tree/VerboseGraphSerializerTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why were the test files deleted?
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseDependencyGraphBuilder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphGraphmlSerializer.java
Show resolved
Hide resolved
src/main/java/org/apache/maven/plugins/dependency/tree/VerboseGraphGraphmlSerializer.java
Show resolved
Hide resolved
…pache#95) Add tgf, dot, graphml support for verboseGraphSerializer
Resolve #1078 |
Added DOT, TGF, and GraphML support for the verbose serializer