|
44 | 44 | <easymock.version>3.0</easymock.version>
|
45 | 45 | <exam.version>4.13.5</exam.version>
|
46 | 46 | <logback.version>1.5.16</logback.version>
|
47 |
| - <maven-jar-plugin.version>2.3</maven-jar-plugin.version> |
| 47 | + <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version> |
| 48 | + <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> |
48 | 49 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
|
49 | 50 | <org.apache.aries.application.api.version>1.0.0</org.apache.aries.application.api.version>
|
50 | 51 | <org.apache.aries.application.modeller.version>1.0.0</org.apache.aries.application.modeller.version>
|
|
371 | 372 | </excludes>
|
372 | 373 | <classesDirectory>${project.build.directory}/test-classes</classesDirectory>
|
373 | 374 | <outputDirectory>${project.build.directory}/test-classes/nobsn</outputDirectory>
|
374 |
| - <finalName>tb1</finalName> |
| 375 | + <classifier>tb1-nobsn</classifier> |
375 | 376 | </configuration>
|
376 | 377 | <phase>process-test-classes</phase>
|
377 | 378 | </execution>
|
|
389 | 390 | </excludes>
|
390 | 391 | <classesDirectory>${project.build.directory}/test-classes</classesDirectory>
|
391 | 392 | <outputDirectory>${project.build.directory}/test-classes/application1</outputDirectory>
|
392 |
| - <finalName>tb1</finalName> |
| 393 | + <classifier>tb1-application1</classifier> |
393 | 394 | </configuration>
|
394 | 395 | <phase>process-test-classes</phase>
|
395 | 396 | </execution>
|
|
407 | 408 | <include>org/apache/aries/subsystem/itests/tb1/**</include>
|
408 | 409 | </includes>
|
409 | 410 | <outputDirectory>${project.build.directory}/test-classes/feature1</outputDirectory>
|
410 |
| - <finalName>tb1</finalName> |
| 411 | + <classifier>tb1-feature1</classifier> |
411 | 412 | </configuration>
|
412 | 413 | <phase>process-test-classes</phase>
|
413 | 414 | </execution>
|
|
426 | 427 | <include>org/apache/aries/subsystem/itests/tb3/**</include>
|
427 | 428 | </includes>
|
428 | 429 | <outputDirectory>${project.build.directory}/test-classes/feature2</outputDirectory>
|
429 |
| - <finalName>tb2</finalName> |
| 430 | + <classifier>tb2-feature2</classifier> |
430 | 431 | </configuration>
|
431 | 432 | <phase>process-test-classes</phase>
|
432 | 433 | </execution>
|
|
444 | 445 | <include>org/apache/aries/subsystem/itests/tb3/**</include>
|
445 | 446 | </includes>
|
446 | 447 | <outputDirectory>${project.build.directory}/test-classes/feature1</outputDirectory>
|
447 |
| - <finalName>tb3</finalName> |
| 448 | + <classifier>tb3-feature1</classifier> |
448 | 449 | </configuration>
|
449 | 450 | <phase>process-test-classes</phase>
|
450 | 451 | </execution>
|
|
462 | 463 | <include>org/apache/aries/subsystem/itests/tb3/**</include>
|
463 | 464 | </includes>
|
464 | 465 | <outputDirectory>${project.build.directory}/test-classes/feature2</outputDirectory>
|
465 |
| - <finalName>tb3</finalName> |
| 466 | + <classifier>tb3-feature2</classifier> |
466 | 467 | </configuration>
|
467 | 468 | <phase>process-test-classes</phase>
|
468 | 469 | </execution>
|
|
480 | 481 | <include>org/apache/aries/subsystem/itests/tb3/**</include>
|
481 | 482 | </includes>
|
482 | 483 | <outputDirectory>${project.build.directory}/test-classes/feature3</outputDirectory>
|
483 |
| - <finalName>tb3</finalName> |
| 484 | + <classifier>tb3-feature3</classifier> |
484 | 485 | </configuration>
|
485 | 486 | <phase>process-test-classes</phase>
|
486 | 487 | </execution>
|
|
498 | 499 | <include>org/apache/aries/subsystem/itests/tb4/**</include>
|
499 | 500 | </includes>
|
500 | 501 | <outputDirectory>${project.build.directory}/test-classes/composite2</outputDirectory>
|
501 |
| - <finalName>tb4</finalName> |
| 502 | + <classifier>tb4-composite2</classifier> |
502 | 503 | </configuration>
|
503 | 504 | <phase>process-test-classes</phase>
|
504 | 505 | </execution>
|
|
519 | 520 | <include>org/apache/aries/subsystem/itests/hello/impl/**</include>
|
520 | 521 | </includes>
|
521 | 522 | <outputDirectory>${project.build.directory}/test-classes/hello</outputDirectory>
|
522 |
| - <finalName>helloImpl</finalName> |
| 523 | + <classifier>hello-impl</classifier> |
523 | 524 | </configuration>
|
524 | 525 | <phase>process-test-classes</phase>
|
525 | 526 | </execution>
|
|
538 | 539 | <include>org/apache/aries/subsystem/itests/cmcontent/impl/**</include>
|
539 | 540 | </includes>
|
540 | 541 | <outputDirectory>${project.build.directory}/test-classes/cmContent</outputDirectory>
|
541 |
| - <finalName>cmContentBundleZ</finalName> |
| 542 | + <classifier>cm-content-bundleZ</classifier> |
542 | 543 | </configuration>
|
543 | 544 | <phase>process-test-classes</phase>
|
544 | 545 | </execution>
|
|
553 | 554 | <manifestFile>src/test/bundles/customContentBundleA/META-INF/MANIFEST.MF</manifestFile>
|
554 | 555 | </archive>
|
555 | 556 | <outputDirectory>${project.build.directory}/test-classes/customContent</outputDirectory>
|
556 |
| - <finalName>customContentBundleA</finalName> |
| 557 | + <classifier>custom-content-bundleA</classifier> |
557 | 558 | </configuration>
|
558 | 559 | <phase>process-test-classes</phase>
|
559 | 560 | </execution>
|
|
568 | 569 | <manifestFile>src/test/bundles/customContentBundleB/META-INF/MANIFEST.MF</manifestFile>
|
569 | 570 | </archive>
|
570 | 571 | <outputDirectory>${project.build.directory}/test-classes/customContent1</outputDirectory>
|
571 |
| - <finalName>customContentBundleB</finalName> |
| 572 | + <classifier>custom-content-bundleB</classifier> |
572 | 573 | </configuration>
|
573 | 574 | <phase>process-test-classes</phase>
|
574 | 575 | </execution>
|
|
583 | 584 | <manifestFile>src/test/bundles/customContentBundleC/META-INF/MANIFEST.MF</manifestFile>
|
584 | 585 | </archive>
|
585 | 586 | <outputDirectory>${project.build.directory}/test-classes/customContent2</outputDirectory>
|
586 |
| - <finalName>customContentBundleC</finalName> |
| 587 | + <classifier>custom-content-bundleC</classifier> |
587 | 588 | </configuration>
|
588 | 589 | <phase>process-test-classes</phase>
|
589 | 590 | </execution>
|
|
598 | 599 | <manifestFile>src/test/bundles/customContentBundleD/META-INF/MANIFEST.MF</manifestFile>
|
599 | 600 | </archive>
|
600 | 601 | <outputDirectory>${project.build.directory}/test-classes/customContent3</outputDirectory>
|
601 |
| - <finalName>customContentBundleD</finalName> |
| 602 | + <classifier>custom-content-bundleD</classifier> |
602 | 603 | </configuration>
|
603 | 604 | <phase>process-test-classes</phase>
|
604 | 605 | </execution>
|
|
617 | 618 | <include>org/apache/aries/subsystem/itests/dynamicImport/**</include>
|
618 | 619 | </includes>
|
619 | 620 | <outputDirectory>${project.build.directory}/test-classes/dynamicImport</outputDirectory>
|
620 |
| - <finalName>dynamicImport</finalName> |
| 621 | + <classifier>dynamic-import-impl</classifier> |
621 | 622 | </configuration>
|
622 | 623 | <phase>process-test-classes</phase>
|
623 | 624 | </execution>
|
|
638 | 639 | <include>org/apache/aries/subsystem/itests/aries1608provider/**</include>
|
639 | 640 | </includes>
|
640 | 641 | <outputDirectory>${project.build.directory}/test-classes/aries1608</outputDirectory>
|
641 |
| - <finalName>aries1608provider</finalName> |
| 642 | + <classifier>aries1608provider</classifier> |
642 | 643 | </configuration>
|
643 | 644 | <phase>process-test-classes</phase>
|
644 | 645 | </execution>
|
|
657 | 658 | <include>org/apache/aries/subsystem/itests/aries1608required/**</include>
|
658 | 659 | </includes>
|
659 | 660 | <outputDirectory>${project.build.directory}/test-classes/aries1608</outputDirectory>
|
660 |
| - <finalName>aries1608required</finalName> |
| 661 | + <classifier>aries-bundlearies1608required</classifier> |
661 | 662 | </configuration>
|
662 | 663 | <phase>process-test-classes</phase>
|
663 | 664 | </execution>
|
|
676 | 677 | <include>org/apache/aries/subsystem/itests/aries1523host/**</include>
|
677 | 678 | </includes>
|
678 | 679 | <outputDirectory>${project.build.directory}/test-classes/aries1523</outputDirectory>
|
679 |
| - <finalName>aries1523host</finalName> |
| 680 | + <classifier>aries1523host</classifier> |
680 | 681 | </configuration>
|
681 | 682 | <phase>process-test-classes</phase>
|
682 | 683 | </execution>
|
|
695 | 696 | <include>org/apache/aries/subsystem/itests/aries1523fragment/**</include>
|
696 | 697 | </includes>
|
697 | 698 | <outputDirectory>${project.build.directory}/test-classes/aries1523</outputDirectory>
|
698 |
| - <finalName>aries1523fragment</finalName> |
| 699 | + <classifier>aries1523fragment</classifier> |
699 | 700 | </configuration>
|
700 | 701 | <phase>process-test-classes</phase>
|
701 | 702 | </execution>
|
702 |
| - |
| 703 | + </executions> |
| 704 | + </plugin> |
| 705 | + <plugin> |
| 706 | + <groupId>org.apache.maven.plugins</groupId> |
| 707 | + <artifactId>maven-antrun-plugin</artifactId> |
| 708 | + <version>${maven-antrun-plugin.version}</version> |
| 709 | + <executions> |
| 710 | + <execution> |
| 711 | + <phase>process-test-classes</phase> |
| 712 | + <goals> |
| 713 | + <goal>run</goal> |
| 714 | + </goals> |
| 715 | + <configuration> |
| 716 | + <target> |
| 717 | + <copy file="${project.build.directory}/test-classes/nobsn/${project.artifactId}-${project.version}-tb1-nobsn.jar" tofile="${project.build.directory}/test-classes/nobsn/tb1.jar"/> |
| 718 | + <copy file="${project.build.directory}/test-classes/application1/${project.artifactId}-${project.version}-tb1-application1.jar" tofile="${project.build.directory}/test-classes/application1/tb1.jar"/> |
| 719 | + <copy file="${project.build.directory}/test-classes/feature1/${project.artifactId}-${project.version}-tb1-feature1.jar" tofile="${project.build.directory}/test-classes/feature1/tb1.jar"/> |
| 720 | + <copy file="${project.build.directory}/test-classes/feature2/${project.artifactId}-${project.version}-tb2-feature2.jar" tofile="${project.build.directory}/test-classes/feature2/tb2.jar"/> |
| 721 | + <copy file="${project.build.directory}/test-classes/feature1/${project.artifactId}-${project.version}-tb3-feature1.jar" tofile="${project.build.directory}/test-classes/feature1/tb3.jar"/> |
| 722 | + <copy file="${project.build.directory}/test-classes/feature2/${project.artifactId}-${project.version}-tb3-feature2.jar" tofile="${project.build.directory}/test-classes/feature2/tb3.jar"/> |
| 723 | + <copy file="${project.build.directory}/test-classes/feature3/${project.artifactId}-${project.version}-tb3-feature3.jar" tofile="${project.build.directory}/test-classes/feature3/tb3.jar"/> |
| 724 | + <copy file="${project.build.directory}/test-classes/composite2/${project.artifactId}-${project.version}-tb4-composite2.jar" tofile="${project.build.directory}/test-classes/composite2/tb4.jar"/> |
| 725 | + <copy file="${project.build.directory}/test-classes/hello/${project.artifactId}-${project.version}-hello-impl.jar" tofile="${project.build.directory}/test-classes/hello/helloImpl.jar"/> |
| 726 | + <copy file="${project.build.directory}/test-classes/cmContent/${project.artifactId}-${project.version}-cm-content-bundleZ.jar" tofile="${project.build.directory}/test-classes/cmContent/cmContentBundleZ.jar"/> |
| 727 | + <copy file="${project.build.directory}/test-classes/customContent/${project.artifactId}-${project.version}-custom-content-bundleA.jar" tofile="${project.build.directory}/test-classes/customContent/customContentBundleA.jar"/> |
| 728 | + <copy file="${project.build.directory}/test-classes/customContent1/${project.artifactId}-${project.version}-custom-content-bundleB.jar" tofile="${project.build.directory}/test-classes/customContent1/customContentBundleB.jar"/> |
| 729 | + <copy file="${project.build.directory}/test-classes/customContent2/${project.artifactId}-${project.version}-custom-content-bundleC.jar" tofile="${project.build.directory}/test-classes/customContent2/customContentBundleC.jar"/> |
| 730 | + <copy file="${project.build.directory}/test-classes/customContent3/${project.artifactId}-${project.version}-custom-content-bundleD.jar" tofile="${project.build.directory}/test-classes/customContent3/customContentBundleD.jar"/> |
| 731 | + <copy file="${project.build.directory}/test-classes/dynamicImport/${project.artifactId}-${project.version}-dynamic-import-impl.jar" tofile="${project.build.directory}/test-classes/dynamicImport/dynamicImport.jar"/> |
| 732 | + <copy file="${project.build.directory}/test-classes/aries1608/${project.artifactId}-${project.version}-aries1608provider.jar" tofile="${project.build.directory}/test-classes/aries1608/aries1608provider.jar"/> |
| 733 | + <copy file="${project.build.directory}/test-classes/aries1608/${project.artifactId}-${project.version}-aries-bundlearies1608required.jar" tofile="${project.build.directory}/test-classes/aries1608/aries1608required.jar"/> |
| 734 | + <copy file="${project.build.directory}/test-classes/aries1523/${project.artifactId}-${project.version}-aries1523host.jar" tofile="${project.build.directory}/test-classes/aries1523/aries1523host.jar"/> |
| 735 | + <copy file="${project.build.directory}/test-classes/aries1523/${project.artifactId}-${project.version}-aries1523fragment.jar" tofile="${project.build.directory}/test-classes/aries1523/aries1523fragment.jar"/> |
| 736 | + </target> |
| 737 | + </configuration> |
| 738 | + </execution> |
703 | 739 | </executions>
|
704 | 740 | </plugin>
|
705 | 741 | <plugin>
|
|
888 | 924 | <reuseForks>false</reuseForks>
|
889 | 925 | </configuration>
|
890 | 926 | </plugin>
|
| 927 | + |
| 928 | + <plugin> |
| 929 | + <groupId>org.codehaus.mojo</groupId> |
| 930 | + <artifactId>ianal-maven-plugin</artifactId> |
| 931 | + <configuration> |
| 932 | + <!-- test artifacts does not contain necessary files and are never rele --> |
| 933 | + <skip>true</skip> |
| 934 | + </configuration> |
| 935 | + </plugin> |
891 | 936 | </plugins>
|
892 | 937 | </build>
|
893 | 938 |
|
|
0 commit comments