/[packages]/cauldron/maven-shared/current/SPECS/maven-shared.spec
ViewVC logotype

Annotation of /cauldron/maven-shared/current/SPECS/maven-shared.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324932 - (hide annotations) (download)
Sun Dec 2 02:23:39 2012 UTC (9 years, 5 months ago) by dmorgan
File size: 24478 byte(s)
- Migration to plexus-containers-container-default
1 dmorgan 91281 # Copyright (c) 2000-2005, JPackage Project
2     # All rights reserved.
3     #
4     # Redistribution and use in source and binary forms, with or without
5     # modification, are permitted provided that the following conditions
6     # are met:
7     #
8     # 1. Redistributions of source code must retain the above copyright
9     # notice, this list of conditions and the following disclaimer.
10     # 2. Redistributions in binary form must reproduce the above copyright
11     # notice, this list of conditions and the following disclaimer in the
12     # documentation and/or other materials provided with the
13     # distribution.
14     # 3. Neither the name of the JPackage Project nor the names of its
15     # contributors may be used to endorse or promote products derived
16     # from this software without specific prior written permission.
17     #
18     # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19     # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20     # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21     # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22     # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23     # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24     # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25     # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26     # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27     # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28     # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29     #
30    
31 dmorgan 262979 #
32     # Difference with fedora :
33     # We use an external maven-common-artifact-filters package
34     #
35    
36 dmorgan 91281 %global shared_components_version 15
37     %global file_management_version 1.2.2
38     %global ant_version 1.0
39    
40     %global artifact_resolver_version 1.1
41    
42 dmorgan 262919
43 dmorgan 91281 %global dependency_analyzer_version 1.2
44     %global dependency_tree_version 1.3
45     %global downloader_version 1.2
46    
47     %global filtering_version 1.0
48    
49     %global invoker_version 2.0.12
50     %global model_converter_version 2.3
51     %global osgi_version 0.3.0
52 gil 182600 %global plugin_testing_harness_version 1.2
53 dmorgan 91281
54     #this model is not included in parent pom
55     %global reporting_api_version 3.0
56    
57     %global reporting_impl_version 2.1
58     %global repository_builder_version 1.0
59    
60     %global runtime_version 1.0
61    
62     %global io_version 1.2
63     %global jar_version 1.1
64     %global monitor_version 1.0
65     ### disabled by pom.xml default
66     #%global script_ant_version 2.1
67     #%global script_beanshell_version 2.1
68     #%global test_tools_version 1.0
69     #%global toolchain_version 1.0
70 dmorgan 262919 #lobal common_artifact_filters_version 1.3
71 dmorgan 91281 %global verifier_version 1.3
72    
73     Summary: Maven Shared Components
74     URL: http://maven.apache.org/shared/
75     Name: maven-shared
76     Version: 15
77 dmorgan 324932 Release: %mkrel 24
78 dmorgan 91281 License: ASL 2.0
79     Group: Development/Java
80    
81     # svn export \
82     # http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-components-15/
83 dmorgan 127997 # tar czf maven-shared-components-15.tar.gz maven-shared-components-15
84 dmorgan 91281 Source0: maven-shared-components-%{version}.tar.gz
85     Source1: %{name}-jpp-depmap.xml
86    
87     Patch0: %{name}-pom.patch
88 dmorgan 127997 Patch1: %{name}-maven3.patch
89 gil 179990 Patch2: maven-shared-maven-model-v3-removal.patch
90     Patch3: maven-shared-migration-to-component-metadata.patch
91 dmorgan 91281 Patch6: maven-runtime-XMLMavenRuntimeVisitor.patch
92 dmorgan 324928 Patch7: maven-shared-Add-container-default-to-shared-jar.patch
93 dmorgan 91281
94     BuildRequires: jpackage-utils >= 0:1.7.2
95     BuildRequires: ant
96 gil 181028 BuildRequires: aqute-bnd
97     BuildRequires: dom4j
98     BuildRequires: easymock2
99     BuildRequires: jmock1
100     BuildRequires: junit
101     BuildRequires: junit-addons
102 dmorgan 127147 BuildRequires: maven
103 gil 181028 BuildRequires: maven-artifact-manager
104 dmorgan 91281 BuildRequires: maven-compiler-plugin
105 gil 181028 BuildRequires: maven-doxia
106     BuildRequires: maven-doxia-sitetools
107     BuildRequires: maven-doxia-tools
108 dmorgan 91281 BuildRequires: maven-install-plugin
109     BuildRequires: maven-jar-plugin
110     BuildRequires: maven-javadoc-plugin
111 gil 181028 BuildRequires: maven-monitor
112     BuildRequires: maven-model
113     BuildRequires: maven-plugin-cobertura
114     #BuildRequires: maven-plugin-registry
115     BuildRequires: maven-plugin-testing-tools
116     BuildRequires: maven-profile
117     BuildRequires: maven-project
118 dmorgan 91281 BuildRequires: maven-resources-plugin
119 gil 181028 BuildRequires: maven-site-plugin
120 dmorgan 91281 BuildRequires: maven-source-plugin
121     BuildRequires: maven-surefire-plugin
122     BuildRequires: maven-surefire-report-plugin
123     BuildRequires: maven-shared-reporting-impl
124 dmorgan 127997 BuildRequires: maven-shared-file-management
125 dmorgan 262919 BuildRequires: maven-common-artifact-filters >= 1.3
126 dmorgan 91281 BuildRequires: maven-test-tools
127 gil 181028 BuildRequires: maven-wagon
128     BuildRequires: modello
129     BuildRequires: objectweb-asm
130 gil 179990 BuildRequires: plexus-containers-component-metadata
131 dmorgan 91281 BuildRequires: plexus-component-api
132 gil 181028 BuildRequires: plexus-digest
133     BuildRequires: plexus-utils
134     BuildRequires: qdox
135 dmorgan 91281 BuildRequires: saxon
136     BuildRequires: saxon-scripts
137 dmorgan 194338 BuildRequires: forge-parent
138 dmorgan 91281
139     Requires: ant
140 gil 181028 Requires: aqute-bnd
141     Requires: dom4j
142 dmorgan 127997 Requires: maven
143 gil 181028 Requires: maven-wagon
144     Requires: objectweb-asm
145     Requires: plexus-digest
146 dmorgan 91281 Requires: plexus-utils
147     Requires: saxon
148     Requires: saxon-scripts
149    
150     BuildArch: noarch
151    
152     %description
153     Maven Shared Components
154    
155 dmorgan 188505 %post
156     %update_maven_depmap
157    
158     %postun
159     %update_maven_depmap
160    
161     %files
162     %dir %{_javadir}/maven-shared
163     %dir %{_mavenpomdir}
164     %{_mavenpomdir}/JPP.maven-shared-components-parent.pom
165     %{_mavendepmapfragdir}
166    
167     #--------------------------------------------------------------------
168    
169 dmorgan 91281 %package file-management
170     Summary: Maven Shared File Management API
171     Group: Development/Java
172     Version: %{file_management_version}
173     Requires: %{name} = 0:%{shared_components_version}-%{release}
174 gil 182649 Requires: %{name}-io >= 0:%{io_version}-%{release}
175 dmorgan 127997 Requires: maven
176 dmorgan 324932 Requires: plexus-containers-container-default
177 dmorgan 91281 Requires: plexus-utils
178    
179     %description file-management
180     API to collect files from a given directory using
181     several include/exclude rules.
182    
183 dmorgan 188505 %files file-management
184     %{_javadir}/maven-shared/file-management*.jar
185     %{_mavenpomdir}/JPP.maven-shared-file-management.pom
186    
187     #--------------------------------------------------------------------
188    
189 dmorgan 91281 %package osgi
190     Summary: Maven OSGi
191     Group: Development/Java
192     Version: %{osgi_version}
193     Requires: %{name} = 0:%{shared_components_version}-%{release}
194 gil 179990 Requires: aqute-bnd
195 dmorgan 127997 Requires: maven-project
196 dmorgan 91281
197     %description osgi
198     Library for Maven-OSGi integration
199    
200 dmorgan 188505 %files osgi
201     %{_javadir}/maven-shared/osgi*.jar
202     %{_mavenpomdir}/JPP.maven-shared-osgi.pom
203    
204     #--------------------------------------------------------------------
205    
206 dmorgan 91281 %package ant
207     Summary: Maven Ant
208     Group: Development/Java
209     Version: %{ant_version}
210     Requires: %{name} = 0:%{shared_components_version}-%{release}
211     Requires: ant
212 dmorgan 127997 Requires: plexus-containers-container-default
213     Requires: maven-project
214 dmorgan 127147 Requires: maven
215 dmorgan 91281
216     %description ant
217     Runs ant scripts embedded in the POM.
218    
219 dmorgan 188505 %files ant
220     %{_javadir}/maven-shared/ant*.jar
221     %{_mavenpomdir}/JPP.maven-shared-ant.pom
222    
223     #--------------------------------------------------------------------
224    
225 dmorgan 91281 %package dependency-tree
226     Summary: Maven Dependency Tree
227     Group: Development/Java
228     Version: %{dependency_tree_version}
229     Requires: %{name} = 0:%{shared_components_version}-%{release}
230 gil 182649 Requires: %{name}-plugin-testing-harness
231 dmorgan 127147 Requires: maven
232 dmorgan 127997 Requires: maven-project
233 dmorgan 91281
234     %description dependency-tree
235     %{summary}.
236    
237 dmorgan 188505 %files dependency-tree
238     %{_javadir}/maven-shared/dependency-tree*.jar
239     %{_mavenpomdir}/JPP.maven-shared-dependency-tree.pom
240    
241     #--------------------------------------------------------------------
242    
243 dmorgan 91281 %package downloader
244     Summary: Maven Downloader
245     Group: Development/Java
246     Version: %{downloader_version}
247     Requires: %{name} = 0:%{shared_components_version}-%{release}
248 dmorgan 127147 Requires: maven
249 dmorgan 127997 Requires: maven-artifact-manager
250 dmorgan 91281
251     %description downloader
252     Provide a super simple interface for downloading a
253     single artifact.
254    
255 dmorgan 188505 %files downloader
256     %{_javadir}/maven-shared/downloader*.jar
257     %{_mavenpomdir}/JPP.maven-shared-downloader.pom
258    
259     #--------------------------------------------------------------------
260    
261 dmorgan 91281 %package dependency-analyzer
262     Summary: Maven Dependency Analyzer
263     Group: Development/Java
264     Version: %{dependency_analyzer_version}
265     Requires: %{name} = 0:%{shared_components_version}-%{release}
266 dmorgan 127147 Requires: maven
267 dmorgan 127997 Requires: maven-project
268 dmorgan 91281 Requires: objectweb-asm
269 dmorgan 127997 Requires: plexus-utils
270 dmorgan 91281
271     %description dependency-analyzer
272     %{summary}.
273    
274 dmorgan 188505 %files dependency-analyzer
275     %{_javadir}/maven-shared/dependency-analyzer*.jar
276     %{_mavenpomdir}/JPP.maven-shared-dependency-analyzer.pom
277    
278     #--------------------------------------------------------------------
279    
280 dmorgan 91281 %package invoker
281     Summary: Maven Process Invoker
282     Group: Development/Java
283     Version: %{invoker_version}
284     Requires: %{name} = 0:%{shared_components_version}-%{release}
285     Requires: %{name}-monitor >= 0:%{monitor_version}-%{release}
286 dmorgan 127147 Requires: maven
287 dmorgan 91281 Requires: plexus-utils
288    
289     %description invoker
290     %{summary}.
291    
292 dmorgan 188505 %files invoker
293     %{_javadir}/maven-shared/invoker*.jar
294     %{_mavenpomdir}/JPP.maven-shared-invoker.pom
295    
296     #--------------------------------------------------------------------
297    
298 dmorgan 91281 %package model-converter
299     Summary: Maven Model Converter
300     Group: Development/Java
301     Version: %{model_converter_version}
302     Requires: %{name} = 0:%{shared_components_version}-%{release}
303     Requires: dom4j
304 dmorgan 127147 Requires: maven
305 dmorgan 127997 Requires: maven-model
306 dmorgan 324932 Requires: plexus-containers-container-default
307 dmorgan 91281 Requires: plexus-utils
308    
309     %description model-converter
310     Converts between version 3.0.0 and version 4.0.0 models.
311    
312 dmorgan 188505 %files model-converter
313     %{_javadir}/maven-shared/model-converter*.jar
314     %{_mavenpomdir}/JPP.maven-shared-model-converter.pom
315    
316     #--------------------------------------------------------------------
317    
318 dmorgan 91281 %package reporting-impl
319     Summary: Maven Reporting Implementation
320     Group: Development/Java
321     Version: %{reporting_impl_version}
322     Requires: %{name} = 0:%{shared_components_version}-%{release}
323 dmorgan 267948 Requires: apache-commons-validator
324 dmorgan 91281 Requires: jakarta-oro
325 dmorgan 127147 Requires: maven
326 dmorgan 127997 Requires: maven-project
327 dmorgan 91281 Requires: maven-doxia
328 dmorgan 127997 Requires: apache-commons-validator
329     Requires: plexus-utils
330 dmorgan 91281
331     %description reporting-impl
332     %{summary}.
333    
334 dmorgan 188505 %files reporting-impl
335     %{_javadir}/maven-shared/reporting-impl*.jar
336     %{_mavenpomdir}/JPP.maven-shared-reporting-impl.pom
337    
338     #--------------------------------------------------------------------
339    
340 dmorgan 91281 %package repository-builder
341     Summary: Maven Repository Builder
342     Group: Development/Java
343     Version: %{repository_builder_version}
344     Requires: %{name} = 0:%{shared_components_version}-%{release}
345 dmorgan 262919 Requires: maven-common-artifact-filters
346 dmorgan 127147 Requires: maven
347 dmorgan 127997 Requires: maven-artifact-manager
348     Requires: maven-project
349 dmorgan 91281
350     %description repository-builder
351     %{summary}.
352    
353 dmorgan 188505 %files repository-builder
354     %{_javadir}/maven-shared/repository-builder*.jar
355     %{_mavenpomdir}/JPP.maven-shared-repository-builder.pom
356    
357     #--------------------------------------------------------------------
358    
359 dmorgan 91281 %package io
360     Summary: Maven Shared I/O API
361     Group: Development/Java
362     Version: %{io_version}
363     Requires: %{name} = 0:%{shared_components_version}-%{release}
364 dmorgan 127147 Requires: maven
365 dmorgan 127997 Requires: maven-artifact-manager
366 dmorgan 91281 Requires: maven-wagon
367     Requires: plexus-utils
368 dmorgan 324932 Requires: plexus-containers-container-default
369 dmorgan 91281
370     %description io
371     %{summary}.
372    
373 dmorgan 188505 %files io
374     %{_javadir}/maven-shared/io*.jar
375     %{_mavenpomdir}/JPP.maven-shared-io.pom
376    
377     #--------------------------------------------------------------------
378    
379 dmorgan 91281 %package jar
380     Summary: Maven Shared Jar
381     Group: Development/Java
382     Version: %{jar_version}
383     Requires: %{name} = 0:%{shared_components_version}-%{release}
384 dmorgan 127147 Requires: maven
385 dmorgan 127997 Requires: plexus-digest
386     Requires: bcel
387     Requires: apache-commons-collections
388 dmorgan 91281
389     %description jar
390     Utilities that help identify the contents of a JAR,
391     including Java class analysis and Maven metadata
392     analysis.
393    
394 dmorgan 188505 %files jar
395     %{_javadir}/maven-shared/jar*.jar
396     %{_mavenpomdir}/JPP.maven-shared-jar.pom
397    
398     #--------------------------------------------------------------------
399    
400 dmorgan 91281 %package monitor
401     Summary: Maven Shared Monitor API
402     Group: Development/Java
403     Version: %{monitor_version}
404     Requires: %{name} = 0:%{shared_components_version}-%{release}
405 dmorgan 127147 Requires: maven
406 dmorgan 324932 Requires: plexus-containers-container-default
407 dmorgan 91281
408     %description monitor
409     %{summary}.
410    
411 dmorgan 188505 %files monitor
412     %{_javadir}/maven-shared/monitor*.jar
413     %{_mavenpomdir}/JPP.maven-shared-monitor.pom
414    
415     #--------------------------------------------------------------------
416    
417 dmorgan 91281 %package verifier
418     Summary: Maven Verifier Component
419     Group: Development/Java
420     Version: %{verifier_version}
421     Requires: %{name} = 0:%{shared_components_version}-%{release}
422     Requires: junit
423    
424     %description verifier
425     %{summary}.
426    
427 dmorgan 188505 %files verifier
428     %{_javadir}/maven-shared/verifier*.jar
429     %{_mavenpomdir}/JPP.maven-shared-verifier.pom
430    
431     #--------------------------------------------------------------------
432    
433 dmorgan 91281 %package javadoc
434     Summary: Javadoc for %{name}
435 dmorgan 127997 Group: Development/Java
436 dmorgan 182624 Provides: %{name}-file-management-javadoc = %{file_management_version}-%{release}
437     Obsoletes: %{name}-file-management-javadoc < %{file_management_version}-%{release}
438     Provides: %{name}-plugin-testing-harness-javadoc = %{plugin_testing_harness_version}-%{release}
439     Obsoletes: %{name}-plugin-testing-harness-javadoc < %{plugin_testing_harness_version}-%{release}
440 dmorgan 91281
441     %description javadoc
442     %{summary}.
443    
444 dmorgan 188505 %pre javadoc
445     # workaround for rpm bug, can be removed in F-18
446     [ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
447     rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
448    
449     %files javadoc
450     %{_javadocdir}/%{name}
451    
452     #--------------------------------------------------------------------
453    
454 dmorgan 91281 %package artifact-resolver
455     Summary: Maven Artifact Resolution API
456     Group: Development/Java
457     Version: %{artifact_resolver_version}
458     Requires: %{name} = 0:%{shared_components_version}-%{release}
459     Requires: ant
460 dmorgan 127147 Requires: maven
461 dmorgan 127997 Requires: maven-artifact-manager
462     Requires: maven-project
463 dmorgan 91281
464     %description artifact-resolver
465     Provides a component for plugins to easily resolve project dependencies.
466    
467 dmorgan 188505 %files artifact-resolver
468     %{_javadir}/maven-shared/artifact-resolver*.jar
469     %{_mavenpomdir}/JPP.maven-shared-artifact-resolver.pom
470    
471     #--------------------------------------------------------------------
472    
473 dmorgan 91281 %package reporting-api
474     Summary: Maven Reporting API
475     Group: Development/Java
476     Version: %{reporting_api_version}
477     Requires: %{name} = 0:%{shared_components_version}-%{release}
478     Requires: ant
479 dmorgan 127147 Requires: maven
480 dmorgan 127997 Requires: maven-doxia
481 dmorgan 91281
482     %description reporting-api
483     Maven Reporting API.
484    
485 dmorgan 188505 %files reporting-api
486     %{_javadir}/maven-shared/reporting-api*.jar
487     %{_mavenpomdir}/JPP.maven-shared-reporting-api.pom
488    
489     #--------------------------------------------------------------------
490    
491 dmorgan 91281 %package runtime
492     Summary: Maven Runtime
493     Group: Development/Java
494     Version: %{runtime_version}
495     Requires: %{name} = 0:%{shared_components_version}-%{release}
496     Requires: ant
497 dmorgan 127147 Requires: maven
498 dmorgan 127997 Requires: maven-project
499 dmorgan 91281
500     %description runtime
501     Maven Runtime allows introspection of Maven project metadata at runtime. Basic artifact information or full Maven
502     project metadata can be obtained for all projects within a given class loader, optionally sorted into dependency
503     order, and also for a given class within a project.
504    
505 dmorgan 188505 %files runtime
506     %{_javadir}/maven-shared/runtime*.jar
507     %{_mavenpomdir}/JPP.maven-shared-runtime.pom
508    
509     #--------------------------------------------------------------------
510    
511 dmorgan 91281 %prep
512     %setup -q -n %{name}-components-%{shared_components_version}
513     chmod -R go=u-w *
514     %patch0 -b .sav0
515 gil 181028 %patch1 -p1 -b .sav1
516 dmorgan 91281 %patch6 -b .sav6
517 gil 179990 %patch2 -p1
518     %patch3 -p1
519 dmorgan 324928 %patch7 -p1
520 gil 181028
521 gil 179990 # Fix aqute-bnd dependency
522     sed -i "s|<artifactId>bndlib|<artifactId>bnd|g" maven-osgi/pom.xml
523    
524 dmorgan 91281 # need namespace for new version modello
525     sed -i "s|<model>|<model xmlns=\"http://modello.codehaus.org/MODELLO/1.3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://modello.codehaus.org/MODELLO/1.3.0 http://modello.codehaus.org/xsd/modello-1.3.0.xsd\" xml.namespace=\"..\" xml.schemaLocation=\"..\" xsd.namespace=\"..\" xsd.targetNamespace=\"..\">|" file-management/src/main/mdo/fileset.mdo
526 dmorgan 127997
527 dmorgan 127147 sed -i "s|<groupId>ant|<groupId>org.apache.ant|g" maven-ant/pom.xml
528 dmorgan 91281 # Remove test that needs junit-addons until that makes it into Fedora
529 gil 180390 #rm -f maven-reporting-impl/src/test/java/org/apache/maven/reporting/AbstractMavenReportRendererTest.java
530 dmorgan 91281
531     # Remove tests that need jmock (for now)
532     rm -f maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/InputStreamConstraint.java
533     rm -f maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtilsTest.java
534     rm -f maven-dependency-analyzer/src/test/java/org/apache/maven/shared/dependency/analyzer/AbstractFileTest.java
535    
536 dmorgan 262919 sed -i "s|<module>maven-common-artifact-filters</module>|<!--module>maven-common-artifact-filters</module-->|" pom.xml
537    
538 dmorgan 91281 %build
539 dmorgan 127997 export MAVEN_OPTS="-XX:MaxPermSize=256m"
540 dmorgan 262918 mvn-rpmbuild \
541 dmorgan 127147 -Dmaven.local.depmap.file=%{SOURCE1} \
542 dmorgan 262918 -Dmaven.test.skip=true \
543 dmorgan 91281 install javadoc:aggregate
544    
545     %install
546    
547     # main package infrastructure
548     install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven-shared
549     install -d -m 755 $RPM_BUILD_ROOT/%{_mavenpomdir}
550    
551     # poms and jars
552     install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-components-parent.pom
553 gil 179990 %add_maven_depmap JPP.%{name}-components-parent.pom
554 dmorgan 91281
555     install -pm 644 maven-downloader/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-downloader.pom
556     install -p -m 0644 maven-downloader/target/maven-downloader-%{downloader_version}-SNAPSHOT.jar \
557     $RPM_BUILD_ROOT%{_javadir}/maven-shared/downloader.jar
558 gil 179990 %add_maven_depmap -f downloader JPP.%{name}-downloader.pom %{name}/downloader.jar
559 dmorgan 91281
560     install -pm 644 maven-dependency-analyzer/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-dependency-analyzer.pom
561     install -p -m 0644 maven-dependency-analyzer/target/maven-dependency-analyzer-%{dependency_analyzer_version}-SNAPSHOT.jar \
562     $RPM_BUILD_ROOT%{_javadir}/maven-shared/dependency-analyzer.jar
563 gil 179990 %add_maven_depmap -f dependency-analyzer JPP.%{name}-dependency-analyzer.pom %{name}/dependency-analyzer.jar
564 dmorgan 91281
565     install -pm 644 maven-dependency-tree/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-dependency-tree.pom
566     install -p -m 0644 maven-dependency-tree/target/maven-dependency-tree-%{dependency_tree_version}-SNAPSHOT.jar \
567     $RPM_BUILD_ROOT%{_javadir}/maven-shared/dependency-tree.jar
568 gil 180390 %add_maven_depmap -f dependency-tree JPP.%{name}-dependency-tree.pom %{name}/dependency-tree.jar
569 dmorgan 91281
570     install -pm 644 maven-verifier/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-verifier.pom
571     install -p -m 0644 maven-verifier/target/maven-verifier-%{verifier_version}-SNAPSHOT.jar \
572     $RPM_BUILD_ROOT%{_javadir}/maven-shared/verifier.jar
573 gil 179990 %add_maven_depmap -f verifier JPP.%{name}-verifier.pom %{name}/verifier.jar
574 dmorgan 91281
575     install -pm 644 maven-shared-monitor/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-monitor.pom
576     install -p -m 0644 maven-shared-monitor/target/maven-shared-monitor-%{monitor_version}-SNAPSHOT.jar \
577 gil 179990 $RPM_BUILD_ROOT%{_javadir}/maven-shared/monitor.jar
578     %add_maven_depmap -f monitor JPP.%{name}-monitor.pom %{name}/monitor.jar
579 dmorgan 91281
580     install -pm 644 maven-shared-io/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-io.pom
581     install -p -m 0644 maven-shared-io/target/maven-shared-io-%{io_version}-SNAPSHOT.jar \
582     $RPM_BUILD_ROOT%{_javadir}/maven-shared/io.jar
583 gil 179990 %add_maven_depmap -f io JPP.%{name}-io.pom %{name}/io.jar
584 dmorgan 91281
585     install -pm 644 maven-shared-jar/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-jar.pom
586     install -p -m 0644 maven-shared-jar/target/maven-shared-jar-%{jar_version}-SNAPSHOT.jar \
587     $RPM_BUILD_ROOT%{_javadir}/maven-shared/jar.jar
588 gil 179990 %add_maven_depmap -f jar JPP.%{name}-jar.pom %{name}/jar.jar
589 dmorgan 91281
590     install -pm 644 maven-repository-builder/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-repository-builder.pom
591     install -p -m 0644 maven-repository-builder/target/maven-repository-builder-%{repository_builder_version}-alpha-3-SNAPSHOT.jar \
592     $RPM_BUILD_ROOT%{_javadir}/maven-shared/repository-builder.jar
593 gil 179990 %add_maven_depmap -f repository-builder JPP.%{name}-repository-builder.pom %{name}/repository-builder.jar
594 dmorgan 91281
595     install -pm 644 maven-reporting-impl/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-reporting-impl.pom
596     install -p -m 0644 maven-reporting-impl/target/maven-reporting-impl-%{reporting_impl_version}-SNAPSHOT.jar \
597     $RPM_BUILD_ROOT%{_javadir}/maven-shared/reporting-impl.jar
598 gil 179990 %add_maven_depmap -f reporting-impl JPP.%{name}-reporting-impl.pom %{name}/reporting-impl.jar
599 dmorgan 91281
600     install -pm 644 maven-model-converter/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-model-converter.pom
601     install -p -m 0644 maven-model-converter/target/maven-model-converter-%{model_converter_version}-SNAPSHOT.jar \
602     $RPM_BUILD_ROOT%{_javadir}/maven-shared/model-converter.jar
603 gil 179990 %add_maven_depmap -f model-converter JPP.%{name}-model-converter.pom %{name}/model-converter.jar
604 dmorgan 91281
605     install -pm 644 maven-invoker/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-invoker.pom
606     install -p -m 0644 maven-invoker/target/maven-invoker-%{invoker_version}-SNAPSHOT.jar \
607     $RPM_BUILD_ROOT%{_javadir}/maven-shared/invoker.jar
608 gil 179990 %add_maven_depmap -f invoker JPP.%{name}-invoker.pom %{name}/invoker.jar
609 dmorgan 91281
610 dmorgan 262919 #install -pm 644 maven-common-artifact-filters/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-common-artifact-filters.pom
611     #install -p -m 0644 maven-common-artifact-filters/target/maven-common-artifact-filters-%{common_artifact_filters_version}-SNAPSHOT.jar \
612     # $RPM_BUILD_ROOT%{_javadir}/maven-shared/common-artifact-filters.jar
613     #dd_maven_depmap -f common-artifact-filters JPP.%{name}-common-artifact-filters.pom %{name}/common-artifact-filters.jar
614 dmorgan 91281
615     install -pm 644 maven-ant/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-ant.pom
616     install -p -m 0644 maven-ant/target/maven-ant-%{ant_version}-SNAPSHOT.jar \
617     $RPM_BUILD_ROOT%{_javadir}/maven-shared/ant.jar
618 gil 179990 %add_maven_depmap -f ant JPP.%{name}-ant.pom %{name}/ant.jar
619 dmorgan 91281
620     install -pm 644 maven-osgi/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-osgi.pom
621     install -p -m 0644 maven-osgi/target/maven-osgi-%{osgi_version}-SNAPSHOT.jar \
622     $RPM_BUILD_ROOT%{_javadir}/maven-shared/osgi.jar
623 gil 179990 %add_maven_depmap -f osgi JPP.%{name}-osgi.pom %{name}/osgi.jar
624 dmorgan 91281
625     install -pm 644 file-management/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-file-management.pom
626     install -p -m 0644 file-management/target/file-management-%{file_management_version}-SNAPSHOT.jar \
627     $RPM_BUILD_ROOT%{_javadir}/maven-shared/file-management.jar
628 gil 179990 %add_maven_depmap -f file-management JPP.%{name}-file-management.pom %{name}/file-management.jar
629 dmorgan 91281
630     install -pm 644 maven-artifact-resolver/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-artifact-resolver.pom
631     install -p -m 0644 maven-artifact-resolver/target/maven-artifact-resolver-%{artifact_resolver_version}-SNAPSHOT.jar \
632     $RPM_BUILD_ROOT%{_javadir}/maven-shared/artifact-resolver.jar
633 gil 179990 %add_maven_depmap -f artifact-resolver JPP.%{name}-artifact-resolver.pom %{name}/artifact-resolver.jar
634 dmorgan 91281
635 gil 179990 #install -pm 644 maven-filtering/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-filtering.pom
636     #dd_to_maven_depmap org.apache.maven.shared maven-filtering %{filtering_version} JPP/maven-shared filtering
637     #install -p -m 0644 maven-filtering/target/maven-filtering-%{filtering_version}-beta-4-SNAPSHOT.jar \
638     # $RPM_BUILD_ROOT%{_javadir}/maven-shared/filtering.jar
639 dmorgan 91281
640     install -pm 644 maven-reporting-api/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-reporting-api.pom
641     install -p -m 0644 maven-reporting-api/target/maven-reporting-api-%{reporting_api_version}-SNAPSHOT.jar \
642     $RPM_BUILD_ROOT%{_javadir}/maven-shared/reporting-api.jar
643 gil 179990 %add_maven_depmap -f reporting-api -a "org.apache.maven.reporting:maven-reporting-api" JPP.%{name}-reporting-api.pom %{name}/reporting-api.jar
644 dmorgan 91281
645     install -pm 644 maven-runtime/pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.maven-shared-runtime.pom
646     install -p -m 0644 maven-runtime/target/maven-runtime-%{runtime_version}-alpha-3-SNAPSHOT.jar \
647     $RPM_BUILD_ROOT%{_javadir}/maven-shared/runtime.jar
648 gil 179990 %add_maven_depmap -f runtime JPP.%{name}-runtime.pom %{name}/runtime.jar
649 dmorgan 91281
650     # javadoc
651 dmorgan 127997 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
652 dmorgan 91281 cp -pr target/site/apidocs/* \
653 dmorgan 127997 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
654 dmorgan 262919

  ViewVC Help
Powered by ViewVC 1.1.28