Project

General

Profile

bug #8873

eu.etaxonomy.taxeditor: maven-clean runs before maven-install-plugin and deletes the eu.etaxonomy.taxeditor/target/repository/plugins/org.eclipse.*.jar files

Added by Andreas Kohlbecker about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
03/02/2020
Due date:
% Done:

100%

Severity:
critical
Found in Version:

Description

this does happen when running mvn install locally, strangly this seems not to be a problem for the http://int.e-taxonomy.eu/jenkins/job/taxeditor-INTEGRATION/ job

Due to this problem the full build fails with:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project eu.etaxonomy.taxeditor: Failed to install artifact eu.etaxonomy:eu.etaxonomy.taxeditor:zip:eu.etaxonomy.taxeditor.product.executable.cocoa.macosx.x86_64:5.13.0-SNAPSHOT: /home/andreas/workspaces/cdm/taxeditor/eu.etaxonomy.taxeditor/target/extraArtifacts/eu.etaxonomy.taxeditor.product.executable.cocoa.macosx.x86_64.zip (No such file or directory) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project eu.etaxonomy.taxeditor: Failed to install artifact eu.etaxonomy:eu.etaxonomy.taxeditor:zip:eu.etaxonomy.taxeditor.product.executable.cocoa.macosx.x86_64:5.13.0-SNAPSHOT: /home/andreas/workspaces/cdm/taxeditor/eu.etaxonomy.taxeditor/target/extraArtifacts/eu.etaxonomy.taxeditor.product.executable.cocoa.macosx.x86_64.zip (No such file or directory)

Associated revisions

Revision 959179bc (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #8868, ref #8873 fixing build lifecycle for maven 3.6.*

History

#1 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#2 Updated by Andreas Kohlbecker about 1 month ago

my local environment:

Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: /opt/java-oracle/jdk1.8.0_131/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.3.0-40-generic", arch: "amd64", family: "unix"

#3 Updated by Andreas Kohlbecker about 1 month ago

Jenkins fails with the same error when http://int.e-taxonomy.eu/jenkins/job/taxeditor-INTEGRATION/ is build with maven 3.6.0

#4 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from New to In Progress
  • Target version changed from Release 5.14 to Release 5.13

#5 Updated by Andreas Kohlbecker about 1 month ago

build with maven 3.6.0

[INFO] ----------------< eu.etaxonomy:eu.etaxonomy.taxeditor >-----------------
[INFO] Building EDIT Taxonomic Editor Product 5.13.0-SNAPSHOT           [16/17]
[INFO] -------------------------[ eclipse-repository ]-------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ eu.etaxonomy.taxeditor ---
[INFO] The project's OSGi version is 5.13.0.202003021508
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ eu.etaxonomy.taxeditor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/andreas/workspaces/cdm/taxeditor/eu.etaxonomy.taxeditor/src/main/resources
[INFO]
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-products (default-publish-products) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-categories (default-publish-categories) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:1.0.0:attach-artifacts (default-attach-artifacts) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.0.0:assemble-repository (default-assemble-repository) @ eu.etaxonomy.taxeditor ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.0.0:archive-repository (default-archive-repository) @ eu.etaxonomy.taxeditor ---
[INFO] Building zip: /home/andreas/workspaces/cdm/taxeditor/eu.etaxonomy.taxeditor/target/eu.etaxonomy.taxeditor-5.13.0-SNAPSHOT.zip
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ eu.etaxonomy.taxeditor >>>
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ eu.etaxonomy.taxeditor ---
[INFO] The project's OSGi version is 5.13.0.202003021508
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ eu.etaxonomy.taxeditor ---
[INFO] Deleting /home/andreas/workspaces/cdm/taxeditor/eu.etaxonomy.taxeditor/target
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ eu.etaxonomy.taxeditor <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ eu.etaxonomy.taxeditor ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ eu.etaxonomy.taxeditor ---

maven 3.0.*

[INFO] ------------------------------------------------------------------------
[INFO] Building EDIT Taxonomic Editor Product 5.13.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- wagon-maven-plugin:1.0:sshexec (delete_update_site) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ eu.etaxonomy.taxeditor ---
[INFO] The project's OSGi version is 5.13.0.202002282351
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ eu.etaxonomy.taxeditor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/taxeditor-INTEGRATION/eu.etaxonomy.taxeditor/src/main/resources
[INFO] 
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-products (default-publish-products) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-p2-publisher-plugin:1.0.0:publish-categories (default-publish-categories) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-p2-publisher-plugin:1.0.0:attach-artifacts (default-attach-artifacts) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-p2-repository-plugin:1.0.0:assemble-repository (default-assemble-repository) @ eu.etaxonomy.taxeditor ---
[INFO] 
[INFO] --- tycho-p2-repository-plugin:1.0.0:archive-repository (default-archive-repository) @ eu.etaxonomy.taxeditor ---
[INFO] Building zip: /var/lib/jenkins/workspace/taxeditor-INTEGRATION/eu.etaxonomy.taxeditor/target/eu.etaxonomy.taxeditor-5.13.0-SNAPSHOT.zip
[INFO] 
[INFO] --- tycho-p2-director-plugin:1.0.0:materialize-products (materialize-products) @ eu.etaxonomy.taxeditor ---
[INFO] --- tycho-p2-director-plugin:1.0.0:archive-products (archive-products) @ eu.etaxonomy.taxeditor ---
[INFO] --- wagon-maven-plugin:1.0:upload (default) @ eu.etaxonomy.taxeditor ---

#6 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)