git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [parent] Problem with japicmp when building site of [configuration]


I haven’t seen that one before. Let me see what happens when I run it.

-Rob

> On Jun 10, 2018, at 4:10 PM, Oliver Heger <oliver.heger@xxxxxxxxxxxxxxx> wrote:
> 
> Hi all,
> 
> I tried to update the pom of [configuration] to commons-parent 46. When
> I build the site I get the error below.
> 
> [configuration] has a number of dependencies marked marked as
> <optional>true</optional>. These are obviously not added to the
> classpath. I tried to follow the suggestion in the error message to
> ignore missing classes by setting the property
> commons.japicmp.ignoreMissingClasses to true, but this does not have an
> effect.
> 
> Any ideas how to fix this? Here is my Maven configuration:
> $ mvn --version
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T17:41:47+01:00)
> Maven home: C:\data\dev\tools\apache-maven-3.3.9
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_144\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
> 
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.7:site (default-site) on
> project commons-configuration2: Error generating
> japicmp-maven-plugin:0.11.1:cmp-report report: Failed to generate
> report: Could not load 'Class not found:
> org.apache.commons.jxpath.ri.model.NodeIterator':
> org.apache.commons.jxpath.ri.model.NodeIterator. Please make sure that
> all libraries have been added to the classpath
> (CLASSPATH=;C:\Users\hacker\.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\hacker\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\hacker\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar;C:\Users\hacker\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\Users\hacker\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;)
> or try the option '--ignore-missing-classes'. -> [Help 1]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx