You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/01/12 07:36:21 UTC
[jira] Closed: (MASSEMBLY-161) Archive Configuration ignored
[ http://jira.codehaus.org/browse/MASSEMBLY-161?page=all ]
John Casey closed MASSEMBLY-161.
--------------------------------
Assignee: John Casey
Resolution: Fixed
fixed, deployed snapshot should be hitting the repository in a minute.
> 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
>
>
> 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