You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by kw...@apache.org on 2022/12/15 21:07:42 UTC

[jackrabbit-oak] branch bugfix/OAK-10032-fix-execution-order-of-assembly-and-antrun created (now a1c1e5d355)

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a change to branch bugfix/OAK-10032-fix-execution-order-of-assembly-and-antrun
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


      at a1c1e5d355 OAK-10032 ensure that m-antrun-p execution comes after m-assembly-p

This branch includes the following new commits:

     new a1c1e5d355 OAK-10032 ensure that m-antrun-p execution comes after m-assembly-p

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[jackrabbit-oak] 01/01: OAK-10032 ensure that m-antrun-p execution comes after m-assembly-p

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch bugfix/OAK-10032-fix-execution-order-of-assembly-and-antrun
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit a1c1e5d355f1c9741601e82d7d96aaac8803b9f8
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Dec 15 22:07:34 2022 +0100

    OAK-10032 ensure that m-antrun-p execution comes after m-assembly-p
    
    Given them separate phases is the safest approach as according to
    https://issues.apache.org/jira/browse/MNG-5987: "it was documented and
    chosen that order of execution is not something you cannot count on:
    phases are ordered, mojos in a phase simply are not"
---
 oak-run/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/oak-run/pom.xml b/oak-run/pom.xml
index 68a26bbaa7..8a305d841f 100644
--- a/oak-run/pom.xml
+++ b/oak-run/pom.xml
@@ -117,7 +117,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <phase>package</phase>
+            <!-- ensure this comes after execution "create-oak" from maven-assembly-plugin -->
+            <phase>pre-integration-test</phase>
             <configuration>
               <target>
                 <!--