maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1286) Failsafe - duplicate class in classpath (in JAR and target/classes)
Date Sat, 03 Dec 2016 07:34:58 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15717630#comment-15717630
] 

Tibor Digana commented on SUREFIRE-1286:
----------------------------------------

[~cdanninger]
[~cdanningerCV]
[~christian.danninger@comvel.de]
Can you check it out with current Version {{2.19.2-SNAPSHOT}} due to now the manifest is expected,
see this:

{noformat}
Manifest-Version: 1.0
Class-Path: file:/D:/.m2/repository/org/apache/maven/surefire/surefire
 -booter/2.19.2-SNAPSHOT/surefire-booter-2.19.2-SNAPSHOT.jar file:/D:/
 .m2/repository/org/apache/maven/surefire/surefire-api/2.19.2-SNAPSHOT
 /surefire-api-2.19.2-SNAPSHOT.jar file:/D:/.m2/repository/org/apache/
 maven/surefire/surefire-logger-api/2.19.2-SNAPSHOT/surefire-logger-ap
 i-2.19.2-SNAPSHOT.jar file:/D:/vcs/github/maven-surefire/SUREFIRE-128
 6.zip/pom-1286/integration-test/target/test-classes/ file:/D:/vcs/git
 hub/maven-surefire/SUREFIRE-1286.zip/pom-1286/integration-test/target
 /integration-test-0.0.1-SNAPSHOT.jar file:/D:/.m2/repository/junit/ju
 nit/4.12/junit-4.12.jar file:/D:/.m2/repository/org/hamcrest/hamcrest
 -core/1.3/hamcrest-core-1.3.jar file:/D:/.m2/repository/org/apache/ma
 ven/surefire/surefire-junit4/2.19.2-SNAPSHOT/surefire-junit4-2.19.2-S
 NAPSHOT.jar
Main-Class: org.apache.maven.surefire.booter.ForkedBooter
{noformat}

> 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
>             Fix For: 2.19.2
>
>         Attachments: SUREFIRE-1286.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)

Mime
View raw message