[ https://issues.apache.org/jira/browse/SUREFIRE-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-1286. ---------------------------------- Resolution: Cannot Reproduce After added 20 sec delay the folder target/surefire contains classPathUrl.x without content of class/jar duplicate. I run cd pom-1286 ; mvn install and could not reproduce the issue. I run cd integration-test; mvn install and again could not reproduce it. Having a look at failsafe plugin and not surefire run. > Failsafe - duplicate class in classpath (in JAR and target/classes) > ------------------------------------------------------------------- > > Key: SUREFIRE-1286 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1286 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Failsafe Plugin > Affects Versions: 2.19.1 > Environment: Maven 3.3.9 > Java 8 > Reporter: Christian Danninger > Assignee: Tibor Digana > Attachments: SUREFIRE-1286.zip, SUREFIRE-1286.zip.zip > > > I'm not sure if it is releated to SUREFIRE-855. But with version 2.19.1 I got > a class twice on my classpath (work fine with version 2.18.1). One in the > maven module JAR and one in target/classes. This is an issue due the fact I'm > using CDI (WELD). > This is was my classpath is looking like (taken from > integration-test/target/surefire/surefire5166061968440405040tmp): > {code}#surefire > #Wed Sep 28 15:54:06 CEST 2016 > tc.1=x.productdb.client.v2.ProductDBClientSolrImplTestIT > tc.0=x.productdb.client.v2.HotelDataSolrImplTestIT > classPathUrl.0=/Users/xxx/dev/git/lib/xx/integration-test/target/classes > classPathUrl.1=/Users/xxx/dev/git/lib/xx/integration-test/target/integration-test-2.0.0-SNAPSHOT.jar > {code} > Location of TestSolrConfiguration.class: > ./target/integration-test-2.0.0-SNAPSHOT.jar > ./target/classes/de/comvel/productdb/test/TestSolrConfiguration.class -- This message was sent by Atlassian JIRA (v6.3.4#6332)