maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MSHADE-20) Take care of Manifest attributes defined in maven-jar-plugin
Date Mon, 03 Mar 2008 11:34:29 GMT
Take care of Manifest attributes defined in maven-jar-plugin
------------------------------------------------------------

                 Key: MSHADE-20
                 URL: http://jira.codehaus.org/browse/MSHADE-20
             Project: Maven 2.x Shade Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Vincent Siveton


Using the following in the POM

{code:xml} 
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>MyMainClass</mainClass>
              ...
            </manifest>
          </archive>
        </configuration>
      </plugin>
{code} 

The manifest in the generated artifact has a Main-Class attribute but it is not present in
the *uber.jar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message