YCSB Maven build error - java

I cloned YSCB git and modified pom.xml in \hbase folder for pointing to right version of my HBase and Hadoop. After that, I was trying to make YCSB package using `mvn clean package', but I get following errors which I'm not able to resolve.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building HBase DB Binding 0.1.4
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.hadoop:hadoop-core:jar:2.4.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] YCSB Root .......................................... SUCCESS [ 0.954 s]
[INFO] Core YCSB .......................................... SUCCESS [ 19.117 s]
[INFO] Cassandra DB Binding ............................... SUCCESS [ 10.728 s]
[INFO] HBase DB Binding ................................... FAILURE [ 0.260 s]
[INFO] Hypertable DB Binding .............................. SKIPPED
[INFO] Accumulo DB Binding ................................ SKIPPED
[INFO] DynamoDB DB Binding ................................ SKIPPED
[INFO] ElasticSearch Binding .............................. SKIPPED
[INFO] Infinispan DB Binding .............................. SKIPPED
[INFO] JDBC DB Binding .................................... SKIPPED
[INFO] Mapkeeper DB Binding ............................... SKIPPED
[INFO] Mongo DB Binding ................................... SKIPPED
[INFO] OrientDB Binding ................................... SKIPPED
[INFO] Redis DB Binding ................................... SKIPPED
[INFO] Voldemort DB Binding ............................... SKIPPED
[INFO] YCSB Release Distribution Builder .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.309 s
[INFO] Finished at: 2015-02-27T08:30:30+00:00
[INFO] Final Memory: 53M/934M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hbase-binding: Could not resolve dependencies for project com.yahoo.ycsb:hbase-binding:jar:0.1.4: Failure to find org.apache.hadoop:hadoop-core:jar:2.4.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-binding
I'm using HBase version 0.94.18 & Hadoop 2.4.0. Any suggestions on how to resolve it?

Have you changed the hbase and hadoop versions in the hbase pom.xml file.
Also check whether the required jar is available at the repository you have used https://repo.maven.apache.org/maven2
If you are using YCSB only for hbase i would suggest removing the unwanted modules from the pom file this will reduce the time taken to build.

Related

Failed to execute goal on project Siafu: Could not resolve dependencies for project Siafu:Siafu:jar:1.0.6-SNAPSHOT

Siafu is a context simulator
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MavenParent ........................................ SUCCESS [ 0.004 s]
[INFO] Siafu Simulator .................................... FAILURE [01:27 min]
[INFO] Siafu datatypes library ............................ SKIPPED
[INFO] Simulation-Glasgow ................................. SKIPPED
[INFO] Simulation-Leimen .................................. SKIPPED
[INFO] Simulation-Office .................................. SKIPPED
[INFO] Simulation-Testland ................................ SKIPPED
[INFO] Simulation-Valencia ................................ SKIPPED
[INFO] Simulations ........................................ SKIPPED
[INFO] SiafuAggregator .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:27 min
[INFO] Finished at: 2017-04-24T15:45:12+08:00
[INFO] Final Memory: 10M/91M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project Siafu: Could not resolve dependencies for project Siafu:Siafu:jar:1.0.6-SNAPSHOT:
Failed to collect dependencies at org.eclipse.swt:org.eclipse.swt.gtk.linux.x86:jar:3.8:
Failed to read artifact descriptor for org.eclipse.swt:org.eclipse.swt.gtk.linux.x86:jar:3.8:
Could not transfer artifact org.eclipse.swt:org.eclipse.swt.gtk.linux.x86:pom:3.8 from/to swt-repo (https://swt-repo.googlecode.com/svn/repo/): Network is unreachable (connect failed) -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf
Please give me some help to solve this problem,thanks!

Cannot build Storm for the storm-starter example

I am a complete newbie with Apache storm. I tried to follow the storm-starter. I cloned the repository, and then I tried to build and install locally storm. Unfortunately I cannot even do that. The storm-metrics jar cannot be built
[INFO] ------------------------------------------------------------------------
[INFO] Building storm-metrics 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # storm-metrics ---
[INFO] Deleting /Users/apple/storm/external/storm-metrics/target
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (cleanup) # storm-metrics ---
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (prepare) # storm-metrics ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
[echo] Downloading sigar native binaries...
[get] Getting: https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip
[get] To: /var/root/.m2/repository/org/fusesource/sigar/1.6.4/hyperic-sigar-1.6.4.zip
[get] Error opening connection java.io.FileNotFoundException: https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip
[get] Error opening connection java.io.FileNotFoundException: https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip
[get] Error opening connection java.io.FileNotFoundException: https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip
[get] Can't get https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip to /var/root/.m2/repository/org/fusesource/sigar/1.6.4/hyperic-sigar-1.6.4.zip
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] storm-metrics ...................................... FAILURE [ 2.818 s]
[INFO] storm-cassandra .................................... SKIPPED
[INFO] storm-mqtt-parent .................................. SKIPPED
[INFO] storm-mqtt ......................................... SKIPPED
[INFO] storm-mqtt-examples ................................ SKIPPED
[INFO] storm-mongodb ...................................... SKIPPED
[INFO] storm-clojure ...................................... SKIPPED
[INFO] storm-starter ...................................... SKIPPED
[INFO] storm-kafka-client ................................. SKIPPED
[INFO] storm-opentsdb ..................................... SKIPPED
[INFO] storm-kafka-monitor ................................ SKIPPED
[INFO] storm-kinesis ...................................... SKIPPED
[INFO] storm-druid ........................................ SKIPPED
[INFO] storm-submit-tools ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.867 s
[INFO] Finished at: 2016-08-31T11:52:45+01:00
[INFO] Final Memory: 26M/270M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (prepare) on project storm-metrics: An Ant BuildException has occured: Can't get https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip to /var/root/.m2/repository/org/fusesource/sigar/1.6.4/hyperic-sigar-1.6.4.zip -> [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/MojoExecutionException
I have no idea how to fix this. I tried to follow the link : https://magelan.googlecode.com/files/hyperic-sigar-1.6.4.zip but indeed there is nothing on this page.
So I have been stuck on this for like 4 hours, I cannot even run a topology yet... Please help :(
It seems like the download link for hyperic-sigar-1.6.4.zip has changed to
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/magelan/hyperic-sigar-1.6.4.zip
Try to do the following:
In the file external/storm-metrics/pom.xml set the entry for <sigar.download.url> to <sigar.download.url>https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/magelan/hyperic-sigar-${sigar.version}.zip</sigar.download.url> and then re-run mvn clean install -DskipTests=true
In my case I grepped for all occurrences of the old download link and replaced them with the new link, but I guess this should not be necessary as all the other places where the link occurred were generated in the build process. Replacing the link worked for me. It is also weird, that the link already is corrected in their GitHub repository, but is not, when you download it as a zip file from GitHub.
Below existing issue link :
https://github.com/apache/storm/commit/ef3c4de133528d04f76a43a0e87e72cea19e173e
I tried to build with latest storm-starter clone and it's working fine. Update your repository and try again. Should work fine.

mvn clean install fails for PL/Java on Postgres 9.5

I am working on installing PL/Java on Postgres 9.5.
My setup is Postgres 9.5 on Centos 6.5 with Oracle-Java JDK 1.8.0_92
My install of Postgres was done from these yum-packages:
postgresql95
postgresql95-devel
postgresql95-libs
postgresql95-server
I list below a summary of my steps so far:
su - postgres
git clone https://github.com/tada/pljava
git checkout V1_5_0
mvn clean install
That seemed to work until I saw this:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL PL/Java ................................. SUCCESS [ 16.707 s]
[INFO] PL/Java API ........................................ SUCCESS [ 8.771 s]
[INFO] PL/Java backend Java code .......................... SUCCESS [ 4.000 s]
[INFO] PL/Java backend native code ........................ FAILURE [ 13.560 s]
[INFO] PL/Java Deploy ..................................... SKIPPED
[INFO] PL/Java Ant tasks .................................. SKIPPED
[INFO] PL/Java examples ................................... SKIPPED
[INFO] PL/Java packaging .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52.707 s
[INFO] Finished at: 2016-07-06T18:09:40-07:00
[INFO] Final Memory: 38M/222M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.maven-nar:nar-maven-plugin:3.2.3:nar-compile
(default-nar-compile) on project pljava-so: NAR: Compile failed: gcc
failed with return code 1 -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :pljava-so
I would welcome any clues and/or opinions about how to best debug this so that mvn clean install will run error free.
I ran a shell command from root to fix it:
yum install openssl-devel
That fixed it. Yay!

Californium build failure using maven

I am trying to build the Californium repository https://github.com/eclipse/californium using maven. Typing "mvn clean install" gives the following output:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.californium:californium-core:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. # line 29, column 18
[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] Reactor Build Order:
[INFO]
[INFO] Californium (Cf) Root
[INFO] Californium (Cf) Core
[INFO] Californium (Cf) Proxy
[INFO] Californium (Cf) OSGi Bundle
[INFO] Cf-PlugtestClient
[INFO] Cf-PlugtestChecker
[INFO] Cf-PlugtestServer
[INFO] Cf-HelloWorldClient
[INFO] Cf-HelloWorldServer
[INFO] Cf-SecureServer
[INFO] Cf-ExampleCrossProxy
[INFO] Cf Benchmark Server
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Californium (Cf) Root 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.californium:element-connector:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Californium (Cf) Root ............................. FAILURE [0.097s]
[INFO] Californium (Cf) Core ............................. SKIPPED
[INFO] Californium (Cf) Proxy ............................ SKIPPED
[INFO] Californium (Cf) OSGi Bundle ...................... SKIPPED
[INFO] Cf-PlugtestClient ................................. SKIPPED
[INFO] Cf-PlugtestChecker ................................ SKIPPED
[INFO] Cf-PlugtestServer ................................. SKIPPED
[INFO] Cf-HelloWorldClient ............................... SKIPPED
[INFO] Cf-HelloWorldServer ............................... SKIPPED
[INFO] Cf-SecureServer ................................... SKIPPED
[INFO] Cf-ExampleCrossProxy .............................. SKIPPED
[INFO] Cf Benchmark Server ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.894s
[INFO] Finished at: Thu Jun 26 18:29:52 CEST 2014
[INFO] Final Memory: 6M/109M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project root: Could not resolve dependencies for project org.eclipse.californium:root:pom:1.0.0-SNAPSHOT: Could not find artifact org.eclipse.californium:element-connector:jar:1.0-SNAPSHOT -> [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/DependencyResolutionException
I tried different things but still Idon't know how to fix this errors and go on with my work. Can anyone help me?
MORE INFO:
Downloding and installing (mvn clean install) Californium Element Connector https://github.com/eclipse/californium.element-connector.git brings the build of Californium a little farther, but there are still some dependencies missing. I think that one of these is californium Scandium, but after I downloaded it, I found out that it also has some building problems...
Actually, all I want to use is the repo caled californium.tools (https://github.com/eclipse/californium.tools), which is based on Californium. I checked the pom.xml of californium.tools, and it already includes the required dependencies. However,when I build, I get the following errors:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Californium (Cf) Tools
[INFO] Cf-ConsoleClient
[INFO] Cf-GUIClient
[INFO] Cf-CoAPBench
[INFO] Cf-ExampleServer
[INFO] Cf-ResourceDirectory
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Californium (Cf) Tools 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # tools ---
[INFO] Deleting file set: /home/ceccog/californium.tools/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) # tools ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/ceccog/californium.tools/target/tools-1.0.0-SNAPSHOT-tests.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) # tools >>>
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) # tools <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) # tools ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) # tools ---
[INFO] Installing /home/ceccog/californium.tools/pom.xml to /home/ceccog/.m2/repository/org/eclipse/californium/tools/1.0.0-SNAPSHOT/tools-1.0.0-SNAPSHOT.pom
[INFO] Installing /home/ceccog/californium.tools/target/tools-1.0.0-SNAPSHOT-tests.jar to /home/ceccog/.m2/repository/org/eclipse/californium/tools/1.0.0-SNAPSHOT/tools-1.0.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Cf-ConsoleClient 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.californium:scandium:jar:1.0.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Californium (Cf) Tools ............................ SUCCESS [0.886s]
[INFO] Cf-ConsoleClient .................................. FAILURE [0.078s]
[INFO] Cf-GUIClient ...................................... SKIPPED
[INFO] Cf-CoAPBench ...................................... SKIPPED
[INFO] Cf-ExampleServer .................................. SKIPPED
[INFO] Cf-ResourceDirectory .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.161s
[INFO] Finished at: Wed Jul 02 11:42:57 CEST 2014
[INFO] Final Memory: 7M/111M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cf-client: Could not resolve dependencies for project org.eclipse.californium:cf-client:jar:1.0.0-SNAPSHOT: Could not find artifact org.eclipse.californium:scandium:jar:1.0.0-SNAPSHOT -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :cf-client
EDIT: it looks like the maven repositories are online now and the bug in cf-secure has been fixed. So only step 4 is required to install the californium tools.
The repositories mentioned in README.md do not seem to be online yet. Therefore maven can not resolve the dependencies automatically. The trick is to build and install the maven artifacts directly from source in the appropriate order.
So in order to get californium.tools working:
install org.eclipse.californium:element-connector
git clone https://github.com/eclipse/californium.element-connector.git
cd californium.element-connector
mvn clean install
install org.eclipse.californium:scandium
git clone https://github.com/eclipse/californium.scandium.git
cd californium.scandium
mvn clean install
install org.eclipse.californium:californium-core
git clone https://github.com/eclipse/californium.git
cd californium
mvn -pl :californium-core -am clean install
Note that we are only building the californium-core submodule (with the -pl :californium-core -am flag), since there is a bug in cf-secure which causes the build to fail.
build the Californium tools
git clone https://github.com/eclipse/californium.tools.git
cd californium.tools
mvn -pl :cf-browser,:cf-coapbench,:cf-rd,:cf-server -am clean install
We need to exclude cf-client since it has a bug which makes the build fail.
To run any of the tools, just cd californium.tools/run and java -jar ... the appropriate jar.
Sorry, the project was recently created at eclipse.
Hudson is populating the maven repository now.

Setting up OpenCMIS InMemory Repository

I´m trying to set up the OpenCMIS InMemory Repository following the instructions from Apache but I keep getting the following error when running the maven command mvn clean install -Dmaven.test.skip=true:
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Chemistry OpenCMIS ......................... SUCCESS [1.665s]
[INFO] OpenCMIS Commons API .............................. SUCCESS [3.327s]
[INFO] OpenCMIS Commons Implementation ................... SUCCESS [7.599s]
[INFO] OpenCMIS Client API ............................... SUCCESS [0.714s]
[INFO] OpenCMIS Client Bindings Implementation ........... FAILURE [2.285s]
[INFO] OpenCMIS Client Implementation .................... SKIPPED
[INFO] OpenCMIS Server Support ........................... SKIPPED
[INFO] OpenCMIS Server Implementation .................... SKIPPED
[INFO] OpenCMIS Server Implementation WAR packaging ...... SKIPPED
[INFO] OpenCMIS Test Utilities ........................... SKIPPED
[INFO] OpenCMIS InMemory Server WAR packaging ............ SKIPPED
[INFO] OpenCMIS FileShare Server Implementation .......... SKIPPED
[INFO] OpenCMIS JCR Server Implementation ................ SKIPPED
[INFO] OpenCMIS Server Archetype ......................... SKIPPED
[INFO] OpenCMIS Bridge WAR packaging ..................... SKIPPED
[INFO] OpenCMIS Test Compatibility Kit ................... SKIPPED
[INFO] OpenCMIS Full Integration Tests ................... SKIPPED
[INFO] OpenCMIS Tools .................................... SKIPPED
[INFO] OpenCMIS Browser .................................. SKIPPED
[INFO] OpenCMIS Browser Application ...................... SKIPPED
[INFO] OpenCMIS Workbench ................................ SKIPPED
[INFO] OpenCMIS OSGi Client Wrapper ...................... SKIPPED
[INFO] OpenCMIS Android Client ........................... SKIPPED
[INFO] OpenCMIS Assemblies Distribution .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.533s
[INFO] Finished at: Thu May 08 18:42:47 CEST 2014
[INFO] Final Memory: 33M/63M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "redhat-techpreview-all-repository" could not be
activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project chemistry-opencmis-client-bindings: Com
pilation failure: Compilation failure:
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[41,40] cannot find
symbol
[ERROR] symbol : class StreamingAttachmentFeature
[ERROR] location: package com.sun.xml.internal.ws.developer
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[65,28] cannot find
symbol
[ERROR] symbol : class StreamingAttachmentFeature
[ERROR] location: class org.apache.chemistry.opencmis.client.bindings.spi.webser
vices.SunJREPortProvider
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[115,66] cannot fin
d symbol
[ERROR] symbol : variable CONNECT_TIMEOUT
[ERROR] location: interface com.sun.xml.internal.ws.developer.JAXWSProperties
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[120,66] cannot fin
d symbol
[ERROR] symbol : variable REQUEST_TIMEOUT
[ERROR] location: interface com.sun.xml.internal.ws.developer.JAXWSProperties
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :chemistry-opencmis-client-bindings
Now, I guess the error (at least some of them as [ERROR] symbol : variable CONNECT_TIMEOUT) is because it's not finding the JAX-WS libraries, but since I just downloaded the code and followed instructions, I can't see what I can do to solve it or where to add the dependencies.
You should check your maven version. The Apache site says that version 2.2.1 is required, against java 1.5.
You're trying to build the development version, which is not always stable.
If you just want to use the InMemory Repository, download the "OpenCMIS Server Webapps" package from https://chemistry.apache.org/java/download.html .

Categories