A very good idea I think. Please add it as an improvement in JIRA and it could be implemented in a future pom model version.
/Anders (mobile) Den 27 aug 2014 09:13 skrev "James Green" <james.mk.gr...@gmail.com>: > I have in the past wasted hours of effort trying to weed out dependency > issues where something has been added for reasons unknown. Removal leads to > breakage. > > It would be helpful if, inside a POM, it were possible to add a comment > element to a dependency. I realise this is possible as an XML comment, > however having a POM field would let documentation engines record the > comment. > > The same could be said for dependencies inside dependencyManagement. > > It would of course have the side effect of auto completion within IDEs > showing authors how to "officially" comment on the reason for that work. > > An idea. > > James >