I am completely new to maven.
I am trying to do a coverage analysis of the test in robocode. For that I am using clover (trial license) since emma doesn't seem to able to handle multi-module projects very well.
Unfortunately, when it gets to the robocode.test.robots module i get the error:
[ERROR] BUILD ERROR
[INFO] Unknown archiver type
Embedded error: No such archiver: 'api/target/classes'.
I have tried Googling the problem but I haven't found examples using the same tag as the one in the pom file I have.
Here is the pom file (I only added the clover plugin part):
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>robocode</artifactId>
<groupId>net.sf.robocode</groupId>
<version>${robocode.version}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.robocode</groupId>
<artifactId>robocode.tests.robots</artifactId>
<version>${robocode.version}</version>
<name>Robocode tested robots</name>
<dependencies>
<dependency>
<groupId>net.sf.robocode</groupId>
<artifactId>robocode.api</artifactId>
<version>${robocode.version}</version>
</dependency>
<dependency>
<groupId>net.sf.robocode</groupId>
<artifactId>robocode.samples</artifactId>
<version>${robocode.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>test</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includes>sample*/**</includes>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
As far as I understand it the problem lies in the unpack-dependencies part.