Issue 14 in alfresco-opencmis-extension: JUnit dependency declaration is wrong

9 views
Skip to first unread message

alfresco-opencmis-exte...@codespot.com

unread,
Nov 5, 2014, 9:00:44 AM11/5/14
to alfresco-open...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 14 by vampi...@gmail.com: JUnit dependency declaration is wrong
https://code.google.com/a/apache-extras.org/p/alfresco-opencmis-extension/issues/detail?id=14

Since version 0.5 you've added junit-dep as a dependency to your pom.xml.
But it is wrong by two aspects.

1. The artifactId used is junit-dep, but since version 4.11 (which you
declare) JUnit fixed their dependencies and relocated junit-dep to the
propert junit, so you should depend on the artifactId junit.

2. You do not declare the scope test for the JUnit dependency, this would
mean that a project that uses this, also gets junit transitively, or rather
has to manually exclude it again, as you declare it as a compile dependency
and not as only needed for tests.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/a/apache-extras.org/hosting/settings
Reply all
Reply to author
Forward
0 new messages