Author: michiel
Date: 2010-07-02 13:32:46 +0200 (Fri, 02 Jul 2010)
New Revision: 42795
Modified:
mmbase/trunk/maven-base/pom.xml
Log:
made mainClass configurable
Modified: mmbase/trunk/maven-base/pom.xml
===================================================================
--- mmbase/trunk/maven-base/pom.xml 2010-07-02 07:05:28 UTC (rev 42794)
+++ mmbase/trunk/maven-base/pom.xml 2010-07-02 11:32:46 UTC (rev 42795)
@@ -53,6 +53,8 @@
<org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width>
<org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.indentCasesFromSwitch>false</org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.indentCasesFromSwitch>
+ <jar.mainClass></jar.mainClass>
+
</properties>
<build>
@@ -150,6 +152,7 @@
<archive>
<manifest>
<addClasspath>true</addClasspath>
+ <mainClass>${jar.mainClass}</mainClass>
</manifest>
<manifestEntries>
<url>${pom.url}</url>
@@ -321,6 +324,7 @@
<showDeprecation>false</showDeprecation>
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs