I am using the following library as dependency:
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
<version>3.2.0</version> <!-- Set version -->
</dependency>
when doing a mvn clean install, it is failing and generating the following error:
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check (signature-check) on project frontend-core: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check failed. IllegalArgumentException -> [Help 1]
Any idea about why this error and how to solve it ?
Thanks
Here goes the whole output of mvn clean install with the error:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ESWC 2015 Tutorial
[INFO] ESWC 2015 Tutorial :: Frontend
[INFO] ESWC 2015 Tutorial :: Frontend :: Core
[INFO] ESWC 2015 Tutorial :: Frontend :: Distributable
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # eswc-2015 ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # eswc-2015 ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # eswc-2015 ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/target/config with includes "" and excludes ""
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # eswc-2015 ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # eswc-2015 ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # eswc-2015 ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) # eswc-2015 ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO]
[INFO] --- license-maven-plugin:2.6:format (update-licenses) # eswc-2015 ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/dist/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) # eswc-2015 ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) # eswc-2015 ---
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) # eswc-2015 ---
[INFO] No tests to run.
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources # eswc-2015 >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # eswc-2015 ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # eswc-2015 ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # eswc-2015 ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # eswc-2015 ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # eswc-2015 ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources # eswc-2015 <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) # eswc-2015 ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) # eswc-2015 ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) # eswc-2015 ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) # eswc-2015 ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] --- license-maven-plugin:2.6:check (check-licenses) # eswc-2015 ---
[INFO] Checking licenses...
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) # eswc-2015 ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # eswc-2015 ---
[INFO] Installing /home/bakerally/Documents/repositories/github/LDPTest3/pom.xml to /home/bakerally/.m2/repository/org/ldp4j/tutorial/eswc-2015/1.0.0-SNAPSHOT/eswc-2015-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial :: Frontend 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # eswc-2015-frontend ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/config with includes "" and excludes ""
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # eswc-2015-frontend ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # eswc-2015-frontend ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # eswc-2015-frontend ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) # eswc-2015-frontend ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO]
[INFO] --- license-maven-plugin:2.6:format (update-licenses) # eswc-2015-frontend ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/dist/pom.xml
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) # eswc-2015-frontend ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) # eswc-2015-frontend ---
[INFO] No tests to run.
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources # eswc-2015-frontend >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # eswc-2015-frontend ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # eswc-2015-frontend ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # eswc-2015-frontend ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # eswc-2015-frontend ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources # eswc-2015-frontend <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) # eswc-2015-frontend ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) # eswc-2015-frontend ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) # eswc-2015-frontend ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] --- license-maven-plugin:2.6:check (check-licenses) # eswc-2015-frontend ---
[INFO] Checking licenses...
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) # eswc-2015-frontend ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # eswc-2015-frontend ---
[INFO] Installing /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml to /home/bakerally/.m2/repository/org/ldp4j/tutorial/frontend/eswc-2015-frontend/1.0.0-SNAPSHOT/eswc-2015-frontend-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial :: Frontend :: Core 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # frontend-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # frontend-core ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # frontend-core ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/config with includes "" and excludes ""
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # frontend-core ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # frontend-core ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # frontend-core ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) # frontend-core ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO]
[INFO] --- license-maven-plugin:2.6:format (update-licenses) # frontend-core ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) # frontend-core ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) # frontend-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # frontend-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/src/main/resources
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # frontend-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # frontend-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # frontend-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) # frontend-core ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources # frontend-core >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) # frontend-core ---
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) # frontend-core ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO]
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) # frontend-core ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) # frontend-core ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample#2699b4d)
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) # frontend-core ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources # frontend-core <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) # frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) # frontend-core ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) # frontend-core ---
[INFO]
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) # frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT-javadoc.jar
[INFO]
[INFO] --- license-maven-plugin:2.6:check (check-licenses) # frontend-core ---
[INFO] Checking licenses...
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) # frontend-core ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ESWC 2015 Tutorial ................................. SUCCESS [ 6.794 s]
[INFO] ESWC 2015 Tutorial :: Frontend ..................... SUCCESS [ 1.307 s]
[INFO] ESWC 2015 Tutorial :: Frontend :: Core ............. FAILURE [ 4.140 s]
[INFO] ESWC 2015 Tutorial :: Frontend :: Distributable .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.964 s
[INFO] Finished at: 2017-03-06T14:53:34+01:00
[INFO] Final Memory: 51M/476M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check (signature-check) on project frontend-core: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check failed. IllegalArgumentException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :frontend-core
You may disable checksum in maven.
This is a trick but may work.
http://www.codeoriented.com/how-to-disable-maven-checksum-validation/
Another way is download library and add manually to local repository.
Describe, how do it.
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Next another way
In downloads libs with apache-jena-3.2 is example:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.jena</groupId>
<artifactId>jena-examples</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Apache Jena - Code Examples</name>
<description>A collection of example code illustrating uses of Apache Jena</description>
<url>http://jena.apache.org/</url>
<properties>
<ver.jena>[3.1.0,)</ver.jena>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<organization>
<name>Apache Software Foundation</name>
<url>http://apache.org</url>
</organization>
<dependencies>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<version>${ver.jena}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>apache-repo-snapshots</id>
<url>http://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>apache-repo-releases</id>
<url>http://repository.apache.org/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
try set
[3.1.0,)
and add repositories
You may before delete library from local repository. In dir M2_HOME.
Related
I have generated a new project with the archetype and I have run the following maven
./mvnw -Dskiptests clean package
It should build two jar files xxx.jar and xx-runner.jar but it only build one (xxx.jar).
I have configured JAVA_HOME and GRAALVM_HOME pointing to the GraalVM that I have downloaded.
I have installed the Native Image.
My OS is UBUNTU
Maven should build the two JAR files but I don't why. Could someone help me.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< es.olivar.jaen:atomic-fruit-service >-----------------
[INFO] Building atomic-fruit-service 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # atomic-fruit-service ---
[INFO] Deleting /home/sobremesa/Documents/Develop/java/quarkus/poc/atomic-fruit-service/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # atomic-fruit-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- quarkus-maven-plugin:2.11.3.Final:generate-code (default) # atomic-fruit-service ---
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) # atomic-fruit-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/sobremesa/Documents/Develop/java/quarkus/poc/atomic-fruit-service/target/classes
[INFO]
[INFO] --- quarkus-maven-plugin:2.11.3.Final:generate-code-tests (default) # atomic-fruit-service ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # atomic-fruit-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/sobremesa/Documents/Develop/java/quarkus/poc/atomic-fruit-service/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) # atomic-fruit-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/sobremesa/Documents/Develop/java/quarkus/poc/atomic-fruit-service/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) # atomic-fruit-service ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # atomic-fruit-service ---
[INFO] Building jar: /home/sobremesa/Documents/Develop/java/quarkus/poc/atomic-fruit-service/target/atomic-fruit-service-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- quarkus-maven-plugin:2.11.3.Final:build (default) # atomic-fruit-service ---
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 1475ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.615 s
[INFO] Finished at: 2022-08-29T23:38:29+02:00
Thank very much indeed.
The output jar is target/quarkus-app/quarkus-run.jar
Why dose the release build fail? Pentaho-kettle-9.0.0.3-R is same problem.
Environmental information:
maven version 3
jdk 11
mvn clean install -Dmaven.test.skip=true
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) # kettle-core ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (set-doc-version-property) # kettle-core ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:rootlocation (set-root-dir-property) # kettle-core ---
[INFO]
[INFO] --- license-helper-maven-plugin:1.27:check-license (check-license) # kettle-core ---
[INFO] Effective license file is [/usr/src/app/src/pentaho-kettle-9.0.0.2-R/LICENSE.txt]
[INFO]
[INFO] --- iterator-maven-plugin:0.5.1:iterator (javascript-dependencies_unpack-dependencies) # kettle-core ---
[INFO] ------ (dummy) org.apache.maven.plugins:maven-dependency-plugin:3.1.0:unpack-dependencies
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-resource (add-filtered-resources) # kettle-core ---
[INFO]
[INFO] --- license-helper-maven-plugin:1.27:bundle (bundle-license) # kettle-core ---
[INFO] License file [/usr/src/app/src/pentaho-kettle-9.0.0.2-R/LICENSE.txt] will be added to [META-INF/LICENSE.txt]
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) # kettle-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 90 resources
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) # kettle-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 398 source files to /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/target/classes
[INFO] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/version/BuildVersion.java: Some input files use or override a deprecated API.
[INFO] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/version/BuildVersion.java: Recompile with -Xlint:deprecation for details.
[INFO] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/core/plugins/SupplementalPlugin.java: Some input files use unchecked or unsafe operations.
[INFO] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/core/plugins/SupplementalPlugin.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/core/Result.java:[32,33] package javax.xml.bind.annotation does not exist
[ERROR] /usr/src/app/src/pentaho-kettle-9.0.0.2-R/core/src/main/java/org/pentaho/di/core/Result.java:[65,2] cannot find symbol
symbol: class XmlRootElement
[INFO] 2 errors
Who can help me?
Look at main pom.xml like
https://github.com/pentaho/pentaho-kettle/blob/master/pom.xml
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Use jdk8.
package javax.xml.bind.annotation does not exist because if I ain't mistaken, it is moved to jee with removal from jdk core since jdk9
I'm trying to test this project: https://github.com/deglans/jenktest
but maven say that:
$ mvn clean install
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jenktest
[INFO] hello
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jenktest 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # jenktest ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # jenktest ---
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/pom.xml to /home/deglans/.m2/repository/io/github/deglans/jenktest/0.0.1-SNAPSHOT/jenktest-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # hello ---
[INFO] Deleting /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # hello ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # hello ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # hello ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /documenti/deglans/Programs/IdeaProjects/jenktest/hello/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # hello ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # hello ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) # hello ---
[INFO] Building jar: /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/hello-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) # hello ---
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/hello/target/hello-0.0.1-SNAPSHOT.jar to /home/deglans/.m2/repository/io/github/deglans/hello/0.0.1-SNAPSHOT/hello-0.0.1-SNAPSHOT.jar
[INFO] Installing /documenti/deglans/Programs/IdeaProjects/jenktest/hello/pom.xml to /home/deglans/.m2/repository/io/github/deglans/hello/0.0.1-SNAPSHOT/hello-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jenktest ........................................... SUCCESS [ 0.449 s]
[INFO] hello .............................................. SUCCESS [ 1.715 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.360 s
[INFO] Finished at: 2017-12-16T11:41:59+01:00
[INFO] Final Memory: 14M/48M
[INFO] ------------------------------------------------------------------------
What is the warning and why maven completely skip the test phase?
The final purpose of this work is to test email jenkins feature, but for now I'm blocked by this problem...
Thanks
Summary
You need to either rename GreetingTests.java to GreetingTest.java, or update your maven-surefire-plugin. Updating surefire plugin can provide better pattern for inclusions of tests. You can declare it in project's parent POM ./pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<!-- ... -->
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Detail
What is the warning and why maven completely skip the test phase?
Maven didn't skip the test phase. Maven unit tests are executed by maven-surefire-plugin, and it has been triggered correctly:
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # hello ---
You need to rename your test to GreetingTests.java to GreetingTest.java. Because the surefire-plugin:2.12.4 does not recognize pattern *Tests.java, as documented here:
By default, the plugin will automatically include all test classes with the following wildcard patterns:
"**/Test*.java" - includes all of its subdirectories and all java
filenames that start with "Test".
"**/*Test.java" - includes all of its subdirectories and all java
filenames that end with "Test".
"**/*TestCase.java" - includes all of its subdirectories and all java
filenames that end with "TestCase".
For some reason I don't know, sometimes, when I create a new Test project (I use IntelliJ + Maven module), I use the same pom file with some plugins which currently works in another projects, but then when I run the command line
mvn test
it doesn't run the JUnit test methods I have written. And I don't know what's wrong, it says:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building n26 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # n26 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # n26 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # n26 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\Automation\NewHomePage\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # n26 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to D:\Automation\NewHomePage\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) # n26 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.713 s
[INFO] Finished at: 2015-09-24T13:02:50+02:00
[INFO] Final Memory: 19M/306M
[INFO] ------------------------------------------------------------------------
Normally, it will execute tests afterwards, but sometimes it stops here.
#wemu thanks, I named my file was xxxTests.java, and the naming convention is xxxTest.java. It works, thanks
I'm trying to build install hoop in ubuntu 12.04 following http://cloudera.github.com/hoop/docs/latest/ServerSetup.html, however, the problem came when the I was doing mvn clean package -Dmaven.test.skip=true site assembly:single, the default configuration of hoop is post bellow,
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.cloudera.hoop</groupId>
<artifactId>hoop-main</artifactId>
<version>0.1.0-SNAPSHOT</version>
<description>Hoop Main</description>
<name>Hoop Main</name>
<packaging>pom</packaging>
<url>http://github.com/cloudera/hoop</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<organization>
<name>Cloudera</name>
<url>http://www.cloudera.com</url>
</organization>
<scm>
<connection>scm:git:git#github.com:cloudera/hoop.git</connection>
<url>https://github.com/cloudera/hoop</url>
</scm>
<distributionManagement>
<repository>
<id>cdh.releases.repo</id>
<url>https://repository.cloudera.com/content/repositories/releases</url>
<name>CDH Releases Repository</name>
</repository>
<snapshotRepository>
<id>cdh.snapshots.repo</id>
<url>https://repository.cloudera.com/content/repositories/snapshots</url>
<name>CDH Snapshots Repository</name>
</snapshotRepository>
</distributionManagement>
<modules>
<module>hoop-project</module>
<module>hoop-testng</module>
<module>hoop-server</module>
<module>hoop-client</module>
<module>hoop-webapp</module>
<module>hoop-docs</module>
<module>hoop-distro</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.6</version>
</requireJavaVersion>
<requireOS>
<family>unix</family>
</requireOS>
</rules>
</configuration>
<executions>
<execution>
<id>clean</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>pre-clean</phase>
</execution>
<execution>
<id>default</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>validate</phase>
</execution>
<execution>
<id>site</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>pre-site</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>post-site</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>false</attach>
<descriptors>
<descriptor>maven/assembly-empty.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
and the output is paste bellow,
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hoop Project POM
[INFO] Hoop TestNG
[INFO] Hoop Server
[INFO] Hoop WebApp
[INFO] Hoop Client
[INFO] Hoop Docs
[INFO] Hoop Distro
[INFO] Hoop Main
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Project POM 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (clean) # hoop-project ---
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-project ---
[INFO] Deleting file set: /home/pc/hoop/hoop-project/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) # hoop-project ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (site) # hoop-project ---
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-project ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-project ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop TestNG 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-testng ---
[INFO] Deleting file set: /home/pc/hoop/hoop-testng/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-testng ---
[INFO] Compiling 4 source files to /home/pc/hoop/hoop-testng/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-testng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-testng/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-testng ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-testng ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-testng ---
[INFO] Building jar: /home/pc/hoop/hoop-testng/target/hoop-testng-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-testng ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-testng
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-testng ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Server 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-server ---
[INFO] Deleting file set: /home/pc/hoop/hoop-server/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-server ---
[INFO] Compiling 79 source files to /home/pc/hoop/hoop-server/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-server ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-server ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-server ---
[INFO] Building jar: /home/pc/hoop/hoop-server/target/hoop-server-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-server ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-server
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[WARNING] The repository url 'http://repository.codehaus.org/' is invalid - Repository 'Codehaus repository' will be blacklisted.
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] >>> maven-javadoc-plugin:2.7:javadoc (default) # hoop-server >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:2.7:javadoc (default) # hoop-server <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.7:javadoc (default) # hoop-server ---
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-testng:jar:0.1.0-SNAPSHOT'. Trying to invoke it...
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-docs:jar:0.1.0-SNAPSHOT'. Trying to invoke it...
[ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: /home/pc/hoop/hoop-server/target/invoker/maven-javadoc-plugin1321551293.txt
[ERROR] Error fetching link: /home/pc/hoop/hoop-webapp/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-docs/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-distro/target/site/apidocs/package-list. Ignored it.
[INFO]
5 warnings
[WARNING] Javadoc Warnings
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/server/Server.java:684: warning - #return tag has no arguments.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/server/Server.java:256: warning - Tag #link: can't find serverStatusChange(Status, Status) in com.cloudera.lib.server.Service
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/lib/lang/RunnableCallable.java:68: warning - #return tag cannot be used in method with void return type.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/hoop/FsPathParam.java:41: warning - #returns is an unknown tag.
[WARNING] /home/pc/hoop/hoop-server/src/main/java/com/cloudera/hoop/Hoop.java:455: warning - #param argument "override," is not a parameter name.
[INFO]
[INFO] --- maven-project-info-reports-plugin:2.3.1:dependencies (default) # hoop-server ---
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-server ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop WebApp 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-webapp ---
[INFO] Deleting file set: /home/pc/hoop/hoop-webapp/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-webapp/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-webapp/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-webapp ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-webapp ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1:war (default-war) # hoop-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [hoop-webapp] in [/home/pc/hoop/hoop-webapp/target/hoop-webapp-0.1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/pc/hoop/hoop-webapp/src/main/webapp]
[INFO] Webapp assembled in [52 msecs]
[INFO] Building war: /home/pc/hoop/hoop-webapp/target/hoop-webapp-0.1.0-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-webapp ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-webapp
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[WARNING] The repository url 'http://www.datanucleus.org/downloads/maven2' is invalid - Repository 'datanucleus' will be blacklisted.
[WARNING] The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid - Repository 'java.net' will be blacklisted.
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-webapp ---
[INFO] Reading assembly descriptor: maven/assembly-empty.xml
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Client 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-client ---
[INFO] Deleting file set: /home/pc/hoop/hoop-client/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-client/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-client ---
[INFO] Compiling 3 source files to /home/pc/hoop/hoop-client/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-client/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-client ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-client ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-client ---
[INFO] Building jar: /home/pc/hoop/hoop-client/target/hoop-client-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-client ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-client
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Dependency Convergence" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.3.1
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.3.1
[INFO]
[INFO] >>> maven-javadoc-plugin:2.7:javadoc (default) # hoop-client >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:2.7:javadoc (default) # hoop-client <<<
[INFO]
[INFO] --- maven-javadoc-plugin:2.7:javadoc (default) # hoop-client ---
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'com.cloudera.hoop:hoop-webapp:war:0.1.0-SNAPSHOT'. Trying to invoke it...
[ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: /home/pc/hoop/hoop-client/target/invoker/maven-javadoc-plugin395037384.txt
[ERROR] Error fetching link: /home/pc/hoop/hoop-webapp/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-docs/target/site/apidocs/package-list. Ignored it.
[ERROR] Error fetching link: /home/pc/hoop/hoop-distro/target/site/apidocs/package-list. Ignored it.
[INFO]
[INFO] --- maven-project-info-reports-plugin:2.3.1:dependencies (default) # hoop-client ---
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-3:single (default-cli) # hoop-client ---
[INFO] Reading assembly descriptor: maven/assembly-hoop-client.xml
[INFO] Copying files to /home/pc/hoop/hoop-client/target/hoop-client-lib
[WARNING] Assembly file: /home/pc/hoop/hoop-client/target/hoop-client-lib is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hoop Docs 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) # hoop-docs ---
[INFO] Deleting file set: /home/pc/hoop/hoop-docs/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) # hoop-docs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-docs/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # hoop-docs ---
[INFO] Compiling 1 source file to /home/pc/hoop/hoop-docs/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) # hoop-docs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/pc/hoop/hoop-docs/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # hoop-docs ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) # hoop-docs ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) # hoop-docs ---
[INFO] Building jar: /home/pc/hoop/hoop-docs/target/hoop-docs-0.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) # hoop-docs ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.3.1
[INFO] Relativizing decoration links with respect to project URL: http://github.com/cloudera/hoop/hoop-docs
[INFO] Rendering site with org.apache.maven.skins:maven-stylus-skin:jar:1.2 skin.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hoop Project POM .................................. SUCCESS [7.496s]
[INFO] Hoop TestNG ....................................... SUCCESS [3:19.250s]
[INFO] Hoop Server ....................................... SUCCESS [4:11.171s]
[INFO] Hoop WebApp ....................................... SUCCESS [1:52.368s]
[INFO] Hoop Client ....................................... SUCCESS [4:30.761s]
[INFO] Hoop Docs ......................................... FAILURE [0.509s]
[INFO] Hoop Distro ....................................... SKIPPED
[INFO] Hoop Main ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:02.178s
[INFO] Finished at: Tue Jun 05 17:45:37 CST 2012
[INFO] Final Memory: 53M/724M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project hoop-docs: Error during site generation: error in opening zip file -> [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 possib