Return to Snippet

Revision: 53167
at November 15, 2011 13:37 by thomasan


Initial Code
<build>
  <plugins>
    <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
        <descriptorRefs>
          <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
        <archive>
          <manifest>
            <mainClass>fully.qualified.MainClass</mainClass>
          </manifest>
        </archive>
      </configuration>
    </plugin>
  </plugins>
</build>

Initial URL

                                

Initial Description
see the maven-assembly-plugin doc for detail.
http://maven.apache.org/plugins/maven-assembly-plugin/

Initial Title
configure pom.xml to generate runnable jar

Initial Tags

                                

Initial Language
Scala