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-1175) classpathDependencyExclude config in pom ineffective
Date Thu, 03 Sep 2015 22:44:47 GMT

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

Tibor Digana commented on SUREFIRE-1175:
----------------------------------------

[~bimargulies@gmail.com]
Did you have the excluded dependencies in classpath anyway? What was your fix if you marked
the issues as resolved?

> classpathDependencyExclude config in pom ineffective
> ----------------------------------------------------
>
>                 Key: SUREFIRE-1175
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1175
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.18.1
>            Reporter: Benson Margulies
>
> I configure:
> {code}
>           <classpathDependencyExcludes>
>                         <classpathDependencyExclude>org.apache.karaf:org.apache.karaf.client</classpathDependencyExclude>
>                         <classpathDependencyExclude>org.jboss.logging:jboss-logging</classpathDependencyExclude>
>                         <classpathDependencyExclude>org.ops4j.pax.logging:pax-logging-service</classpathDependencyExclude>
>                         <classpathDependencyExclude>org.ops4j.pax.logging:pax-logging-api</classpathDependencyExclude>
>                     </classpathDependencyExcludes>
> {code}
> I see in the -X log, first:
> {noformat}
> <classpathDependencyExcludes>
>     <classpathDependencyExclude>org.apache.karaf:org.apache.karaf.client</classpathDependencyExclude>
>     <classpathDependencyExclude>org.jboss.logging:jboss-logging</classpathDependencyExclude>
>     <classpathDependencyExclude>org.ops4j.pax.logging:pax-logging-service</classpathDependencyExclude>
>     <classpathDependencyExclude>org.ops4j.pax.logging:pax-logging-api</classpathDependencyExclude>${maven.test.dependency.excludes}</classpathDependencyExcludes>
> {noformat}
> and then:
> {noformat}
> [DEBUG]   (s) classpathDependencyExcludes = [org.apache.karaf:org.apache.karaf.client,
org.jboss.logging:jboss-logging, org.ops4j.pax.logging:pax-logging-service, org.ops4j.pax.logging:pax-logging-api]
> {noformat}
> but then I get:
> {noformat}
> LF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/Users/benson/.m2/repository/org/apache/karaf/org.apache.karaf.client/4.0.1/org.apache.karaf.client-4.0.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/Users/benson/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.8.3/pax-logging-api-1.8.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/Users/benson/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message