Closed tmjee closed 8 years ago
HP build requires JDK8 I think
Hi Nitsan,
Thanks for the reply. I think I'm using Oracle's JDK8, did an update-alternatives --config java
before running cmake
and mvn
The top of the maven logs looks like
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.insightfullogic:honest-profiler:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 121, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Honest Profiler 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
I think the MaxPermSize warning should means that I'm running JDK8
Any ideas what did i do wrong?
Thanks in advance guys.
The linker errors in the file snippet that you posted listed a path that was Java 7. Are you sure that you haven't got your JAVA_HOME pointing at Java 7?
The linker errors also suggest that you're missing libmawt.so
which for me is in the lib/amd64/xawt/libmawt.so
directory of the JDK. I would run something like find $JAVA_HOME -name "libmawt.so"
and if it produces no output then there's something which can best be described as weird about your JDK install ;)
Hi @tmjee,
Did you ever check up on the libmawt issue? I'm going to close this issue for now since there's been no activity on it for a month, but if the problem still persists and you've definitely got a JDK8 with libmawt.so
in then feel free to re-open ;)
Hello everyone i get this err when i run this on bash please give response mvn -DskipTests install -Paddons -T 1C [INFO] Scanning for projects... Downloading: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/build/ant-assembly-maven-plugin/2.0.5-SNAPSHOT/maven-metadata.xml Downloaded: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/build/ant-assembly-maven-plugin/2.0.5-SNAPSHOT/maven-metadata.xml (790 B at 0.1 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-api-parent/1.0/weld-api-parent-1.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-api-parent/1.0/weld-api-parent-1.0.pom (3 KB at 0.3 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/jboss/weld/weld-api-bom/1.0/weld-api-bom-1.0.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-api-bom/1.0/weld-api-bom-1.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-api-bom/1.0/weld-api-bom-1.0.pom (8 KB at 20.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/jboss/weld/weld-parent/6/weld-parent-6.pom Downloading: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-parent/6/weld-parent-6.pom Downloaded: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-parent/6/weld-parent-6.pom (21 KB at 14.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.pom Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.pom (1023 B at 1.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/build/ant-assembly-maven-plugin/2.0.5-SNAPSHOT/ant-assembly-maven-plugin-2.0.5-20160308.154057-9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/build/ant-assembly-maven-plugin/2.0.5-SNAPSHOT/ant-assembly-maven-plugin-2.0.5-20160308.154057-9.jar (155 KB at 7.8 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/ant/ant/1.9.6/ant-1.9.6.jar Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/ant/ant-launcher/1.9.6/ant-launcher-1.9.6.jar Downloading: http://maven.nuxeo.org/nexus/content/groups/public/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/ant/ant-launcher/1.9.6/ant-launcher-1.9.6.jar (18 KB at 5.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.3/org.eclipse.sisu.plexus-0.3.3.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar (147 KB at 7.9 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.3/org.eclipse.sisu.plexus-0.3.3.jar (201 KB at 10.5 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar (134 KB at 6.9 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/javax/inject/javax.inject/1/javax.inject-1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar (6 KB at 0.3 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.3/org.eclipse.sisu.inject-0.3.3.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/javax/inject/javax.inject/1/javax.inject-1.jar (3 KB at 0.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar (5 KB at 0.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar (44 KB at 1.6 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar (52 KB at 1.7 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/commons-io/commons-io/2.4/commons-io-2.4.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar (220 KB at 5.0 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar (54 KB at 1.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/commons-io/commons-io/2.4/commons-io-2.4.jar (181 KB at 3.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.3/org.eclipse.sisu.inject-0.3.3.jar (371 KB at 6.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar (43 KB at 0.7 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar (15 KB at 0.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar (27 KB at 0.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar (173 KB at 2.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/com/google/guava/guava/19.0/guava-19.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar (425 KB at 3.5 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar (66 KB at 0.5 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar (30 KB at 0.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar (169 KB at 1.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/com/google/inject/guice/4.0/guice-4.0-no_aop.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar (240 KB at 1.5 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/aopalliance/aopalliance/1.0/aopalliance-1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/aopalliance/aopalliance/1.0/aopalliance-1.0.jar (5 KB at 0.0 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar (76 KB at 0.4 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar (161 KB at 0.8 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar (11 KB at 0.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar (623 KB at 3.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-report-parser/2.19.1/surefire-report-parser-2.19.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar (10 KB at 0.0 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-api/2.19.1/surefire-api-2.19.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/com/google/inject/guice/4.0/guice-4.0-no_aop.jar (414 KB at 2.1 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/maven-surefire-common/2.19.1/maven-surefire-common-2.19.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-report-parser/2.19.1/surefire-report-parser-2.19.1.jar (62 KB at 0.3 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-booter/2.19.1/surefire-booter-2.19.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-booter/2.19.1/surefire-booter-2.19.1.jar (45 KB at 0.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/surefire-api/2.19.1/surefire-api-2.19.1.jar (192 KB at 0.9 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/freemarker/freemarker/2.3.23/freemarker-2.3.23.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.jar (37 KB at 0.2 KB/sec) Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar (44 KB at 0.2 KB/sec) Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/maven/surefire/maven-surefire-common/2.19.1/maven-surefire-common-2.19.1.jar (286 KB at 1.1 KB/sec) Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/com/google/guava/guava/19.0/guava-19.0.jar (2255 KB at 6.5 KB/sec) Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/freemarker/freemarker/2.3.23/freemarker-2.3.23.jar (1319 KB at 3.6 KB/sec) Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/org/apache/ant/ant/1.9.6/ant-1.9.6.jar (1983 KB at 3.6 KB/sec) [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Child module C:\Users\Tek PC\nuxeo\addons of C:\Users\Tek PC\nuxeo\pom.xml does not exist @ @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.nuxeo:nuxeo-ecm:8.2-SNAPSHOT (C:\Users\Tek PC\nuxeo\pom.xml) has 1 error [ERROR] Child module C:\Users\Tek PC\nuxeo\addons of C:\Users\Tek PC\nuxeo\pom.xml does not exist [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/ProjectBuildingException Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Hi @teklish,
It looks from the error on the commandline like you have some kind of maven settings file (C:\Users\Tek PC\nuxeo\pom.xml) which is causing you issues. Perhaps its a work configuration file?
Also there's no profile called addons in our maven pom so no need to specify that profile when building. For me this command results in a BUILD SUCCESS in maven.
Hi guys,
I'm getting when trying to install using
all previous steps works.
Any ideas?
Thanks