Hi Experts,
I have a OSGi plugin project and I'm creating a jar using
'mvn install'
Packaging type = 'jar'
I have done few changes in MANIFEST.MF in this plugin, which
i want to bundle/copy inside this jar.
Defined resource as:
<resource>
<directory>${basedir}/META-INF</directory>
<includes>
<include>MANIFEST.MF</include>
</includes>
<targetPath>META-INF</targetPath>
</resource>
But the problem is original MANIFEST.MF is not copied to
META-INF folder of the jar, rather it's a empty MANIFEST with
just some basic information like:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: I045564
Build-Jdk: 1.6.0_29
If i don't give <targetPath> tag, then original
MANIFEST.MF is copied to root directory of the jar rather in
META-INF folder.
How do i overwrite plugin MANIFEST.MF on META-INF/MANIFEST.MF
?
Please help.
Best Regards,
Piyush
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users