0 Replies Latest reply on Feb 7, 2011 1:29 PM by Eric J. Van der Velden

    Main-Class in MANIFEST.MF in SE's example hello-world

    Eric J. Van der Velden Newbie

      Hello,


      In the SE example hello-world 's POM file is written


      <build>
            <plugins>
               <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-jar-plugin</artifactId>
                  <configuration>
                     <archive>
                        <manifest>
                           <mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
                        </manifest>
                     </archive>
                  </configuration>
               </plugin>
            </plugins>
         </build>


      Because of this, there appears a line in MANIFEST.MF,


      Main-Class: org.jboss.weld.environment.se.StartMain


      Why is this important? What does it do?


      Thanks,


      Eric J.