FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development Java

 
 
LinkBack Thread Tools
 
Old 11-08-2010, 07:08 PM
Alexander Kurtakov
 
Default - Remove tests as they don't compile.

commit f87adca7913cc4cc9b71f28fea22e9b3eeb3ca87
Author: Alexander Kurtakov <akurtako@redhat.com>
Date: Mon Nov 8 22:07:57 2010 +0200

- Remove tests as they don't compile.

maven-archiver.spec | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/maven-archiver.spec b/maven-archiver.spec
index 223dd61..bfe014f 100644
--- a/maven-archiver.spec
+++ b/maven-archiver.spec
@@ -30,7 +30,7 @@

Name: maven-archiver
Version: 2.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 0
Summary: Maven Archiver
License: ASL 2.0
@@ -48,13 +48,13 @@ BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils >= 0:1.7.2
BuildRequires: maven2 >= 0:2.0.8
-BuildRequires: maven2-plugin-compiler
-BuildRequires: maven2-plugin-install
-BuildRequires: maven2-plugin-jar
-BuildRequires: maven2-plugin-javadoc
-BuildRequires: maven2-plugin-resources
-BuildRequires: maven2-plugin-site
-BuildRequires: maven-surefire-maven-plugin
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-site-plugin
+BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-doxia-sitetools
BuildRequires: maven-shared-jar
@@ -87,6 +87,9 @@ Javadoc for %{name}.
%prep
%setup -q -n %{name}

+#tests don't compile with maven 2.2.1
+rm -fr src/test/java/org/apache/maven/archiver/*.java
+
%build

export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -135,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/*

%changelog
+* Mon Nov 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-3
+- Remove tests as they don't compile.
+
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.4.1-2
- BR java-devel >= 1:1.6.0.

--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel
 

Thread Tools




All times are GMT. The time now is 09:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org