Add configuration for maven exec plugin.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 19 Sep 2012 20:18:50 +0000 (22:18 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 06:49:34 +0000 (08:49 +0200)
This will allow “mvn exec:java” to run jSite.

pom.xml

diff --git a/pom.xml b/pom.xml
index 574c52b..4d9b0e3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>exec-maven-plugin</artifactId>
+                               <version>1.2.1</version>
+                               <configuration>
+                                       <mainClass>de.todesbaum.jsite.main.Main</mainClass>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
        <reporting>