Commit in lcsim on MAIN
pom.xml+391.27 -> 1.28
JM: add generation of dependency classpath and services file to lcsim build

lcsim
pom.xml 1.27 -> 1.28
diff -u -r1.27 -r1.28
--- pom.xml	23 Jul 2008 23:04:41 -0000	1.27
+++ pom.xml	28 Aug 2008 21:39:44 -0000	1.28
@@ -101,6 +101,45 @@
                     </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>
+                <version>1.0-SNAPSHOT</version>
+                <executions>
+                    <execution>
+                        <id>generate-service-file</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>generate-service-file</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>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <dependencies>
CVSspam 0.2.8