incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1224976 - in /incubator/lcf/branches/CONNECTORS-335/connectors: activedirectory/ alfresco/ cmis/ filesystem/ gts/ jcifs/ jdbc/ nullauthority/ nulloutput/ opensearchserver/ rss/ solr/ webcrawler/ wiki/
Date Tue, 27 Dec 2011 19:03:47 GMT
Author: kwright
Date: Tue Dec 27 19:03:46 2011
New Revision: 1224976

URL: http://svn.apache.org/viewvc?rev=1224976&view=rev
Log:
Use the maven ant task

Modified:
    incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/cmis/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/gts/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/rss/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/solr/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/pom.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/wiki/pom.xml

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/pom.xml Tue Dec 27 19:03:46
2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/pom.xml Tue Dec 27 19:03:46
2011
@@ -72,20 +72,35 @@
     </resources>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/cmis/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/cmis/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/cmis/pom.xml Tue Dec 27 19:03:46 2011
@@ -52,20 +52,35 @@
     <plugins>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/pom.xml Tue Dec 27 19:03:46
2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/gts/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/gts/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/gts/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/gts/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/pom.xml Tue Dec 27 19:03:46
2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/pom.xml Tue Dec 27 19:03:46
2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/pom.xml Tue Dec 27 19:03:46
2011
@@ -47,20 +47,35 @@
     </resources>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/rss/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/rss/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/rss/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/rss/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/solr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/solr/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/solr/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/solr/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/src/main/native2ascii"
+                  dest="${basedir}/target/classes"
+                  includes="**/*.utf8"
+                  ext=""
+                  encoding="UTF-8"/>
+              </tasks>
+       
             </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
           </execution>
         </executions>
+       
       </plugin>
     </plugins>
   </build>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/pom.xml Tue Dec 27 19:03:46
2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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>

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/wiki/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/wiki/pom.xml?rev=1224976&r1=1224975&r2=1224976&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/wiki/pom.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/wiki/pom.xml Tue Dec 27 19:03:46 2011
@@ -33,20 +33,35 @@
     <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory>
     <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>
-              <workDir>${basedir}/connector/src/main/native2ascii</workDir>
+              <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}/connector/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