Native2Ascii is a maven plugin, but it may well not be compatible with
Java 7, or you might be using a non-Oracle jdk.  Generally we
recommend openjdk or oracle.

I suggest you try the ant build.  I believe ant implemented their own
native2ascii converter without relying on the sun/oracle proprietary
classes.

Karl

On Wed, Dec 12, 2012 at 3:48 PM, Arcadius Ahouansou
<[email protected]> wrote:
>
> Hello.
>
> I have tried to build both trunk and the 1.01 tag on java 1.7.0_04-b22
> without luck.
>
> The error is:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ManifoldCF - Framework - UI Core 1.0
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ mcf-ui-core
> ---
> [INFO]
> [INFO] --- native2ascii-maven-plugin:1.0-alpha-1:native2ascii
> (native2ascii-utf8) @ mcf-ui-core ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ManifoldCF ........................................ SUCCESS [4.024s]
> [INFO] ManifoldCF - Framework ............................ SUCCESS [0.061s]
> [INFO] ManifoldCF - Framework - Core ..................... SUCCESS [6.795s]
> [INFO] ManifoldCF - Framework - UI Core .................. FAILURE [1.453s]
> [INFO] ManifoldCF - Framework - Agents ................... SKIPPED
> [INFO] ManifoldCF - Framework - Pull Agent ............... SKIPPED
> [INFO] ManifoldCF - Framework - Authority Servlet ........ SKIPPED
> [INFO] ManifoldCF - Framework - API Servlet .............. SKIPPED
> [INFO] ManifoldCF - Framework - Authority Service ........ SKIPPED
> [INFO] ManifoldCF - Framework - API Service .............. SKIPPED
> [INFO] ManifoldCF - Framework - Crawler UI ............... SKIPPED
> [INFO] ManifoldCF - Framework - Script Engine ............ SKIPPED
> [INFO] ManifoldCF - Connectors ........................... SKIPPED
> [INFO] ManifoldCF - Connectors - Active Directory ........ SKIPPED
> [INFO] ManifoldCF - Connectors - Filesystem .............. SKIPPED
> [INFO] ManifoldCF - Connectors - MetaCarta GTS ........... SKIPPED
> [INFO] ManifoldCF - Connectors - jCIFS ................... SKIPPED
> [INFO] ManifoldCF - Connectors - JDBC .................... SKIPPED
> [INFO] ManifoldCF - Connectors - Null Authority .......... SKIPPED
> [INFO] ManifoldCF - Connectors - Null Output ............. SKIPPED
> [INFO] ManifoldCF - Connectors - RSS ..................... SKIPPED
> [INFO] ManifoldCF - Connectors - SharePoint .............. SKIPPED
> [INFO] ManifoldCF - Connectors - Solr .................... SKIPPED
> [INFO] ManifoldCF - Connectors - Web ..................... SKIPPED
> [INFO] ManifoldCF - Connectors - CMIS .................... SKIPPED
> [INFO] ManifoldCF - Connectors - OpenSearchServer ........ SKIPPED
> [INFO] ManifoldCF - Connectors - Wiki .................... SKIPPED
> [INFO] ManifoldCF - Connectors - Alfresco ................ SKIPPED
> [INFO] ManifoldCF - Connectors - ElasticSearch ........... SKIPPED
> [INFO] ManifoldCF - Test materials ....................... SKIPPED
> [INFO] ManifoldCF - Test Materials - Alfresco WAR ........ SKIPPED
> [INFO] ManifoldCF - Framework - Jetty Runner ............. SKIPPED
> [INFO] ManifoldCF - Tests ................................ SKIPPED
> [INFO] ManifoldCF - Test - ElasticSearch ................. SKIPPED
> [INFO] ManifoldCF - Test - Alfresco ...................... SKIPPED
> [INFO] ManifoldCF - Test - Wiki .......................... SKIPPED
> [INFO] ManifoldCF - Test - CMIS .......................... SKIPPED
> [INFO] ManifoldCF - Test - Filesystem .................... SKIPPED
> [INFO] ManifoldCF - Test - Sharepoint .................... SKIPPED
> [INFO] ManifoldCF - Test - RSS ........................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15.711s
> [INFO] Finished at: Wed Dec 12 20:34:41 GMT 2012
> [INFO] Final Memory: 14M/34M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
> (native2ascii-utf8) on project mcf-ui-core: Execution native2ascii-utf8 of
> goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
> failed: Error starting Sun's native2ascii: sun.tools.native2ascii.Main ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :mcf-ui-core
>
>
>
> It seems to have to do with native2ascii.
>
> Thanks.
>
> Arcadius.

Reply via email to