[objenesis/epel7] removed maven-license-plugin dependency

Michael Mraka mmraka at fedoraproject.org
Fri Aug 8 12:39:38 UTC 2014


commit bf00242b67148db2fd4b9c657081e8a8b1595501
Author: Michael Mraka <michael.mraka at redhat.com>
Date:   Fri Aug 8 13:29:08 2014 +0200

    removed maven-license-plugin dependency
    
    it's missing in EPEL7

 objenesis-no-license-plugin.patch |   39 +++++++++++++++++++++++++++++++++++++
 objenesis.spec                    |    4 ++-
 2 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/objenesis-no-license-plugin.patch b/objenesis-no-license-plugin.patch
new file mode 100644
index 0000000..0790dac
--- /dev/null
+++ b/objenesis-no-license-plugin.patch
@@ -0,0 +1,39 @@
+--- objenesis-1.2/pom.xml.orig	2014-08-08 13:25:52.498213728 +0200
++++ objenesis-1.2/pom.xml	2014-08-08 13:26:20.752908942 +0200
+@@ -189,36 +189,6 @@
+           </executions>
+         </plugin>      
+         <plugin>
+-          <groupId>com.mycila.maven-license-plugin</groupId>
+-          <artifactId>maven-license-plugin</artifactId>
+-          <version>1.6.1</version>
+-          <configuration>
+-            <header>${basedir}/../header.txt</header>
+-            <excludes>
+-              <!-- Nothing is copyrighted in target -->
+-              <exclude>target/**</exclude>
+-              <!-- copyrights to BEA -->
+-              <exclude>src/org/objenesis/instantiator/jrockit/*.java</exclude>
+-              <!-- generated pom by maven-shade-plugin -->
+-              <exclude>dependency-reduced-pom.xml</exclude>
+-              <!-- generated by Equinox during OSGi test -->
+-              <exclude>eclipse_config/**</exclude>
+-            </excludes>
+-            <properties>
+-              <inceptionYear>${project.inceptionYear}</inceptionYear>
+-              <year>${maven.build.timestamp}</year>
+-            </properties>
+-          </configuration>
+-          <executions>
+-            <execution>
+-              <id>check</id>
+-              <goals>
+-                <goal>check</goal>
+-              </goals>
+-            </execution>
+-          </executions>
+-        </plugin>
+-        <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-remote-resources-plugin</artifactId>
+           <version>1.0</version>
diff --git a/objenesis.spec b/objenesis.spec
index 3a8c5ca..d9b1773 100644
--- a/objenesis.spec
+++ b/objenesis.spec
@@ -31,7 +31,7 @@
 Summary:        A library for instantiating Java objects
 Name:           objenesis
 Version:        1.2
-Release:        17%{dist}
+Release:        18%{dist}
 Group:          Development/Libraries
 License:        ASL 2.0
 URL:            http://objenesis.org/
@@ -47,6 +47,7 @@ Source0:        %{name}-%{version}.tar.xz
 Patch1:         001-objenesis-fix-build.patch
 Patch2:         JRockitInstantntiatorCharacters.patch
 Patch3:         objenesis-no-timestamp-plugin.patch
+Patch4:         objenesis-no-license-plugin.patch
 
 BuildRequires:  jpackage-utils
 BuildRequires:  java-devel
@@ -104,6 +105,7 @@ This package contains the API documentation for %{name}.
 %patch1 -p1
 %patch2 -p2
 %patch3 -p1
+%patch4 -p1
 
 # Enable generation of pom.properties (rhbz#1017850)
 %pom_xpath_remove pom:addMavenDescriptor


More information about the scm-commits mailing list