<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Nuxeo Compilation Error (Nuxeo Platform Annotation GWT Client) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327677#M14678</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to compile nuxeo using as a guide the documentation described here: &lt;A href="http://doc.nuxeo.com/display/public/CORG/Getting+the+Nuxeo+source+code" target="test_blank"&gt;http://doc.nuxeo.com/display/public/CORG/Getting+the+Nuxeo+source+code&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However I am not able to run the following command sucessfully: &lt;CODE&gt;mvn -DskipTests install -Paddons&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I have no idea what can be wrong. Here are the details of my workstation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

mvn -version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: C:\Maven\bin\..
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: C:\jdk1.7.0_04\jre
Default locale: pt_PT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"



&amp;gt; [ERROR] Failed to execute goal
&amp;gt; org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
&amp;gt; (default-testCompile) on project
&amp;gt; nuxeo-annot-gwt: Compilation failure
&amp;gt; [ERROR] An unknown compilation problem
&amp;gt; occurred [ERROR] -&amp;gt; [Help 1]
&amp;gt; org.apache.maven.lifecycle.LifecycleExecutionException:
&amp;gt; Failed to execute goal
&amp;gt; org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
&amp;gt; (default-testCompile) on project
&amp;gt; nuxeo-annot-gwt: Compilation failure
&amp;gt; An unknown compilation problem
&amp;gt; occurred
&amp;gt; 
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
&amp;gt;         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
&amp;gt;         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
&amp;gt;         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
&amp;gt;         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
&amp;gt;         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
&amp;gt;         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
&amp;gt;         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&amp;gt; Method)
&amp;gt;         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
&amp;gt;         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
&amp;gt;         at java.lang.reflect.Method.invoke(Method.java:601)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
&amp;gt; Caused by:
&amp;gt; org.apache.maven.plugin.compiler.CompilationFailureException:
&amp;gt; Compilation failure An unknown
&amp;gt; compilation problem occurred
&amp;gt; 
&amp;gt;         at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
&amp;gt;         at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)
&amp;gt;         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
&amp;gt;         ... 19 more [ERROR] [ERROR] [ERROR] For more information about the
&amp;gt; errors and possible solutions, please
&amp;gt; read the following articles: [ERROR]
&amp;gt; [Help 1]
&amp;gt; &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="test_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException&lt;/A&gt;
&amp;gt; [ERROR] [ERROR] After correcting the
&amp;gt; problems, you can resume the build
&amp;gt; with the command [ERROR]   mvn &amp;lt;goals&amp;gt;
&amp;gt; -rf :nuxeo-annot-gwt
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The error has almoust no information, so I am lost for a solution.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2014 17:12:01 GMT</pubDate>
    <dc:creator>Dan_Mendes</dc:creator>
    <dc:date>2014-03-12T17:12:01Z</dc:date>
    <item>
      <title>Nuxeo Compilation Error (Nuxeo Platform Annotation GWT Client)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327677#M14678</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to compile nuxeo using as a guide the documentation described here: &lt;A href="http://doc.nuxeo.com/display/public/CORG/Getting+the+Nuxeo+source+code" target="test_blank"&gt;http://doc.nuxeo.com/display/public/CORG/Getting+the+Nuxeo+source+code&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However I am not able to run the following command sucessfully: &lt;CODE&gt;mvn -DskipTests install -Paddons&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I have no idea what can be wrong. Here are the details of my workstation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

mvn -version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: C:\Maven\bin\..
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: C:\jdk1.7.0_04\jre
Default locale: pt_PT, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"



&amp;gt; [ERROR] Failed to execute goal
&amp;gt; org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
&amp;gt; (default-testCompile) on project
&amp;gt; nuxeo-annot-gwt: Compilation failure
&amp;gt; [ERROR] An unknown compilation problem
&amp;gt; occurred [ERROR] -&amp;gt; [Help 1]
&amp;gt; org.apache.maven.lifecycle.LifecycleExecutionException:
&amp;gt; Failed to execute goal
&amp;gt; org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
&amp;gt; (default-testCompile) on project
&amp;gt; nuxeo-annot-gwt: Compilation failure
&amp;gt; An unknown compilation problem
&amp;gt; occurred
&amp;gt; 
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
&amp;gt;         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
&amp;gt;         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
&amp;gt;         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
&amp;gt;         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
&amp;gt;         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
&amp;gt;         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
&amp;gt;         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
&amp;gt;         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
&amp;gt; Method)
&amp;gt;         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
&amp;gt;         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
&amp;gt;         at java.lang.reflect.Method.invoke(Method.java:601)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
&amp;gt;         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
&amp;gt; Caused by:
&amp;gt; org.apache.maven.plugin.compiler.CompilationFailureException:
&amp;gt; Compilation failure An unknown
&amp;gt; compilation problem occurred
&amp;gt; 
&amp;gt;         at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
&amp;gt;         at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)
&amp;gt;         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
&amp;gt;         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
&amp;gt;         ... 19 more [ERROR] [ERROR] [ERROR] For more information about the
&amp;gt; errors and possible solutions, please
&amp;gt; read the following articles: [ERROR]
&amp;gt; [Help 1]
&amp;gt; &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException" target="test_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException&lt;/A&gt;
&amp;gt; [ERROR] [ERROR] After correcting the
&amp;gt; problems, you can resume the build
&amp;gt; with the command [ERROR]   mvn &amp;lt;goals&amp;gt;
&amp;gt; -rf :nuxeo-annot-gwt
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The error has almoust no information, so I am lost for a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 17:12:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327677#M14678</guid>
      <dc:creator>Dan_Mendes</dc:creator>
      <dc:date>2014-03-12T17:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Compilation Error (Nuxeo Platform Annotation GWT Client)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327678#M14679</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems Maven is not using the same Java as the one you configured in your environment:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java version "1.7.0_17"
Java version: 1.7.0_04, vendor: Oracle Corporation
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That may result in an "unknown compilation problem".&lt;/P&gt;
&lt;P&gt;Check your environment variables &lt;CODE&gt;M2_HOME&lt;/CODE&gt;, &lt;CODE&gt;JAVA_HOME&lt;/CODE&gt; and &lt;CODE&gt;PATH&lt;/CODE&gt; to make sure the Maven and Java paths are consistent between them.&lt;/P&gt;
&lt;P&gt;If the issue is still present, then try to run "&lt;CODE&gt;mvn clean install -DskipTests -pl :nuxeo-annot-gwt -X&lt;/CODE&gt;" and share the output.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 02:12:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327678#M14679</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2014-03-14T02:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Compilation Error (Nuxeo Platform Annotation GWT Client)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327679#M14680</link>
      <description>&lt;P&gt;Indeed, I installed a new version of the JSK and cleaned my enviornment variables, that fixed it. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 16:33:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-compilation-error-nuxeo-platform-annotation-gwt-client/m-p/327679#M14680</guid>
      <dc:creator>Dan_Mendes</dc:creator>
      <dc:date>2014-03-14T16:33:51Z</dc:date>
    </item>
  </channel>
</rss>

