maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-161) Archive Configuration ignored
Date Thu, 11 Jan 2007 21:27:21 GMT
     [ http://jira.codehaus.org/browse/MASSEMBLY-161?page=all ]

John Casey updated MASSEMBLY-161:
---------------------------------

         Priority: Blocker  (was: Major)
    Fix Version/s: 2.2

> Archive Configuration ignored
> -----------------------------
>
>                 Key: MASSEMBLY-161
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-161
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Martin Sturzenhecker
>            Priority: Blocker
>             Fix For: 2.2
>
>
> I'd like to create executable .jar files. 
> I tried
> {code:xml}
> <executions>
>   <execution>
>     <id>makeExecJar_1</id>
>     <phase>package</phase> 
>     <goals>
>       <goal>attached</goal>
>     </goals>
>     <configuration>
>       <descriptors>
>         <descriptor>assembly/my-assembly.xml</descriptor>
>       </descriptors>
>       <finalName>../../target/dist/final-1</finalName>
>       <archive>
>         <addMavenDescriptor>false</addMavenDescriptor>
>         <manifest>
>           <mainClass>my.package.MyMainClass</mainClass>
>         </manifest>
>       </archive>
>     </configuration>
>   </execution>
> </executions>
> {code}
> as well as
> {code:xml}
> <executions>
>   <execution>
>     <id>makeExecJar_1</id>
>     <phase>package</phase> 
>     <goals>
>       <goal>attached</goal>
>     </goals>
>     <configuration>
>       <descriptors>
>         <descriptor>assembly/my-assembly.xml</descriptor>
>       </descriptors>
>       <finalName>../../target/dist/final-1</finalName>
>       <archive>
>         <addMavenDescriptor>false</addMavenDescriptor>
>         <manifestFile>MY_MANIFEST.MF</manifestFile>
>       </archive>
>     </configuration>
>   </execution>
> </executions>
> {code}
> The result is the same. In the final jar file
> * maven descriptors are added
> * standard {{MANIFEST.MF}} is used

-- 
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