You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Benson Margulies <be...@basistech.com> on 2014/11/26 17:17:07 UTC

Avoiding 'Built-By' in the MANIFEST.MF

In spite of the configuration below, the maven-bundle-plugin
stubbornly insists on adding Built-By to the manifest. Is there any
way to discourage it?

                    <configuration>
                        <archive>
                            <addMavenDescriptor>false</addMavenDescriptor>
                            <manifest>

<addDefaultImplementationEntries>false</addDefaultImplementationEntries>
                            </manifest>
                        </archive>
                    </configuration>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Avoiding 'Built-By' in the MANIFEST.MF

Posted by Ivan Grimaldi <ei...@gmail.com>.
I solved by adding "_removeheaders" element in pom.xml plugin configuration
section, listing headers not to be included in the generated manifest:

<configuratiion>
 <instructions>
  <_removeheaders>Bnd-LastModified, Built-By, Build-Jdk</_removeheaders>
</instructions>
</configuration>



2014-11-26 17:17 GMT+01:00 Benson Margulies <be...@basistech.com>:

> In spite of the configuration below, the maven-bundle-plugin
> stubbornly insists on adding Built-By to the manifest. Is there any
> way to discourage it?
>
>                     <configuration>
>                         <archive>
>                             <addMavenDescriptor>false</addMavenDescriptor>
>                             <manifest>
>
> <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
>                             </manifest>
>                         </archive>
>                     </configuration>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>