-
1. Re: Unknown artifact type[test-jar] with Infinispan 5.2.5.Final
pramajaya Oct 1, 2013 4:10 AM (in response to kovica1)Hi kovica1,
Try this:
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-core</artifactId>
<version>${infinispan.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-cdi</artifactId>
<version>${infinispan.version}</version>
<scope>provided</scope>
</dependency>
Hope it help. Because I experience the same, and it worked that way.
-
2. Re: Unknown artifact type[test-jar] with Infinispan 5.2.5.Final
sanjay05222 Dec 6, 2017 1:54 PM (in response to pramajaya)I ran the maven in debug mode and I can see that why this is failing, org.jboss.jbossas:jboss-as-j2se=org.jboss.jbossas:jboss-as-j2se:test-jar:tests:5.1.0.GA:compile , this transitive dependency get added but looks like that there is not any tests:5.10.GA , if you exclude this transitive dependency you will not get the error anymore .
Check the dependency Hierarchy , I was using JBOSS EAP 6.4.X version BOM in my maven.