[
https://issues.apache.org/jira/browse/CAMEL-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027715#comment-14027715
]
Willem Jiang edited comment on CAMEL-7497 at 6/11/14 1:09 PM:
--------------------------------------------------------------
This is caused by camel-spring-test and camel-test are exports the same package
of "org.apache.camel.test.junit4".
As the org.apache.camel.test.junit4.CamelSpringJUnit4ClassRunner and
org.apache.camel.test.junit4.CamelSpringTestSupport were derecated since
camel-2.11.0, it should be safe for us to remove them in camel-2.14.0 now.
was (Author: njiang):
This is caused by camel-spring-test and camel-test are exports the same package
of "org.apache.camel.test.junit4".
As the org.apache.camel.test.junit4.CamelSpringJUnit4ClassRunner and
org.apache.camel.test.junit4.CamelSpringTestSupport were derecated since
camel-2.11.0, it should be safe for us to remove them now.
> Duplicate classes
> ------------------
>
> Key: CAMEL-7497
> URL: https://issues.apache.org/jira/browse/CAMEL-7497
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.13.1
> Reporter: Paul D Johe
> Priority: Minor
>
> It looks like there are duplicate classes between the camel-test and
> camel-test-spring artifacts:
> {code}
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BanDuplicateClasses
> failed with message:
> Duplicate classes found:
> Found in:
> org.apache.camel:camel-test:jar:2.13.1:test
> org.apache.camel:camel-test-spring:jar:2.13.1:test
> Duplicate classes:
> org/apache/camel/test/junit4/CamelTestSupport$1.class
> org/apache/camel/test/junit4/CamelTestSupport$4.class
> org/apache/camel/test/junit4/CamelTestSupport$2.class
> org/apache/camel/test/junit4/CamelTestSupport$DebugBreakpoint.class
> org/apache/camel/test/junit4/LanguageTestSupport.class
> org/apache/camel/test/junit4/CamelTestSupport.class
> org/apache/camel/test/junit4/TestSupport.class
> org/apache/camel/test/junit4/ExchangeTestSupport.class
> org/apache/camel/test/junit4/CamelTestSupport$3.class
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)