[
http://jira.codehaus.org/browse/MASSEMBLY-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Casey updated MASSEMBLY-161:
---------------------------------
Fix Version/s: (was: 2.2)
2.2-beta-1
> 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
> Assigned To: John Casey
> Priority: Blocker
> Fix For: 2.2-beta-1
>
>
> 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