OSDN Git Service

introduce native2ascii plugin, and update dependency plugin
authortama3 <tama3@acee48c3-7b26-0410-bdac-b3d0e5314bbc>
Mon, 10 Sep 2007 10:02:05 +0000 (10:02 +0000)
committertama3 <tama3@acee48c3-7b26-0410-bdac-b3d0e5314bbc>
Mon, 10 Sep 2007 10:02:05 +0000 (10:02 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/stigmata/trunk@192 acee48c3-7b26-0410-bdac-b3d0e5314bbc

pom.xml

diff --git a/pom.xml b/pom.xml
index 796729a..9f99539 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
       <groupId>edu.stanford.ejalbert</groupId>
       <artifactId>BrowserLauncher2</artifactId>
       <version>1.3</version>
-      <scope>compile</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>junit</groupId>
       </plugin>
 
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>dependency-maven-plugin</artifactId>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           <execution>
             <id>copy-dependencies</id>
             </goals>
             <configuration>
               <outputDirectory>${project.build.directory}</outputDirectory>
+              <includeScope>runtime</includeScope>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>native2ascii-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>native2ascii</goal>
+            </goals>
+            <phase>process-resources</phase>
+            <configuration>
+              <dest>${project.build.directory}/classes</dest>
+              <src>${basedir}/src/main/resources</src>
+              <includes>**/*.source</includes>
+              <ext>.properties</ext>
+              <encoding>shift_jis</encoding>
             </configuration>
           </execution>
         </executions>