I find the solution J
<!-- To remove Maven generated archives include the META-INF/maven directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
Thanks a lot Jan your indication was so helpfull for me J
From: Maherzia BELAAZI
Sent: vendredi 28 mars 2014 08:19
To: Tycho user list
Subject: RE: maven folder added issue
Thanks Jan for your answer.
But despite I set addMavenDescriptor=false I get always maven” folder under “META-INF”.
Do you have please an idea about it ?
Best regards,
Maherzia
both package-feature [1] and package-plugin mojos have an archive configuration section.
You can configure addMavenDescriptor=false as per [3].
Regards
Jan
[1] http://www.eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-feature-mojo.html
[2] http://www.eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html
[3] http://maven.apache.org/guides/mini/guide-archive-configuration.html
Hello,
While generating an eclipse rcp using tycho, I noted that all the compiled plugins/features contain a “maven” folder under “META-INF”.
This folder is increasing the size of the generated product (comparing to my previous ant build system)
How could I remove these maven folder ?
Thanks in advance,
Best regards,
Maherzia