[ 
https://jira.codehaus.org/browse/MSOURCES-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MSOURCES-53.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Olivier Lamy
    
> defaultManifestFile should not be readonly
> ------------------------------------------
>
>                 Key: MSOURCES-53
>                 URL: https://jira.codehaus.org/browse/MSOURCES-53
>             Project: Maven 2.x Source Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Philippe Marschall
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: maven-source-plugin.patch
>
>
> The location of the default manifest file is hardcoded to 
> {code}${project.build.outputDirectory}/META-INF/MANIFEST.MF{code} with no 
> possibility to change it (@readonly). We have a case where we need to have a 
> different manifest in the source jar than in the binary jar. Currently we can 
> not do this with the Maven Source Plugin because we can't make it use a 
> different manifest.
> The reason we need to have a different manifest in the source jar than the 
> binary jar is that we generate manifests for OSGi bundles. The source jar 
> needs to be a so called source bundle which means having different manifest 
> headers. Unfortunately the logic for generating those headers is a bit 
> complicated so it can't be done with a MavenArchiveConfiguration but has to 
> be done with a custom plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to