[infinispan-issues] [JBoss JIRA] (ISPN-7760) Class files being overwritten during the build
Sanne Grinovero (JIRA)
issues at jboss.org
Mon Apr 24 06:38:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero updated ISPN-7760:
----------------------------------
Status: Open (was: New)
> Class files being overwritten during the build
> ----------------------------------------------
>
> Key: ISPN-7760
> URL: https://issues.jboss.org/browse/ISPN-7760
> Project: Infinispan
> Issue Type: Bug
> Components: Build process
> Reporter: Sanne Grinovero
> Assignee: Tristan Tarrant
> Priority: Critical
>
> Building the maven shaded {{infinispan-embedded}} the following warnings seem critical:
> {noformat}
> [WARNING] infinispan-core-9.1.0-SNAPSHOT.jar, infinispan-commons-9.1.0-SNAPSHOT.jar define 4 overlapping classes:
> [WARNING] - org.infinispan.util.AbstractDelegatingCollection
> [WARNING] - org.infinispan.util.AbstractDelegatingConcurrentMap
> [WARNING] - org.infinispan.util.AbstractDelegatingMap
> [WARNING] - org.infinispan.util.AbstractDelegatingSet
> {noformat}
> These seem concerning as well:
> {noformat}
> [WARNING] infinispan-cdi-embedded-9.1.0-SNAPSHOT.jar, infinispan-cdi-common-9.1.0-SNAPSHOT.jar define 53 overlapping classes:
> [WARNING] - org.infinispan.cdi.common.util.ParameterValueRedefiner
> [WARNING] - org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotatedConstructorImpl
> [WARNING] - org.infinispan.cdi.common.util.Annotateds$AnnotatedFieldComparator
> [WARNING] - org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotatedTypeImpl
> [WARNING] - org.infinispan.cdi.common.util.Annotateds$AnnotatedConstructorComparator
> [WARNING] - org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotatedMethodImpl
> [WARNING] - org.infinispan.cdi.common.util.ContextualReference
> [WARNING] - org.infinispan.cdi.common.util.AbstractImmutableBean
> [WARNING] - org.infinispan.cdi.common.util.ImmutableInjectionPoint
> [WARNING] - org.infinispan.cdi.common.util.Annotateds$MethodComparator
> [WARNING] - 43 more...
> [WARNING] maven-shade-plugin has detected that some class files are
> [WARNING] present in two or more JARs. When this happens, only one
> [WARNING] single version of the class is copied to the uber jar.
> [WARNING] Usually this is not harmful and you can skip these warnings,
> [WARNING] otherwise try to manually exclude artifacts based on
> [WARNING] mvn dependency:tree -Ddetail=true and the above output.
> [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list