manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1224975 - /incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml
Date Tue, 27 Dec 2011 18:53:36 GMT
Author: kwright
Date: Tue Dec 27 18:53:36 2011
New Revision: 1224975

URL: http://svn.apache.org/viewvc?rev=1224975&view=rev
Log:
Try using ant task plugin instead of native2ascii, which has problems.

Modified:
    incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml

Modified: incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml?rev=1224975&r1=1224974&r2=1224975&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/core/pom.xml Tue Dec 27 18:53:36 2011
@@ -31,19 +31,35 @@
   <build>
     <plugins>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>native2ascii-maven-plugin</artifactId>
-        </executions>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
           <execution>
-            <goals>
-              <goal>native2ascii</goal>
-            </goals>
-            <!-- specific configurations -->
+            <id>process-resources</id>
+            <phase>process-resources</phase>
             <configuration>
-              <encoding>UTF8</encoding>
+              <tasks>
+                <taskdef name="native2ascii"
+                  classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"
+                  classpathref="maven.dependency.classpath">
+                  <classpath>
+                    <pathelement path="maven.dependency.classpath"/>
+                  </classpath>
+                </taskdef>
+                <native2ascii src="${basedir}/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>



Mime
View raw message