Cannot build Storm - Could not resolve dependencies for project org.apache.storm:storm-autocreds:jar:2.3.0 - maven

I have a problem with building a raw project wchi I got from Storm website.
I've cloned that repo: https://github.com/apache/storm/tree/v2.3.0/examples/storm-starter
and went with the instruction step by step. But it seems I have a problem with dependencies:
Can anybody try to build that repo? I'm using maven 3.x
I don't know if some dependencies changed theirs addres in repositories, or maybe I have something misconfigured.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Storm 2.3.0:
[INFO]
[INFO] Storm .............................................. FAILURE [ 10.277 s]
[INFO] Apache Storm - Checkstyle .......................... SKIPPED
[INFO] Shaded Deps for Storm Client ....................... SKIPPED
[INFO] multilang-javascript ............................... SKIPPED
[INFO] multilang-python ................................... SKIPPED
[INFO] multilang-ruby ..................................... SKIPPED
[INFO] maven-shade-clojure-transformer .................... SKIPPED
[INFO] storm-maven-plugins ................................ SKIPPED
[INFO] Storm Client ....................................... SKIPPED
[INFO] storm-server ....................................... SKIPPED
[INFO] storm-clojure ...................................... SKIPPED
[INFO] Storm Core ......................................... SKIPPED
[INFO] Storm Webapp ....................................... SKIPPED
[INFO] storm-clojure-test ................................. SKIPPED
[INFO] storm-submit-tools ................................. SKIPPED
[INFO] storm-autocreds .................................... SKIPPED
[INFO] storm-hdfs ......................................... SKIPPED
[INFO] storm-hdfs-blobstore ............................... SKIPPED
[INFO] storm-hdfs-oci ..................................... SKIPPED
[INFO] storm-hbase ........................................ SKIPPED
[INFO] storm-hive ......................................... SKIPPED
[INFO] storm-jdbc ......................................... SKIPPED
[INFO] storm-redis ........................................ SKIPPED
[INFO] storm-eventhubs .................................... SKIPPED
[INFO] storm-elasticsearch ................................ SKIPPED
[INFO] storm-solr ......................................... SKIPPED
[INFO] storm-metrics ...................................... SKIPPED
[INFO] storm-cassandra .................................... SKIPPED
[INFO] storm-mqtt ......................................... SKIPPED
[INFO] storm-mongodb ...................................... SKIPPED
[INFO] storm-kafka-client ................................. SKIPPED
[INFO] storm-kafka-migration .............................. SKIPPED
[INFO] storm-opentsdb ..................................... SKIPPED
[INFO] storm-kafka-monitor ................................ SKIPPED
[INFO] storm-kinesis ...................................... SKIPPED
[INFO] storm-jms .......................................... SKIPPED
[INFO] storm-pmml ......................................... SKIPPED
[INFO] storm-rocketmq ..................................... SKIPPED
[INFO] blobstore-migrator ................................. SKIPPED
[INFO] Storm Integration Test ............................. SKIPPED
[INFO] flux ............................................... SKIPPED
[INFO] flux-wrappers ...................................... SKIPPED
[INFO] flux-core .......................................... SKIPPED
[INFO] flux-examples ...................................... SKIPPED
[INFO] storm-sql-runtime .................................. SKIPPED
[INFO] storm-sql-core ..................................... SKIPPED
[INFO] storm-sql-kafka .................................... SKIPPED
[INFO] storm-sql-redis .................................... SKIPPED
[INFO] storm-sql-mongodb .................................. SKIPPED
[INFO] storm-sql-hdfs ..................................... SKIPPED
[INFO] sql ................................................ SKIPPED
[INFO] storm-starter ...................................... SKIPPED
[INFO] storm-loadgen ...................................... SKIPPED
[INFO] storm-mongodb-examples ............................. SKIPPED
[INFO] storm-redis-examples ............................... SKIPPED
[INFO] storm-opentsdb-examples ............................ SKIPPED
[INFO] storm-solr-examples ................................ SKIPPED
[INFO] storm-kafka-client-examples ........................ SKIPPED
[INFO] storm-jdbc-examples ................................ SKIPPED
[INFO] storm-hdfs-examples ................................ SKIPPED
[INFO] storm-hive-examples ................................ SKIPPED
[INFO] storm-elasticsearch-examples ....................... SKIPPED
[INFO] storm-mqtt-examples ................................ SKIPPED
[INFO] storm-pmml-examples ................................ SKIPPED
[INFO] storm-jms-examples ................................. SKIPPED
[INFO] storm-rocketmq-examples ............................ SKIPPED
[INFO] Storm Perf ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.129 s
[INFO] Finished at: 2022-03-03T12:44:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project storm-autocreds: Could not resolve dependencies for project org.apache.storm:storm-autocreds:jar:2.3.0: Could not transfer artifact javax.jms:jms:jar:1.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [datanucleus (http://www.datanucleus.org/downloads/maven2, default, releases), glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, default, disabled), glassfish-repo-archive (http://maven.glassfish.org/content/groups/glassfish, default, disabled), apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)] -> [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 <args> -rf :storm-autocreds

Related

Failed to execute goal antrun plugin while building hadoop

While building the hadoop using maven, I encountered one error that one command in ant script exited abnormally.
more details are in following error.
[INFO] Apache Hadoop NFS .................................. SUCCESS [ 2.372 s]
[INFO] Apache Hadoop KMS .................................. FAILURE [ 5.222 s]
[INFO] Apache Hadoop Common Project ....................... SKIPPED
[INFO] Apache Hadoop HDFS ................................. SKIPPED
[INFO] Apache Hadoop HttpFS ............................... SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED
[INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED
[INFO] Apache Hadoop HDFS Project ......................... SKIPPED
[INFO] hadoop-yarn ........................................ SKIPPED
[INFO] hadoop-yarn-api .................................... SKIPPED
[INFO] hadoop-yarn-common ................................. SKIPPED
[INFO] hadoop-yarn-server ................................. SKIPPED
[INFO] hadoop-yarn-server-common .......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager ..................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ....................... SKIPPED
[INFO] hadoop-yarn-server-applicationhistoryservice ....... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................. SKIPPED
[INFO] hadoop-yarn-server-tests ........................... SKIPPED
[INFO] hadoop-yarn-client ................................. SKIPPED
[INFO] hadoop-yarn-applications ........................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell .......... SKIPPED
[INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51.908 s
[INFO] Finished at: 2017-03-18T00:01:56+08:00
[INFO] Final Memory: 77M/771M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (dist) on project hadoop-kms: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/Users/jinteng/work/hadoop-compile/hadoop-2.6.5-src/hadoop-common-project/hadoop-kms/target" executable="sh">... # 10:142 in /Users/jinteng/work/hadoop-compile/hadoop-2.6.5-src/hadoop-common-project/hadoop-kms/target/antrun/build-main.xml
[ERROR] -> [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]
I asked this question for sharing.
Background:
I killed the building process for the slow internet speed while downloading tomcat's tar packet.
Because of the interruption of downloading, the packet is not complete and tomcat-untar.sh would occured an exception while trying to untar the tomcat.
Later, I downloaded the packet separately and pushed it into downloads dir and found it works

Wasabi fails on build - Maven plugin

See the solution below
Using Ubuntu 16.04 on Google Cloud
Everything is done as noted here https://github.com/intuit/wasabi.
After successfully bootstraping the wasabai
by running:
$ ./bin/wasabi.sh bootstrap
and getting
Everything looks all right!
...
installed dependencies.
Then I reboot the machine
$ sudo reboot
and try running the build
$ ./bin/wasabi.sh build
which obviously fails, this is the output I see:
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 30 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 30 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] wasabi
[INFO] wasabi-experiment-objects
[INFO] wasabi-export
[INFO] wasabi-assignment-objects
[INFO] wasabi-exceptions
[INFO] wasabi-analytics-objects
[INFO] wasabi-authentication-objects
[INFO] wasabi-eventlog
[INFO] wasabi-auditlog-objects
[INFO] wasabi-authorization-objects
[INFO] wasabi-cassandra
[INFO] wasabi-database
[INFO] wasabi-feedback-objects
[INFO] wasabi-user-directory
[INFO] wasabi-repository
[INFO] wasabi-experiment
[INFO] wasabi-assignment
[INFO] wasabi-util
[INFO] wasabi-analytics
[INFO] wasabi-auditlog
[INFO] wasabi-event-objects
[INFO] wasabi-event
[INFO] wasabi-email
[INFO] wasabi-feedback
[INFO] wasabi-authentication
[INFO] wasabi-authorization
[INFO] wasabi-api
[INFO] wasabi-functional-test
[INFO] wasabi-main
[INFO] wasabi-swagger-ui
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wasabi 1.0.20161107232436-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # wasabi ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) # wasabi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/www/html/wasabi/wasabi/src/main/env
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) # wasabi ---
[INFO] argLine set to -javaagent:/home/silversillu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/www/html/wasabi/wasabi/target/jacoco.exec,excludes=com/intuit/wasabi/tests/**
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) # wasabi ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (report) # wasabi ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) # wasabi ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) # wasabi ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.10:remove-project-artifact (remove-old-artifacts) # wasabi ---
[INFO] /home/silversillu/.m2/repository/com/intuit/wasabi/wasabi removed.
[INFO]
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) # wasabi ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wasabi-experiment-objects 1.0.20161107232436-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # wasabi-experiment-objects ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) # wasabi-experiment-objects ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/www/html/wasabi/wasabi/modules/experiment-objects/src/main/env
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) # wasabi-experiment-objects ---
[INFO] argLine set to -javaagent:/home/silversillu/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/var/www/html/wasabi/wasabi/modules/experiment-objects/target/jacoco.exec,excludes=com/intuit/wasabi/tests/**
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) # wasabi-experiment-objects ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/www/html/wasabi/wasabi/modules/experiment-objects/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) # wasabi-experiment-objects ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to /var/www/html/wasabi/wasabi/modules/experiment-objects/target/classes
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping wasabi
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] wasabi ............................................. SUCCESS [ 4.085 s]
[INFO] wasabi-experiment-objects .......................... FAILURE [ 0.633 s]
[INFO] wasabi-export ...................................... SKIPPED
[INFO] wasabi-assignment-objects .......................... SKIPPED
[INFO] wasabi-exceptions .................................. SKIPPED
[INFO] wasabi-analytics-objects ........................... SKIPPED
[INFO] wasabi-authentication-objects ...................... SKIPPED
[INFO] wasabi-eventlog .................................... SKIPPED
[INFO] wasabi-auditlog-objects ............................ SKIPPED
[INFO] wasabi-authorization-objects ....................... SKIPPED
[INFO] wasabi-cassandra ................................... SKIPPED
[INFO] wasabi-database .................................... SKIPPED
[INFO] wasabi-feedback-objects ............................ SKIPPED
[INFO] wasabi-user-directory .............................. SKIPPED
[INFO] wasabi-repository .................................. SKIPPED
[INFO] wasabi-experiment .................................. SKIPPED
[INFO] wasabi-assignment .................................. SKIPPED
[INFO] wasabi-util ........................................ SKIPPED
[INFO] wasabi-analytics ................................... SKIPPED
[INFO] wasabi-auditlog .................................... SKIPPED
[INFO] wasabi-event-objects ............................... SKIPPED
[INFO] wasabi-event ....................................... SKIPPED
[INFO] wasabi-email ....................................... SKIPPED
[INFO] wasabi-feedback .................................... SKIPPED
[INFO] wasabi-authentication .............................. SKIPPED
[INFO] wasabi-authorization ............................... SKIPPED
[INFO] wasabi-api ......................................... SKIPPED
[INFO] wasabi-functional-test ............................. SKIPPED
[INFO] wasabi-main ........................................ SKIPPED
[INFO] wasabi-swagger-ui .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.399 s
[INFO] Finished at: 2017-01-10T21:48:24+00:00
[INFO] Final Memory: 29M/70M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project wasabi-experiment-objects: Fatal error compiling: directory not found: /var/www/html/wasabi/wasabi/modules/experiment-objects/target/classes -> [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 :wasabi-experiment-objects
error: invalid: mvn -Pdevelopment clean -Dmaven.test.skip=true package javadoc:aggregate
usage: build.sh [options]
options:
-b | --build [ true | false ] : build; default: false
-p | --profile [profile] : build profile; default: development
-t | --test [ true | false ] : test; default: false
-h | --help : help message
Solution
I don't know if it makes any sense but what fixed the issue was moving my cloud machine from micro to much more powerful one n1-standard-4 (4 vCPUs, 15 GB memory)
can you try the following:
% WASABI_MAVEN="-e -X" ./bin/wasabi.sh build
additionally one could try issuing the reported failed mvn invocation directly, ie:
% mvn -e -X -Pdevelopment clean -Dmaven.test.skip=true package javadoc:aggregate
clearly none of the codebase is compiling given the first module fails.
i don't see why a reboot would matter unless logged in as a different user, some directory is owned by 'root' and not writable/deletable, etc.
let's fix this :)

Esper Tech Installation using Maven - No access on transport - Maybe jar issue?

I 've already read lot from your site, but it's the first time I really cannot find resolution for my problem through searching.
I try to install Esper Tech on Windows 8.1 with help of Maven 3.3. After many problems, I have this one too. It seems like a dependency problem between 2 source setting files of Esper.
Below my facts.
1.Maven's output (not all output but only for these 2 libraries)
[INFO] ----------------
[INFO] Building Esper Examples TerminalSvc - MDB 1.0
[INFO] ----------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # example-terminalsvc-mdb ---
[INFO] Deleting C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # example-terminalsvc-mdb ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # example-terminalsvc-mdb ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 8 source files to C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # example-terminalsvc-mdb ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\etc
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # example-terminalsvc-mdb ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 2 source files to C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # example-terminalsvc-mdb ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) # example-terminalsvc-mdb ---
[INFO] Packaging webapp
[INFO] Assembling webapp [example-terminalsvc-mdb] in [C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target\example-terminalsvc-mdb-1.0]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\src\main\webapp]
[INFO] Webapp assembled in [922 msecs]
[INFO] Building war: C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target\example-terminalsvc-mdb-1.0.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # example-terminalsvc-mdb ---
[INFO] Installing C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\target\example-terminalsvc-mdb-1.0.war to C:\Users\marianna\.m2\repository\com\espertech\example-terminalsvc-mdb\1.0\example-terminalsvc-mdb-1.0.war
[INFO] Installing C:\Users\marianna\esper-master\examples\terminalsvc\terminalsvc-mdb\pom.xml to C:\Users\marianna\.m2\repository\com\espertech\example-terminalsvc-mdb\1.0\example-terminalsvc-mdb-1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Esper Examples TerminalSvc - EAR 1.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/com/espertech/example-terminalsvc-mdb/1.0/example-terminalsvc-mdb-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Esper .............................................. SUCCESS [02:52 min]
[INFO] EsperIO-AMQP ....................................... SUCCESS [ 16.781 s]
[INFO] EsperIO-CSV ........................................ SUCCESS [ 6.984 s]
[INFO] EsperIO-DB ......................................... SUCCESS [ 4.047 s]
[INFO] EsperIO-HTTP ....................................... SUCCESS [ 6.438 s]
[INFO] EsperIO-Socket ..................................... SUCCESS [ 3.078 s]
[INFO] EsperIO-SpringJMS .................................. SUCCESS [ 13.187 s]
[INFO] EsperIO-Stax ....................................... SUCCESS [ 5.032 s]
[INFO] Esper Examples ..................................... SUCCESS [ 0.062 s]
[INFO] Esper Examples - AutoID ............................ SUCCESS [ 1.516 s]
[INFO] Esper Examples - Benchmark ......................... SUCCESS [ 2.015 s]
[INFO] Esper Examples - CycleDetect ....................... SUCCESS [ 1.485 s]
[INFO] Esper Examples - MarketDataFeed .................... SUCCESS [ 1.312 s]
[INFO] Esper Examples - MatchMaker ........................ SUCCESS [ 1.656 s]
[INFO] Esper Examples - NamedWinQuery ..................... SUCCESS [ 0.985 s]
[INFO] Esper Examples - OHLCPlugInView .................... SUCCESS [ 1.265 s]
[INFO] Esper Examples - QualityOfServiceSLA ............... SUCCESS [ 1.313 s]
[INFO] Esper Examples - RFIDAssetZone ..................... SUCCESS [ 2.297 s]
[INFO] Esper Examples - RuntimeConfig ..................... SUCCESS [ 1.062 s]
[INFO] Esper Examples - ServerShell ....................... SUCCESS [ 1.500 s]
[INFO] Esper Examples - StockTicker ....................... SUCCESS [ 1.172 s]
[INFO] Esper Examples TerminalSvc - Common ................ SUCCESS [ 0.516 s]
[INFO] Esper Examples TerminalSvc - Receiver .............. SUCCESS [ 0.359 s]
[INFO] Esper Examples TerminalSvc - Sender ................ SUCCESS [ 0.625 s]
[INFO] Esper Examples TerminalSvc - MDB ................... SUCCESS [ 4.547 s]
[INFO] Esper Examples TerminalSvc - EAR ................... FAILURE [ 7.672 s]
[INFO] Esper Examples TerminalSvc ......................... SKIPPED
[INFO] Esper Examples - TerminalServiceJSE ................ SKIPPED
[INFO] Esper Examples - Transaction ....................... SKIPPED
[INFO] Esper Examples - Trivia Geeks Club ................. SKIPPED
[INFO] Esper .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:20 min
[INFO] Finished at: 2015-12-22T14:06:23+02:00
[INFO] Final Memory: 71M/350M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project example-terminalsvc-ear: Could not resolve dependencies for project com.espertech:example-terminalsvc-ear:ear:1.0: Could not transfer artifact com.espertech:example-terminalsvc-mdb:jar:1.0 from/to local-repository (~/.m2/repository): Cannot access ~/.m2/repository with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access ~/.m2/repository using the registered transporter factories: WagonTransporterFactory: Unsupported transport protocol -> [Help 1]
[ERROR]
2.My command for compilation is below:
mvn clean install -DskipTests=true -Dgpg.skip=true > log.txt
(gpg was my first big problem)
3.pom.xml from last project 'Esper Examples TerminalSvc - EAR' for dependency part
<dependencies>
<dependency>
<groupId>com.espertech</groupId>
<artifactId>example-terminalsvc-mdb</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
Steps I took to search issue:
rights on ./~m2/repository -> i made it public (not good tactic I know)
download manually .jar and paste it on target folder. But link has 404 error!
I tried to figure out why .jar is not found after it's project compilation. But this compilation has as a result .war not .jar
What could I miss?
Thanks a lot for your help!!
on the examples parent pom level (~/esper/examples/terminalsvc/) try to do
mvn clean package -DskipTests=true
The project builds fine.
INFO] --- maven-clean-plugin:2.5:clean (default-clean) # esper-terminalsvc ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Esper Examples TerminalSvc - Common ................ SUCCESS [ 9.449 s]
[INFO] Esper Examples TerminalSvc - Client ................ SUCCESS [ 0.298 s]
[INFO] Esper Examples TerminalSvc - Receiver .............. SUCCESS [ 0.101 s]
[INFO] Esper Examples TerminalSvc - MDB ................... SUCCESS [ 0.581 s]
[INFO] Esper Examples TerminalSvc - EAR ................... SUCCESS [ 0.811 s]
[INFO] Esper Examples TerminalSvc ......................... SUCCESS [ 0.002 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.382 s
[INFO] Finished at: 2015-12-23T13:29:26+01:00
[INFO] Final Memory: 22M/229M
Update
Please edit the file /esper/examples/terminalsvc/terminalsvc-ear/pom.xml and add the line war on the dependency, as shown below :
<dependencies>
<dependency>
<groupId>com.espertech</groupId>
<artifactId>example-terminalsvc-mdb</artifactId>
<version>1.0</version>
<type>war</type>
</dependency>
</dependencies>

apache drill jdbc 1.1.0 build issue

I am building apache drill 1.1.0 from its source. I got the following error:
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM ............................. SUCCESS [8.234s]
[INFO] Drill Protocol .................................... SUCCESS [6.639s]
[INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [50.152s]
[INFO] contrib/Parent Pom ................................ SUCCESS [0.717s]
[INFO] contrib/data/Parent Pom ........................... SUCCESS [0.365s]
[INFO] contrib/data/tpch-sample-data ..................... SUCCESS [4.968s]
[INFO] exec/Parent Pom ................................... SUCCESS [0.545s]
[INFO] exec/Java Execution Engine ........................ FAILURE [38.896s]
[INFO] exec/JDBC Driver using dependencies ............... SKIPPED
[INFO] JDBC JAR with all dependencies .................... SKIPPED
[INFO] contrib/mongo-storage-plugin ...................... SKIPPED
[INFO] contrib/hbase-storage-plugin ...................... SKIPPED
[INFO] contrib/hive-storage-plugin/Parent Pom ............ SKIPPED
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ...... SKIPPED
[INFO] contrib/hive-storage-plugin/core .................. SKIPPED
[INFO] Packaging and Distribution Assembly ............... SKIPPED
[INFO] contrib/sqlline ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:51.105s
[INFO] Finished at: Mon Aug 10 07:24:19 IST 2015
[INFO] Final Memory: 67M/325M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project drill-java-exec: Could not
resolve dependencies for project
org.apache.drill.exec:drill-java-exec:jar:1.2.0-SNAPSHOT: Could not
transfer artifact net.hydromatic:foodmart-data-json:jar:0.4 from/to
central (http://repo.maven.apache.org/maven2): GET request of:
net/hydromatic/foodmart-data-json/0.4/foodmart-data-json-0.4.jar from
central failed: Premature end of Content-Length delimited message body
(expected: 18196233; received: 17400 -> [Help 1]
Edit:
I checked the jar in .m2/repository. It contains foodmart-data-json-0.4.jar.lastUpdated, foodmart-data-json-0.4.pom.lastUpdated, foodmart-data-json-0.4.pom, foodmart-data-json-0.4.pom.sha1, _maven.repositories. When I opened foodmart-data-json-0.4.jar.lastUpdated in text editor. I found:
#NOTE: This is an internal implementation file, its format can be changed without prior notice.
#Mon Aug 10 08:44:18 IST 2015
http\://repository.mapr.com/nexus/content/repositories/drill/.lastUpdated=1439176430716
default-http\://repo.maven.apache.org/maven2/.lastUpdated=1439176458509
http\://conjars.org/repo/.lastUpdated=1439176430238
http\://repository.mapr.com/nexus/content/repositories/drill/.error=
http\://repo.maven.apache.org/maven2/.error=Could not transfer artifact net.hydromatic\:foodmart-data-json\:jar\:0.4 from/to central (http\://repo.maven.apache.org/maven2)\: GET request of\: net/hydromatic/foodmart-data-json/0.4/foodmart-data-json-0.4.jar from central failed
http\://conjars.org/repo/.error=
How to resolve this error?

maven install fail

I follow the guide of how to use PlayN with Maven, but when i perform the command:
maven install
it fails.
The error log is the following:
[INFO]
[INFO] --- maven-android-plugin:3.0.0-alpha-2:dex (default-dex) # playn-showcase-android ---
[INFO] /usr/lib/jvm/java-6-openjdk/jre/bin/java [-Xmx1024m, -jar, /opt/android-sdk/platform-tools/lib/dx.jar, --dex, --output=/home/hox/Projects/playn/playn/sample/showcase/android/target/classes.dex, /home/hox/Projects/playn/playn/sample/showcase/android/target/android-classes]
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) # playn-showcase-android ---
[INFO] Building jar: /home/hox/Projects/playn/playn/sample/showcase/android/target/playn-showcase-android-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-android-plugin:3.0.0-alpha-2:apk (default-apk) # playn-showcase-android ---
[INFO] /opt/android-sdk/platform-tools/aapt [package, -f, -M, /home/hox/Projects/playn/playn/sample/showcase/android/AndroidManifest.xml, -S, /home/hox/Projects/playn/playn/sample/showcase/android/res, --auto-add-overlay, -I, /opt/android-sdk/platforms/android-11/android.jar, -F, /home/hox/Projects/playn/playn/sample/showcase/android/target/playn-showcase-android-1.0-SNAPSHOT.ap_]
[ERROR] Cannot create the APKBuilder object
java.lang.NullPointerException
at com.jayway.maven.plugins.android.phase09package.ApkBuilder.(ApkBuilder.java:195)
at com.jayway.maven.plugins.android.phase09package.ApkMojo.doAPKWithAPKBuilder(ApkMojo.java:334)
at com.jayway.maven.plugins.android.phase09package.ApkMojo.createApkFile(ApkMojo.java:249)
at com.jayway.maven.plugins.android.phase09package.ApkMojo.execute(ApkMojo.java:207)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PlayN Project ..................................... SUCCESS [0.125s]
[INFO] PlayN Project Archetype ........................... SUCCESS [0.650s]
[INFO] PlayN Core ........................................ SUCCESS [1.962s]
[INFO] PlayN JBox2D ...................................... SUCCESS [2.125s]
[INFO] PlayN WebGL ....................................... SUCCESS [0.914s]
[INFO] PlayN Java ........................................ SUCCESS [1.740s]
[INFO] PlayN HTML ........................................ SUCCESS [1.419s]
[INFO] PlayN Flash ....................................... SUCCESS [1.414s]
[INFO] PlayN Android ..................................... SUCCESS [1.552s]
[INFO] PlayN Server ...................................... SUCCESS [0.524s]
[INFO] PlayN Demos Project ............................... SUCCESS [0.002s]
[INFO] PlayN Hello Metaproject ........................... SUCCESS [0.003s]
[INFO] PlayN Hello Core .................................. SUCCESS [0.574s]
[INFO] PlayN Hello HTML .................................. SUCCESS [18.829s]
[INFO] PlayN Hello Flash ................................. SUCCESS [22.045s]
[INFO] PlayN Hello Android ............................... SUCCESS [14.519s]
[INFO] PlayN Showcase Metaproject ........................ SUCCESS [0.003s]
[INFO] PlayN Showcase Core ............................... SUCCESS [1.567s]
[INFO] PlayN Showcase HTML ............................... SUCCESS [21.663s]
[INFO] PlayN Showcase Flash .............................. SUCCESS [35.783s]
[INFO] PlayN Showcase Android ............................ FAILURE [11.533s]
[INFO] PlayN Cute Metaproject ............................ SKIPPED
[INFO] PlayN Cute Core ................................... SKIPPED
[INFO] PlayN Cute HTML ................................... SKIPPED
[INFO] PlayN Cute Flash .................................. SKIPPED
[INFO] PlayN Cute Android ................................ SKIPPED
[INFO] PlayN Payments .................................... SKIPPED
[INFO] PlayN Payments Core ............................... SKIPPED
[INFO] PlayN Payments Demo Metaproject ................... SKIPPED
[INFO] PlayN Payments Demo Core .......................... SKIPPED
[INFO] PlayN payments HTML ............................... SKIPPED
[INFO] PlayN payments Server ............................. SKIPPED
[INFO] PlayN Payments Demo HTML .......................... SKIPPED
[INFO] PlayN Tests Metaproject ........................... SKIPPED
[INFO] PlayN Benchmark Metaproject ....................... SKIPPED
[INFO] PlayN Benchmarks Core ............................. SKIPPED
[INFO] PlayN Benchmark HTML .............................. SKIPPED
[INFO] PlayN Manual Tests Metaproject .................... SKIPPED
[INFO] PlayN Manual Tests Core ........................... SKIPPED
[INFO] PlayN Manual Tests HTML ........................... SKIPPED
[INFO] PlayN Manual Tests Flash .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:20.302s
[INFO] Finished at: Tue Oct 25 15:44:44 CEST 2011
[INFO] Final Memory: 122M/318M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:maven-android-plugin:3.0.0-alpha-2:apk (default-apk) on project playn-showcase-android: Cannot create the APKBuilder object: NullPointerException -> [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 -rf :playn-showcase-android
I found the same error here, but no solution.
Are you using the recently released r14 of the Android SDK? It seems like it has some issues with the version of the Maven Android plugin playn uses. Try replacing the plugins section in samples/showcase/android/pom.xml with the following:
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
<resourceDirectory>${project.basedir}/res</resourceDirectory>
<sdk>
<platform>11</platform>
</sdk>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
<jvmArguments>
<jvmArgument>-Xmx1024m</jvmArgument>
</jvmArguments>
<dex>
<jvmArguments>
<jvmArgument>-Xmx1024m</jvmArgument>
</jvmArguments>
</dex>
</configuration>
<extensions>true</extensions>
</plugin>
</plugins>
Then cd into samples/showcase and run mvn clean then mvn install.
If that works, I'll look at upgrading all the samples to use the latest android maven plugin later today.

Resources