>From this guide : http://maven.apache.org/guides/mini/guid-manifest.html

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>com.mycompany.app.App</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>

There you go :)

On 1/11/06, Uijin Hong <[EMAIL PROTECTED]> wrote:
> dear maven community.
>
> i wonder how can i set "Main-Class: " at "MANIFEST.MF".
> i consulted jar plugin's site already but, i can find nothing about this
> issue.
>
> it was not that difficult when i was using maven 1.x. but 2.0 is totally new
> to me.
>
> can someone please give me a hint?
>
> thanks.
>
>



--
Alexandre Poitras
Québec, Canada

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

Reply via email to