Print

Print


Commit in lcsim on MAIN
pom.xml+5-351.31 -> 1.32
JM: add generation of portable run script to lcsim build

lcsim
pom.xml 1.31 -> 1.32
diff -u -r1.31 -r1.32
--- pom.xml	2 Sep 2008 20:20:42 -0000	1.31
+++ pom.xml	4 Sep 2008 23:07:13 -0000	1.32
@@ -101,54 +101,24 @@
                     </excludes>
                 </configuration>
             </plugin>
-            <!-- generates full classpath file -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>build-classpath</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>build-classpath</goal>
-                        </goals>
-                        <configuration>
-                            <outputFile>${project.build.directory}/classpath.txt</outputFile>
-                            <regenerateFile>true</regenerateFile>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <!-- generates Driver services file -->
-<!--
             <plugin>
                 <groupId>org.lcsim</groupId>
-                <artifactId>maven-service-plugin</artifactId>
+                <artifactId>run-script-maven-plugin</artifactId>
                 <version>1.0-SNAPSHOT</version>
                 <executions>
                     <execution>
-                        <id>generate-service-file</id>
+                        <id>generate-run-script</id>
                         <phase>package</phase>
                         <goals>
-                            <goal>generate-service-file</goal>
+                            <goal>generate-run-script</goal>
                         </goals>
                         <configuration>
-                            <scanDir>${project.build.outputDirectory}</scanDir>
-                            <className>org.lcsim.util.Driver</className>
-                            <outputDirectory>${basedir}/resources/META-INF/services/</outputDirectory>
-                            <classPathFile>${project.build.directory}/classpath.txt</classPathFile>
+                            <mainClass>org.lcsim.job.JobControlManager</mainClass>
+                            <scriptName>lcsim</scriptName>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>org.lcsim.job.JobControlManager</mainClass>
-                </configuration>
-            </plugin>
--->
         </plugins>
     </build>
     <dependencies>
CVSspam 0.2.8