Hi All,

How to remove maven related files like maven folder / pom.xml /
pom.properties files from the jar file being created, i have the following
in my pom, but still seeing the maven directory with pom / .xml/.properties
under META-INF directory, my jar plugin version is 2.2
<build>
     <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jar-plugin</artifactId>
                        <executions>
                                <execution>
                                        <id>CUSTOM-MANIFEST</id>
                                        <goals>
                                                <goal>jar</goal>
                                        </goals>
                                        <configuration>
                                                <archive>

<manifestFile>${basedir}/../wsear/META-INF/MANIFEST.MF</manifestFile>
<addMavenDescriptor>false</addMavenDescriptor>
                                                </archive>
                                        </configuration>
                                </execution>
                        </executions>
                </plugin>
       </plugins>
   </build>


Please help

Reply via email to