[OFCONFIG-6] integrationtest compile error: Failed to execute maven-jar-plugin:3.0.0 Created: 05/Jul/16  Updated: 19/Oct/17  Resolved: 30/Aug/16

Status: Resolved
Project: of-config
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Hou Jin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 6155

 Description   

[INFO] — maven-clean-plugin:3.0.0:clean (default-clean) @ integrationtest —
[INFO]
[INFO] — maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ integrationtest —
[INFO]
[INFO] — jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (pre-unit-test) @ integrationtest —
[INFO] argLine set to -javaagent:/home/hou/.m2/repository/org/jacoco/org.jacoco.agent/0.7.2.201409121644/org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=/home/hou/odl-gerrit/of-config/integrationtest/target/code-coverage/jacoco.exec,excludes=*/gen/:/generated-sources/:/yang-gen/:/pax/*
[INFO]
[INFO] — properties-maven-plugin:1.0.0:set-system-properties (default) @ integrationtest —
[INFO] Set 1 system property
[INFO]
[INFO] — maven-checkstyle-plugin:2.17:check (check-license) @ integrationtest —
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] — maven-checkstyle-plugin:2.17:check (default) @ integrationtest —
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] — maven-dependency-plugin:2.10:unpack (unpack-license) @ integrationtest —
[INFO] Configured Artifact: org.opendaylight.odlparent:odl-license:0.1.0-SNAPSHOT:jar
[INFO] Unpacking /home/hou/.m2/repository/org/opendaylight/odlparent/odl-license/0.1.0-SNAPSHOT/odl-license-0.1.0-SNAPSHOT.jar to /home/hou/odl-gerrit/of-config/integrationtest/target/classes with includes "" and excludes "META-INF/**"
[INFO]
[INFO] — depends-maven-plugin:1.2:generate-depends-file (generate-depends-file) @ integrationtest —
[INFO] Created: /home/hou/odl-gerrit/of-config/integrationtest/target/classes/META-INF/maven/dependencies.properties
[INFO]
[INFO] — maven-resources-plugin:2.7:resources (default-resources) @ integrationtest —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hou/odl-gerrit/of-config/integrationtest/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:3.5.1:compile (default-compile) @ integrationtest —
[INFO] No sources to compile
[INFO]
[INFO] — maven-resources-plugin:2.7:testResources (default-testResources) @ integrationtest —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hou/odl-gerrit/of-config/integrationtest/src/test/resources
[INFO]
[INFO] — maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ integrationtest —
[INFO] No sources to compile
[INFO]
[INFO] — maven-surefire-plugin:2.18.1:test (default-test) @ integrationtest —
[INFO] Tests are skipped.
[INFO]
[INFO] — maven-jar-plugin:3.0.0:jar (default-jar) @ integrationtest —
[INFO] Building jar: /home/hou/odl-gerrit/of-config/integrationtest/target/integrationtest-1.1.0-SNAPSHOT.jar
[INFO]
[INFO] — maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ integrationtest —
[INFO]
[INFO] — maven-jar-plugin:3.0.0:test-jar (default) @ integrationtest —
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/hou/odl-gerrit/of-config/integrationtest/target/integrationtest-1.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] — maven-jar-plugin:3.0.0:jar (default) @ integrationtest —
[INFO] Building jar: /home/hou/odl-gerrit/of-config/integrationtest/target/integrationtest-1.1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] commons.parent ..................................... SUCCESS [ 2.229 s]
[INFO] commons.integrationtest.parent ..................... SUCCESS [ 0.319 s]
[INFO] parents ............................................ SUCCESS [ 0.298 s]
[INFO] southbound-ofconfigmodels .......................... SUCCESS [ 15.102 s]
[INFO] southbound-api ..................................... SUCCESS [ 7.485 s]
[INFO] southbound-impl .................................... SUCCESS [ 11.329 s]
[INFO] southbound-features ................................ SUCCESS [ 5.670 s]
[INFO] southbound-artifacts ............................... SUCCESS [ 0.035 s]
[INFO] southbound-aggregator .............................. SUCCESS [ 0.231 s]
[INFO] features-of-config ................................. SUCCESS [ 0.801 s]
[INFO] integrationtest .................................... FAILURE [ 1.054 s]
[INFO] karaf .............................................. SKIPPED
[INFO] ofconf ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.492 s
[INFO] Finished at: 2016-07-05T14:50:46+08:00
[INFO] Final Memory: 131M/481M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.0:jar (default) on project integrationtest: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [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 :integrationtest

Building jar: /home/hou/odl-gerrit/of-config/integrationtest/target/integrationtest-1.1.0-SNAPSHOT.jar twice!



 Comments   
Comment by Rong Xu [ 30/Aug/16 ]

fix in https://git.opendaylight.org/gerrit/#/c/41327/

Generated at Wed Feb 07 20:28:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.