ABF is currently being migrated to new servers. Pull requests are currently not operational due to git upgrade, they will be fixed as soon as possible.
avatar
Sergey A. Sokolov has added f0f338e31a
fix build
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,3 @@
1 1
sources:
2
  "istack-commons-2.6.1.tar.gz": 5d45e860d116fa26a30d03b8416d4484ec346e22
2
  istack-commons-2.6.1.tar.gz: 5d45e860d116fa26a30d03b8416d4484ec346e22
3
  m2-repo.tar.gz: af6fddb9ab77da086fd189eabff2ad400cf16997
view file @ f0f338e31a
... ... --- a/istack-commons.spec
... ... +++ b/istack-commons.spec
... ... @@ -11,6 +11,7 @@ URL: http://istack-commons.java.net
11 11
# find istack-commons-2.6.1/ -name '*.jar' -delete
12 12
# tar -zcvf istack-commons-2.6.1.tar.gz istack-commons-2.6.1
13 13
Source0:        %{name}-%{version}.tar.gz
14
Source1:	m2-repo.tar.gz
14 15
Patch0:         %{name}-%{version}-pom.patch
15 16
Patch1:         %{name}-%{version}-activation.patch
16 17
... ... @@ -51,14 +52,19 @@ This package contains the API documentation for %{name}.
52 52
%patch0 -p1
53 53
%patch1 -p1
54 54
55
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
56
mkdir -p $MAVEN_REPO_LOCAL
57
tar -xf %{SOURCE1} -C $MAVEN_REPO_LOCAL
55 58
56 59
%build
57 60
61
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
58 62
# The "-Pdefault-tools.jar" option is needed in order to make sure that the
59 63
# "tools.jar" file is added to the dependencies, otherwise it will not be added
60 64
# if the "java.vendor" property is "Oracle Corporation", which happens to be
61 65
# the value in JDK7:
62
mvn-rpmbuild \
66
mvn \
67
  -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
63 68
  -Dproject.build.sourceEncoding=UTF-8 \
64 69
  -Pdefault-tools.jar \
65 70
  install \
... ... @@ -83,9 +89,9 @@ cp -p runtime/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}-runtime.pom
89 89
cp -p tools/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}-tools.pom
90 90
91 91
# DEPMAP
92
%add_maven_depmap JPP-%{name}.pom
93
%add_maven_depmap JPP-%{name}-runtime.pom %{name}-runtime.jar
94
%add_maven_depmap JPP-%{name}-tools.pom %{name}-tools.jar
92
%add_to_maven_depmap JPP-%{name}.pom
93
%add_to_maven_depmap JPP-%{name}-runtime.pom %{name}-runtime.jar
94
%add_to_maven_depmap JPP-%{name}-tools.pom %{name}-tools.jar
95 95
96 96
97 97
%files

Comments