You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Sturzenhecker (JIRA)" <ji...@codehaus.org> on 2006/11/22 16:52:31 UTC

[jira] Created: (MASSEMBLY-161) Archive Configuration ignored

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


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

        

[jira] Updated: (MASSEMBLY-161) Archive Configuration ignored

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Closed: (MASSEMBLY-161) Archive Configuration ignored

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MASSEMBLY-161) Archive Configuration ignored

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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