Centralize MANIFEST clean
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 25 Oct 2012 15:12:55 +0000 (15:12 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 25 Oct 2012 15:12:55 +0000 (15:12 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@5650 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

pom.xml

diff --git a/pom.xml b/pom.xml
index 38033c312f55714f714305a7475c058e7fe86897..baf0c909559e234e91b57298185c016f8dde4e87 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
@@ -125,6 +126,16 @@ limitations under the License.
                                <plugin>
                                        <artifactId>maven-clean-plugin</artifactId>
                                        <version>2.4.1</version>
+                                       <configuration>
+                                               <filesets>
+                                                       <fileset>
+                                                               <directory>META-INF</directory>
+                                                               <includes>
+                                                                       <include>MANIFEST.MF</include>
+                                                               </includes>
+                                                       </fileset>
+                                               </filesets>
+                                       </configuration>
                                </plugin>
                                <plugin>
                                        <artifactId>maven-surefire-plugin</artifactId>