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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324932 - (show annotations) (download)
Sun Dec 2 02:23:39 2012 UTC (9 years, 1 month ago) by dmorgan
File size: 24478 byte(s)
- Migration to plexus-containers-container-default
1 # 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 #
32 # Difference with fedora :
33 # We use an external maven-common-artifact-filters package
34 #
35
36 %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
43 %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 %global plugin_testing_harness_version 1.2
53
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 #lobal common_artifact_filters_version 1.3
71 %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 Release: %mkrel 24
78 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 # tar czf maven-shared-components-15.tar.gz maven-shared-components-15
84 Source0: maven-shared-components-%{version}.tar.gz
85 Source1: %{name}-jpp-depmap.xml
86
87 Patch0: %{name}-pom.patch
88 Patch1: %{name}-maven3.patch
89 Patch2: maven-shared-maven-model-v3-removal.patch
90 Patch3: maven-shared-migration-to-component-metadata.patch
91 Patch6: maven-runtime-XMLMavenRuntimeVisitor.patch
92 Patch7: maven-shared-Add-container-default-to-shared-jar.patch
93
94 BuildRequires: jpackage-utils >= 0:1.7.2
95 BuildRequires: ant
96 BuildRequires: aqute-bnd
97 BuildRequires: dom4j
98 BuildRequires: easymock2
99 BuildRequires: jmock1
100 BuildRequires: junit
101 BuildRequires: junit-addons
102 BuildRequires: maven
103 BuildRequires: maven-artifact-manager
104 BuildRequires: maven-compiler-plugin
105 BuildRequires: maven-doxia
106 BuildRequires: maven-doxia-sitetools
107 BuildRequires: maven-doxia-tools
108 BuildRequires: maven-install-plugin
109 BuildRequires: maven-jar-plugin
110 BuildRequires: maven-javadoc-plugin
111 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 BuildRequires: maven-resources-plugin
119 BuildRequires: maven-site-plugin
120 BuildRequires: maven-source-plugin
121 BuildRequires: maven-surefire-plugin
122 BuildRequires: maven-surefire-report-plugin
123 BuildRequires: maven-shared-reporting-impl
124 BuildRequires: maven-shared-file-management
125 BuildRequires: maven-common-artifact-filters >= 1.3
126 BuildRequires: maven-test-tools
127 BuildRequires: maven-wagon
128 BuildRequires: modello
129 BuildRequires: objectweb-asm
130 BuildRequires: plexus-containers-component-metadata
131 BuildRequires: plexus-component-api
132 BuildRequires: plexus-digest
133 BuildRequires: plexus-utils
134 BuildRequires: qdox
135 BuildRequires: saxon
136 BuildRequires: saxon-scripts
137 BuildRequires: forge-parent
138
139 Requires: ant
140 Requires: aqute-bnd
141 Requires: dom4j
142 Requires: maven
143 Requires: maven-wagon
144 Requires: objectweb-asm
145 Requires: plexus-digest
146 Requires: plexus-utils
147 Requires: saxon
148 Requires: saxon-scripts
149
150 BuildArch: noarch
151
152 %description
153 Maven Shared Components
154
155 %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 %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 Requires: %{name}-io >= 0:%{io_version}-%{release}
175 Requires: maven
176 Requires: plexus-containers-container-default
177 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 %files file-management
184 %{_javadir}/maven-shared/file-management*.jar
185 %{_mavenpomdir}/JPP.maven-shared-file-management.pom
186
187 #--------------------------------------------------------------------
188
189 %package osgi
190 Summary: Maven OSGi
191 Group: Development/Java
192 Version: %{osgi_version}
193 Requires: %{name} = 0:%{shared_components_version}-%{release}
194 Requires: aqute-bnd
195 Requires: maven-project
196
197 %description osgi
198 Library for Maven-OSGi integration
199
200 %files osgi
201 %{_javadir}/maven-shared/osgi*.jar
202 %{_mavenpomdir}/JPP.maven-shared-osgi.pom
203
204 #--------------------------------------------------------------------
205
206 %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 Requires: plexus-containers-container-default
213 Requires: maven-project
214 Requires: maven
215
216 %description ant
217 Runs ant scripts embedded in the POM.
218
219 %files ant
220 %{_javadir}/maven-shared/ant*.jar
221 %{_mavenpomdir}/JPP.maven-shared-ant.pom
222
223 #--------------------------------------------------------------------
224
225 %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 Requires: %{name}-plugin-testing-harness
231 Requires: maven
232 Requires: maven-project
233
234 %description dependency-tree
235 %{summary}.
236
237 %files dependency-tree
238 %{_javadir}/maven-shared/dependency-tree*.jar
239 %{_mavenpomdir}/JPP.maven-shared-dependency-tree.pom
240
241 #--------------------------------------------------------------------
242
243 %package downloader
244 Summary: Maven Downloader
245 Group: Development/Java
246 Version: %{downloader_version}
247 Requires: %{name} = 0:%{shared_components_version}-%{release}
248 Requires: maven
249 Requires: maven-artifact-manager
250
251 %description downloader
252 Provide a super simple interface for downloading a
253 single artifact.
254
255 %files downloader
256 %{_javadir}/maven-shared/downloader*.jar
257 %{_mavenpomdir}/JPP.maven-shared-downloader.pom
258
259 #--------------------------------------------------------------------
260
261 %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 Requires: maven
267 Requires: maven-project
268 Requires: objectweb-asm
269 Requires: plexus-utils
270
271 %description dependency-analyzer
272 %{summary}.
273
274 %files dependency-analyzer
275 %{_javadir}/maven-shared/dependency-analyzer*.jar
276 %{_mavenpomdir}/JPP.maven-shared-dependency-analyzer.pom
277
278 #--------------------------------------------------------------------
279
280 %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 Requires: maven
287 Requires: plexus-utils
288
289 %description invoker
290 %{summary}.
291
292 %files invoker
293 %{_javadir}/maven-shared/invoker*.jar
294 %{_mavenpomdir}/JPP.maven-shared-invoker.pom
295
296 #--------------------------------------------------------------------
297
298 %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 Requires: maven
305 Requires: maven-model
306 Requires: plexus-containers-container-default
307 Requires: plexus-utils
308
309 %description model-converter
310 Converts between version 3.0.0 and version 4.0.0 models.
311
312 %files model-converter
313 %{_javadir}/maven-shared/model-converter*.jar
314 %{_mavenpomdir}/JPP.maven-shared-model-converter.pom
315
316 #--------------------------------------------------------------------
317
318 %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 Requires: apache-commons-validator
324 Requires: jakarta-oro
325 Requires: maven
326 Requires: maven-project
327 Requires: maven-doxia
328 Requires: apache-commons-validator
329 Requires: plexus-utils
330
331 %description reporting-impl
332 %{summary}.
333
334 %files reporting-impl
335 %{_javadir}/maven-shared/reporting-impl*.jar
336 %{_mavenpomdir}/JPP.maven-shared-reporting-impl.pom
337
338 #--------------------------------------------------------------------
339
340 %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 Requires: maven-common-artifact-filters
346 Requires: maven
347 Requires: maven-artifact-manager
348 Requires: maven-project
349
350 %description repository-builder
351 %{summary}.
352
353 %files repository-builder
354 %{_javadir}/maven-shared/repository-builder*.jar
355 %{_mavenpomdir}/JPP.maven-shared-repository-builder.pom
356
357 #--------------------------------------------------------------------
358
359 %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 Requires: maven
365 Requires: maven-artifact-manager
366 Requires: maven-wagon
367 Requires: plexus-utils
368 Requires: plexus-containers-container-default
369
370 %description io
371 %{summary}.
372
373 %files io
374 %{_javadir}/maven-shared/io*.jar
375 %{_mavenpomdir}/JPP.maven-shared-io.pom
376
377 #--------------------------------------------------------------------
378
379 %package jar
380 Summary: Maven Shared Jar
381 Group: Development/Java
382 Version: %{jar_version}
383 Requires: %{name} = 0:%{shared_components_version}-%{release}
384 Requires: maven
385 Requires: plexus-digest
386 Requires: bcel
387 Requires: apache-commons-collections
388
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 %files jar
395 %{_javadir}/maven-shared/jar*.jar
396 %{_mavenpomdir}/JPP.maven-shared-jar.pom
397
398 #--------------------------------------------------------------------
399
400 %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 Requires: maven
406 Requires: plexus-containers-container-default
407
408 %description monitor
409 %{summary}.
410
411 %files monitor
412 %{_javadir}/maven-shared/monitor*.jar
413 %{_mavenpomdir}/JPP.maven-shared-monitor.pom
414
415 #--------------------------------------------------------------------
416
417 %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 %files verifier
428 %{_javadir}/maven-shared/verifier*.jar
429 %{_mavenpomdir}/JPP.maven-shared-verifier.pom
430
431 #--------------------------------------------------------------------
432
433 %package javadoc
434 Summary: Javadoc for %{name}
435 Group: Development/Java
436 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
441 %description javadoc
442 %{summary}.
443
444 %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 %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 Requires: maven
461 Requires: maven-artifact-manager
462 Requires: maven-project
463
464 %description artifact-resolver
465 Provides a component for plugins to easily resolve project dependencies.
466
467 %files artifact-resolver
468 %{_javadir}/maven-shared/artifact-resolver*.jar
469 %{_mavenpomdir}/JPP.maven-shared-artifact-resolver.pom
470
471 #--------------------------------------------------------------------
472
473 %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 Requires: maven
480 Requires: maven-doxia
481
482 %description reporting-api
483 Maven Reporting API.
484
485 %files reporting-api
486 %{_javadir}/maven-shared/reporting-api*.jar
487 %{_mavenpomdir}/JPP.maven-shared-reporting-api.pom
488
489 #--------------------------------------------------------------------
490
491 %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 Requires: maven
498 Requires: maven-project
499
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 %files runtime
506 %{_javadir}/maven-shared/runtime*.jar
507 %{_mavenpomdir}/JPP.maven-shared-runtime.pom
508
509 #--------------------------------------------------------------------
510
511 %prep
512 %setup -q -n %{name}-components-%{shared_components_version}
513 chmod -R go=u-w *
514 %patch0 -b .sav0
515 %patch1 -p1 -b .sav1
516 %patch6 -b .sav6
517 %patch2 -p1
518 %patch3 -p1
519 %patch7 -p1
520
521 # Fix aqute-bnd dependency
522 sed -i "s|<artifactId>bndlib|<artifactId>bnd|g" maven-osgi/pom.xml
523
524 # 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
527 sed -i "s|<groupId>ant|<groupId>org.apache.ant|g" maven-ant/pom.xml
528 # Remove test that needs junit-addons until that makes it into Fedora
529 #rm -f maven-reporting-impl/src/test/java/org/apache/maven/reporting/AbstractMavenReportRendererTest.java
530
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 sed -i "s|<module>maven-common-artifact-filters</module>|<!--module>maven-common-artifact-filters</module-->|" pom.xml
537
538 %build
539 export MAVEN_OPTS="-XX:MaxPermSize=256m"
540 mvn-rpmbuild \
541 -Dmaven.local.depmap.file=%{SOURCE1} \
542 -Dmaven.test.skip=true \
543 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 %add_maven_depmap JPP.%{name}-components-parent.pom
554
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 %add_maven_depmap -f downloader JPP.%{name}-downloader.pom %{name}/downloader.jar
559
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 %add_maven_depmap -f dependency-analyzer JPP.%{name}-dependency-analyzer.pom %{name}/dependency-analyzer.jar
564
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 %add_maven_depmap -f dependency-tree JPP.%{name}-dependency-tree.pom %{name}/dependency-tree.jar
569
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 %add_maven_depmap -f verifier JPP.%{name}-verifier.pom %{name}/verifier.jar
574
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 $RPM_BUILD_ROOT%{_javadir}/maven-shared/monitor.jar
578 %add_maven_depmap -f monitor JPP.%{name}-monitor.pom %{name}/monitor.jar
579
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 %add_maven_depmap -f io JPP.%{name}-io.pom %{name}/io.jar
584
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 %add_maven_depmap -f jar JPP.%{name}-jar.pom %{name}/jar.jar
589
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 %add_maven_depmap -f repository-builder JPP.%{name}-repository-builder.pom %{name}/repository-builder.jar
594
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 %add_maven_depmap -f reporting-impl JPP.%{name}-reporting-impl.pom %{name}/reporting-impl.jar
599
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 %add_maven_depmap -f model-converter JPP.%{name}-model-converter.pom %{name}/model-converter.jar
604
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 %add_maven_depmap -f invoker JPP.%{name}-invoker.pom %{name}/invoker.jar
609
610 #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
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 %add_maven_depmap -f ant JPP.%{name}-ant.pom %{name}/ant.jar
619
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 %add_maven_depmap -f osgi JPP.%{name}-osgi.pom %{name}/osgi.jar
624
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 %add_maven_depmap -f file-management JPP.%{name}-file-management.pom %{name}/file-management.jar
629
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 %add_maven_depmap -f artifact-resolver JPP.%{name}-artifact-resolver.pom %{name}/artifact-resolver.jar
634
635 #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
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 %add_maven_depmap -f reporting-api -a "org.apache.maven.reporting:maven-reporting-api" JPP.%{name}-reporting-api.pom %{name}/reporting-api.jar
644
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 %add_maven_depmap -f runtime JPP.%{name}-runtime.pom %{name}/runtime.jar
649
650 # javadoc
651 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
652 cp -pr target/site/apidocs/* \
653 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
654

  ViewVC Help
Powered by ViewVC 1.1.28