You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Danninger (JIRA)" <ji...@apache.org> on 2016/09/28 14:01:20 UTC

[jira] [Updated] (SUREFIRE-1286) Failsafe - duplicate class in classpath (in JAR and target/classes)

     [ https://issues.apache.org/jira/browse/SUREFIRE-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Danninger updated SUREFIRE-1286:
------------------------------------------
    Summary: Failsafe - duplicate class in classpath (in JAR and target/classes)  (was: Failsafe )

> 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
>             Fix For: 2.18.1
>
>
> 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)