this is my pom, it works fine!

<build>
        <plugins>
                <!-- PLUGIN: jar -->
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jar-plugin</artifactId>
                        <configuration>
                                <archive>
                                        <manifest>
                                                <!-- Configure this for different 
project -->
                                                
<mainClass>com.mycompany.app.App</mainClass>
                                        </manifest>
                                </archive>
                        </configuration>
                </plugin>

Best Regards,

Manchi Leung


On Dec 31, 2005, at 5:34 AM, Jochen Wiedmann wrote:


Hi,

how do I add manifest entries to the generated Jar file? I have tried various things in the style of

      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <manifestEntries>
                <manifestEntry>
                  <key>Name</key>
                  <value>org/apache/xmlrpc/</value>
                </manifestEntry>
              </manifestEntries>
            </manifest>
          </archive>
        </configuration>
      </plugin>

none of which seem to be working?


Regards,

Jochen


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


Reply via email to