You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/05/19 19:21:42 UTC

[uima-parent-pom] branch refactoring/UIMA-6460-Move-tycho-and-auto-staging-to-parent-pom created (now a7f00a0)

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

rec pushed a change to branch refactoring/UIMA-6460-Move-tycho-and-auto-staging-to-parent-pom
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git


      at a7f00a0  [UIMA-6460] Move tycho and auto-staging to parent pom

This branch includes the following new commits:

     new a7f00a0  [UIMA-6460] Move tycho and auto-staging to parent pom

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.



[uima-parent-pom] 01/01: [UIMA-6460] Move tycho and auto-staging to parent pom

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

rec pushed a commit to branch refactoring/UIMA-6460-Move-tycho-and-auto-staging-to-parent-pom
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git

commit a7f00a0b4036b73ecd08cf426283f486353e13a9
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Thu May 19 21:21:38 2022 +0200

    [UIMA-6460] Move tycho and auto-staging to parent pom
    
    - Need to ensure that staged files have consistent line endings, otherwise we cannot commit them to svn
---
 pom.xml | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b69ec54..897283b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -659,6 +659,28 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
+          <execution>
+            <id>fix-text-file-line-endings</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>compile</phase>
+            <configuration>
+              <target>
+                <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" />
+                <if>
+                  <available file="${project.build.outputDirectory}" />
+                  <then>
+                    <fixcrlf srcdir="${project.build.outputDirectory}">
+                      <include name="**/META-INF/DEPENDENCIES" />
+                      <include name="**/META-INF/LICENSE" />
+                      <include name="**/META-INF/NOTICE" />
+                    </fixcrlf>
+                  </then>
+                </if>
+              </target>
+            </configuration>
+          </execution>
           <execution>
             <id>dup-meta-jar-cleanup</id>
             <goals>
@@ -672,7 +694,7 @@
               </target>
             </configuration>
           </execution>
-        </executions>
+                 </executions>
       </plugin>
 
       <plugin>