On 2017-10-15, Bruno P. Kinoshita wrote:

> I may be doing something wrong, but the site generation with `mvn
> clean site` appears to be failing

[snip]

> With:

> (...)
> [INFO] Loading execution data file 
> /home/kinow/Development/java/apache/commons-compress/target/jacoco.exec
> [INFO] Generating "japicmp" report              --- 
> japicmp-maven-plugin:0.9.3:cmp-report
> [debug] No packaging support defined, no filtering
> [debug] Searching for versions in versionRange: (,1.15)
> [debug] Parameter <oldVersionPattern> not configured, i.e. no version 
> filtered.
> [warn] No new version specified and file 
> '/home/kinow/Development/java/apache/commons-compress/target/classes' of 
> artifact could not be opened as jar archive: 
> /home/kinow/Development/java/apache/commons-compress/target/classes (Is a 
> directory)

https://github.com/apache/commons-compress/blob/master/BUILDING.md#building-the-site

:-)

japicmp only works properly if it can find a jar, so you need to run the
package goal together with the site goal. So the magic incantation is

mvn package site -Pjacoco

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to