I have been able to
narrow down where the delete occurs during the build. The build
message in red is where
the 'target' directory gets damaged.
I was even able to reduce, but not eliminate, the number of
directories and files that get deleted. Changing the goal from
'test' to 'integration-test' reduced, but not eliminate, the number of
directories and files that get deleted under the 'target'
directory.
Another interesting note. There are fewer steps in the build
when 'integration-test' is added as
goal, which is counter intuitive.
========== with integration-test ===========
[INFO]
------------------------------------------------------------------------
[INFO] Building Usque - application product 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
software.usque.app.product ---
[INFO] Deleting
C:\gitUsque02Repo\products\software.usque.app.product\target
[INFO]
[INFO] ---
tycho-packaging-plugin:0.25.0:build-qualifier-aggregator
(default-build-qualifier-aggregator) @ software.usque.app.product
---
[INFO] The project's OSGi version is 0.0.1.201606230039
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
software.usque.app.product ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ software.usque.app.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\products\software.usque.app.product\src\main\resources
[INFO]
[INFO] --- target-platform-configuration:0.25.0:target-platform
(default-target-platform) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-products
(default-publish-products) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-categories
(default-publish-categories) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:attach-artifacts
(default-attach-artifacts) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:assemble-repository
(default-assemble-repository) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:archive-repository
(default-archive-repository) @ software.usque.app.product ---
[INFO] Building zip:
C:\gitUsque02Repo\products\software.usque.app.product\target\software.usque.app.product-0.0.1-SNAPSHOT.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:materialize-products
(materialize-products) @ software.usque.app.product ---
[INFO] Installing product software.usque.app-product for
environment win32/win32/x86_64 to
C:\gitUsque02Repo\products\software.usque.app.product\target\products\software.usque.app-product\win32\win32\x86_64
Installing software.usque.app-product 1.0.0.
Operation completed in 11913 ms.
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:archive-products
(archive-products) @ software.usque.app.product ---
[INFO] Building zip:
C:\gitUsque02Repo\products\software.usque.app.product\target\products\software.usque.app-product-win32.win32.x86_64.zip
[INFO]
[INFO] ---
tycho-packaging-plugin:0.25.0:build-qualifier-aggregator
(default-build-qualifier-aggregator) @
software.usque.app.product ---
[INFO] The project's OSGi version is 0.0.1.201606230039
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean
(default-clean-1) @ software.usque.app.product ---
[INFO] Deleting
C:\gitUsque02Repo\products\software.usque.app.product\target
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ software.usque.app.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\products\software.usque.app.product\src\main\resources
[INFO]
[INFO] ---
target-platform-configuration:0.25.0:target-platform
(default-target-platform) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-products
(default-publish-products) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-categories
(default-publish-categories) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:attach-artifacts
(default-attach-artifacts) @ software.usque.app.product ---
[INFO]
[INFO] ---
tycho-p2-repository-plugin:0.25.0:assemble-repository
(default-assemble-repository) @ software.usque.app.product ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] software.usque.root ................................
SUCCESS [ 0.144 s]
.
.
.
========== without integration-test ===========
[INFO]
------------------------------------------------------------------------
[INFO] Building Usque - application product 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
software.usque.app.product ---
[INFO] Deleting
C:\gitUsque02Repo\products\software.usque.app.product\target
[INFO]
[INFO] ---
tycho-packaging-plugin:0.25.0:build-qualifier-aggregator
(default-build-qualifier-aggregator) @ software.usque.app.product
---
[INFO] The project's OSGi version is 0.0.1.201606230053
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
software.usque.app.product ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ software.usque.app.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\products\software.usque.app.product\src\main\resources
[INFO]
[INFO] --- target-platform-configuration:0.25.0:target-platform
(default-target-platform) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-products
(default-publish-products) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-categories
(default-publish-categories) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:attach-artifacts
(default-attach-artifacts) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:assemble-repository
(default-assemble-repository) @ software.usque.app.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:archive-repository
(default-archive-repository) @ software.usque.app.product ---
[INFO] Building zip:
C:\gitUsque02Repo\products\software.usque.app.product\target\software.usque.app.product-0.0.1-SNAPSHOT.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:materialize-products
(materialize-products) @ software.usque.app.product ---
[INFO] Installing product software.usque.app-product for
environment win32/win32/x86_64 to
C:\gitUsque02Repo\products\software.usque.app.product\target\products\software.usque.app-product\win32\win32\x86_64
Installing software.usque.app-product 1.0.0.
Operation completed in 11784 ms.
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:archive-products
(archive-products) @ software.usque.app.product ---
[INFO] Building zip:
C:\gitUsque02Repo\products\software.usque.app.product\target\products\software.usque.app-product-win32.win32.x86_64.zip
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building software.usque.site 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
software.usque.site ---
[INFO] Deleting C:\gitUsque02Repo\sites\software.usque.site\target
[INFO]
[INFO] ---
tycho-packaging-plugin:0.25.0:build-qualifier-aggregator
(default-build-qualifier-aggregator) @ software.usque.site ---
[INFO] The project's OSGi version is 0.0.1.201606230053
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
software.usque.site ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ software.usque.site ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\sites\software.usque.site\src\main\resources
[INFO]
[INFO] --- target-platform-configuration:0.25.0:target-platform
(default-target-platform) @ software.usque.site ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-products
(default-publish-products) @ software.usque.site ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:publish-categories
(default-publish-categories) @ software.usque.site ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.25.0:attach-artifacts
(default-attach-artifacts) @ software.usque.site ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:assemble-repository
(default-assemble-repository) @ software.usque.site ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.25.0:archive-repository
(default-archive-repository) @ software.usque.site ---
[INFO] Building zip:
C:\gitUsque02Repo\sites\software.usque.site\target\software.usque.site-0.0.1-SNAPSHOT.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:materialize-products
(materialize-products) @ software.usque.site ---
[INFO] No product definitions found. Nothing to do.
[INFO]
[INFO] --- tycho-p2-director-plugin:0.25.0:archive-products
(archive-products) @ software.usque.site ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building software.usque.releng 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
software.usque.releng ---
[INFO] Deleting
C:\gitUsque02Repo\releng\software.usque.releng\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources
(default-resources) @ software.usque.releng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\releng\software.usque.releng\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
software.usque.releng ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ software.usque.releng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\gitUsque02Repo\releng\software.usque.releng\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile
(default-testCompile) @ software.usque.releng ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @
software.usque.releng ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @
software.usque.releng ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
C:\gitUsque02Repo\releng\software.usque.releng\target\software.usque.releng-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources
(copy-and-filter-allatori-config) @ software.usque.releng ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (run-allatori) @
software.usque.releng ---
################################################
# #
# ## # # ## ### ### ## ### #
# # # # # # # # # # # # # #
# ### # # ### # # # ## # #
# # # ### ### # # # ### # # ### #
# #
# DEMO VERSION! #
# NOT FOR COMMERCIAL USE! #
# #
# Demo version adds System.out's #
# and gives 'ALLATORI_DEMO' name #
# to some fields and methods. #
# #
# #
# Obfuscation by Allatori Obfuscator v5.7 DEMO #
# #
#
http://www.allatori.com #
# #
################################################
[INFO] Obfuscation completed. Writing log file...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] software.usque.root ................................
SUCCESS [ 0.137 s]
On 6/22/2016 3:13 AM, Sievers, Jan wrote: