Hi Geoffry,

Geoffrey wrote on Thursday, February 26, 2004 10:37 AM:
> Hi all,
> 
> I recently started using Maven, generated a directory with
> the genapp goal and did maven jar. Everything is in the jar
> as it should, except my Main-class attribute isn't set. If
> that is set, then users can open my J2SE application by just double
> clicking on the jar. 
> 
> Can I tell Maven in the POM what my main class for the jar is?

Look here: http://maven.apache.org/reference/plugins/jar/properties.html

The property is maven.jar.mainclass

Regards,
J�rg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to