Problem during build #3

Open
khmarbaise opened this Issue Apr 9, 2011 · 0 comments

Comments

Projects
None yet
1 participant

I have tried to remove a warning

INFO] ------------------------------------------------------------------------
[INFO] Building Maven Cookbook Examples 0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mcookbook-examples ---
[INFO] Deleting /home/kama/ws-git/maven-cookbook/mcookbook-examples/target
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ mcookbook-examples ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/kama/ws-git/maven-cookbook/mcookbook-examples/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mcookbook-examples ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ mcookbook-examples ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/kama/ws-git/maven-cookbook/mcookbook-examples/src/test/resources
[INFO] 

during the build via adding

 <project.reporting.outputEncoding>>UTF-8</project.reporting.outputEncoding>
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

but this results in an error message and a failing build:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.865s
[INFO] Finished at: Sat Apr 09 16:49:16 CEST 2011
[INFO] Final Memory: 11M/209M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.7:generate-html (generate-html) on project mcookbook-html: A type incompatibility occured while executing com.agilejava.docbkx:docbkx-maven-plugin:2.0.7:generate-html: java.lang.String cannot be cast to java.util.Map
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.agilejava.docbkx:docbkx-maven-plugin:2.0.7
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/kama/.m2/repository/com/agilejava/docbkx/docbkx-maven-plugin/2.0.7/docbkx-maven-plugin-2.0.7.jar
[ERROR] urls[1] = file:/home/kama/.m2/repository/docbook/docbook-xml/4.5/docbook-xml-4.5.jar
[ERROR] urls[2] = file:/home/kama/.m2/repository/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar
[ERROR] urls[3] = file:/home/kama/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
[ERROR] urls[4] = file:/home/kama/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[ERROR] urls[5] = file:/home/kama/.m2/repository/fop/fop/0.20.5/fop-0.20.5.jar

so i tried to update the docbkx:docbkx-maven-plugin dependency from 2.0.7 to 2.0.8 or 2.0.12 but this does not solve the problem and produces other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment