[plexus-compiler] Revert to using maven2 until maven package is fixed properly

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Jan 20 15:33:05 UTC 2011


commit 01149c42fa86ed06ff7a9af1ffde57948b68c0da
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Jan 20 16:32:46 2011 +0100

    Revert to using maven2 until maven package is fixed properly

 plexus-compiler.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/plexus-compiler.spec b/plexus-compiler.spec
index cd7c363..8b5d44f 100644
--- a/plexus-compiler.spec
+++ b/plexus-compiler.spec
@@ -88,9 +88,12 @@ API documentation for %{name}.
 %patch0 -p1
 
 %build
-mvn-local \
-  -Dmaven.test.failure.ignore=true \
-  install javadoc:aggregate
+export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
+mkdir -p $MAVEN_REPO_LOCAL
+mvn-jpp -e \
+        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+        -Dmaven.test.skip=true \
+        install javadoc:aggregate
 
 
 %install
@@ -166,7 +169,6 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
 - Create extras subpackage with optional compilers
 - Provide maven depmaps
 - Versionless jars & javadocs
-- Use maven 3 to build
 
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.5.2-4.3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild


More information about the scm-commits mailing list