Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > a1593b754c4da59ee827ecc476d76125 > files > 1

maven-license-plugin-1.8.0-2.mga5.src.rpm

From a1f7f0c16eb2333e527448c2e48a512ef8da50ed Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Tue, 24 Apr 2012 09:04:34 +0200
Subject: [PATCH] Fix build by removing some unneeded dependencies

---
 pom.xml |   72 ++++++--------------------------------------------------------
 1 files changed, 7 insertions(+), 65 deletions(-)

diff --git a/pom.xml b/pom.xml
index a806a49..e806c77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -147,14 +147,6 @@
             </plugin>
             <!-- IDE descriptors -->
             <plugin>
-                <artifactId>maven-eclipse-plugin</artifactId>
-                <configuration>
-                    <downloadSources>true</downloadSources>
-                    <downloadJavadocs>false</downloadJavadocs>
-                    <addVersionToProjectName>true</addVersionToProjectName>
-                </configuration>
-            </plugin>
-            <plugin>
                 <artifactId>maven-idea-plugin</artifactId>
                 <configuration>
                     <downloadSources>true</downloadSources>
@@ -245,29 +237,6 @@
             <plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
             </plugin>
-            <plugin>
-                <groupId>com.google.code.maven-license-plugin</groupId>
-                <artifactId>maven-license-plugin</artifactId>
-                <version>1.3.1</version>
-                <configuration>
-                    <header>${basedir}/src/etc/header.txt</header>
-                    <failIfMissing>true</failIfMissing>
-                    <excludes>
-                        <exclude>LICENSE.txt</exclude>
-                        <exclude>NOTICE.txt</exclude>
-                        <exclude>src/test/data/**</exclude>
-                        <exclude>src/test/integration/**</exclude>
-                        <exclude>src/test/resources/**</exclude>
-                    </excludes>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
         </plugins>
     </build>
 
@@ -380,7 +349,12 @@
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-plugin-api</artifactId>
-            <version>2.0.9</version>
+            <version>2.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-compat</artifactId>
+            <version>2.2.1</version>
         </dependency>
         <dependency>
             <groupId>com.mycila.xmltool</groupId>
@@ -403,38 +377,6 @@
             <artifactId>plexus-utils</artifactId>
             <version>1.5.1</version>
         </dependency>
-        <!-- testing -->
-        <dependency>
-            <groupId>org.testng</groupId>
-            <artifactId>testng</artifactId>
-            <version>5.7</version>
-            <classifier>jdk15</classifier>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>junit</groupId>
-                    <artifactId>junit</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.maven</groupId>
-            <artifactId>maven-embedder</artifactId>
-            <version>2.0.4</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.maven.plugin-testing</groupId>
-            <artifactId>maven-plugin-testing-harness</artifactId>
-            <version>1.2</version>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>junit</groupId>
-                    <artifactId>junit</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
     </dependencies>
 
-</project>
\ No newline at end of file
+</project>
-- 
1.7.7.6