2 Replies Latest reply on Dec 6, 2017 1:54 PM by SANJAY GAUTAM

    Unknown artifact type[test-jar] with Infinispan 5.2.5.Final

    Gregor Kovač Newbie

      I'm trying to use infinispan-core and infinispan-cdi, both versions 5.2.5.Final in my maven based JEE 6 application.

      When I build it I get this error:

      Reactor Summary:

       

       

      TestInfinispan .................................... SUCCESS [0.493s]

      TestInfinispan-lib ................................ SUCCESS [2.236s]

      TestInfinispan-ejb ................................ SUCCESS [1.370s]

      TestInfinispan-ear ................................ FAILURE [0.160s]

      ------------------------------------------------------------------------

      BUILD FAILURE

      ------------------------------------------------------------------------

      Total time: 4.401s

      Finished at: Thu Apr 04 15:58:49 CEST 2013

      Final Memory: 29M/342M

      ------------------------------------------------------------------------

      Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.8:generate-application-xml (default-generate-application-xml) on project TestInfinispan-ear: Failed to initialize ear modules: Unknown artifact type[test-jar] -> [Help 1]

       

       

      To see the full stack trace of the errors, re-run Maven with the -e switch.

      Re-run Maven using the -X switch to enable full debug logging.

       

       

      For more information about the errors and possible solutions, please read the following articles:

      [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

       

       

      After correcting the problems, you can resume the build with the command

        mvn <goals> -rf :TestInfinispan-ear

       

      This does not happen on 5.1.8.Final.

       

      I've also attached a sample application to demonstrate the error.