mulesoft/mule-devkit — Issue #111: Encoding errors in build using devkit
Author: pose
Created: 2012-03-04 19:14:32+00:00
State: open
Labels: BUG

I am getting the following encoding error while building a devkit module:

13-Feb-2012 15:47:29 [INFO] --- mule-devkit-maven-plugin:3.2:attach-test-resources (default-attach-test-resources) @ mule-module-data-mapper ---
13-Feb-2012 15:47:29 [INFO] Attaching test resource /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/app
13-Feb-2012 15:47:29 [INFO]
13-Feb-2012 15:47:29 [INFO] --- mule-devkit-maven-plugin:3.2:generate-sources (default-generate-sources) @ mule-module-data-mapper ---
13-Feb-2012 15:47:29 [INFO] Source directory: /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/target/generated-sources/mule added
13-Feb-2012 15:47:29 [INFO] Resource directory: /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/target/generated-sources/mule added
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:38: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author J??n Michalica
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:38: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author J??n Michalica
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 /opt/j2ee/domains/ee.mulesource.com/dev/bamboo-staging/webapps/atlassian-bamboo/data/atlassian-bamboo-3.3.2/xml-data/build-dir/DM-CORE-JOB1/src/main/java/com/mulesoft/mule/datamapper/DataMapperModule.java:39: warning: unmappable character for encoding ASCII
13-Feb-2012 15:47:29 * @author Luk???? Krej????
13-Feb-2012 15:47:29 ^
13-Feb-2012 15:47:29 [INFO] Searching for classes annotated with @Module
13-Feb-2012 15:47:29 [INFO] Validating DataMapperModule class
13-Feb-2012 15:47:29 log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
13-Feb-2012 15:47:29 log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
13-Feb-2012 15:47:29 log4j:ERROR [com.sun.tools.javac.util.CloseableURLClassLoader@39c9eaf8] whereas object of type
13-Feb-2012 15:47:29 log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [ClassRealm[plugin>org.mule.tools.devkit:mule-devkit-maven-plugin:3.2, parent: sun.misc.Launcher$AppClassLoader@535ff48b]].
13-Feb-2012 15:47:29 log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
13-Feb-2012 15:47:29 [INFO] Generating code for DataMapperModule class
13-Feb-2012 15:47:29 [INFO] Generating config element definition parser as com.mulesoft.mule.datamapper.config.spring.DataMapperModuleConfigDefinitionParser for class DataMapperModule
13-Feb-2012 15:47:29 [INFO] Generating bean definition parser as com.mulesoft.mule.datamapper.config.spring.TransformDefinitionParser for message processor com.mulesoft.mule.datamapper.config.TransformMessageProcessor
13-Feb-2012 15:47:29 [INFO] Generating bean definition parser as com.mulesoft.mule.datamapper.config.spring.TransformPipeDefinitionParser for message processor com.mulesoft.mule.datamapper.config.TransformPipeMessageProcessor
13-Feb-2012 15:47:29 [INFO] Generating message processor as com.mulesoft.mule.datamapper.config.TransformMessageProcessor for method transform in DataMapperModule
13-Feb-2012 15:47:29 [INFO] Generating message processor as com.mulesoft.mule.datamapper.config.TransformPipeMessageProcessor for method transformPipe in DataMapperModule
13-Feb-2012 15:47:29 [WARNING] The following options were not recognized by any processor: '[skipStudioPluginPackage]'

I have already set:

UTF-8

and also:

org.apache.maven.plugins
maven-resources-plugin
2.5

UTF-8

But nothing happens.

I am using Maven 3.0.3.

Thanks in advance