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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new f5071db  ISIS-2955: kroviz: fixes packaging phase on windows
f5071db is described below

commit f5071db611cee732c3ed0563feaaa26f8a4218cb
Author: Andi Huber <[email protected]>
AuthorDate: Mon Feb 7 19:13:34 2022 +0100

    ISIS-2955: kroviz: fixes packaging phase on windows
---
 incubator/clients/kroviz/pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/incubator/clients/kroviz/pom.xml b/incubator/clients/kroviz/pom.xml
index c74e641..e2f0e31 100644
--- a/incubator/clients/kroviz/pom.xml
+++ b/incubator/clients/kroviz/pom.xml
@@ -125,6 +125,7 @@
                             </arguments>
                         </configuration>
                     </execution>
+                    <!-- DOES NOT WORK ON WINDOWS (replaced by ant-tasks below 
...)
                     <execution>
                         <id>copy-jar</id>
                         <phase>prepare-package</phase>
@@ -153,6 +154,28 @@
                                 </argument>
                             </arguments>
                         </configuration>
+                    </execution> -->
+                </executions> 
+            </plugin>
+            
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <configuration>
+                            <target>
+                                <copy
+                                       
file="${project.basedir}/build/libs/kroviz-${project.version}.jar" 
+                                       todir="${project.build.directory}" />
+                                       <move 
+                                               
file="${project.build.directory}/kroviz-${project.version}.jar" 
+                                               
tofile="${project.build.directory}/${project.artifactId}-${project.version}.jar"
 />
+                            </target>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
                     </execution>
                 </executions>
             </plugin>

Reply via email to