|
654 | 654 | </properties> |
655 | 655 | </profile> |
656 | 656 |
|
| 657 | + <!-- Individual JARs --> |
657 | 658 | <profile> |
658 | 659 | <id>core-jar</id> |
659 | 660 | <!-- This profile builds only the core (root level) elements into a separate |
|
686 | 687 | </plugins> |
687 | 688 | </build> |
688 | 689 | </profile> |
689 | | - |
| 690 | + |
690 | 691 | <profile> |
691 | | - <id>other-jars</id> |
692 | | - <!-- This profile builds all other (optional) elements into separate JAR |
| 692 | + <id>format-jar</id> |
| 693 | + <!-- This profile builds (optional) format elements into separate JAR |
693 | 694 | files --> |
694 | 695 | <build> |
695 | 696 | <plugins> |
|
715 | 716 | </build> |
716 | 717 | </profile> |
717 | 718 |
|
| 719 | + <profile> |
| 720 | + <id>quantity-jar</id> |
| 721 | + <!-- This profile builds (optional) quantities into separate JAR |
| 722 | + files --> |
| 723 | + <build> |
| 724 | + <plugins> |
| 725 | + <plugin> |
| 726 | + <artifactId>maven-jar-plugin</artifactId> |
| 727 | + <version>${maven.jar.version}</version> |
| 728 | + <executions> |
| 729 | + <execution> |
| 730 | + <id>quanity-jar</id> |
| 731 | + <goals> |
| 732 | + <goal>jar</goal> |
| 733 | + </goals> |
| 734 | + <configuration> |
| 735 | + <classifier>quantity</classifier> |
| 736 | + <includes> |
| 737 | + <include>javax/measure/quantity/**</include> |
| 738 | + </includes> |
| 739 | + </configuration> |
| 740 | + </execution> |
| 741 | + </executions> |
| 742 | + </plugin> |
| 743 | + </plugins> |
| 744 | + </build> |
| 745 | + </profile> |
| 746 | + |
| 747 | + <profile> |
| 748 | + <id>spi-jar</id> |
| 749 | + <!-- This profile builds (optional) SPI into separate JAR |
| 750 | + files --> |
| 751 | + <build> |
| 752 | + <plugins> |
| 753 | + <plugin> |
| 754 | + <artifactId>maven-jar-plugin</artifactId> |
| 755 | + <version>${maven.jar.version}</version> |
| 756 | + <executions> |
| 757 | + <execution> |
| 758 | + <id>spi-jar</id> |
| 759 | + <goals> |
| 760 | + <goal>jar</goal> |
| 761 | + </goals> |
| 762 | + <configuration> |
| 763 | + <classifier>spi</classifier> |
| 764 | + <includes> |
| 765 | + <include>javax/measure/spi/**</include> |
| 766 | + </includes> |
| 767 | + </configuration> |
| 768 | + </execution> |
| 769 | + </executions> |
| 770 | + </plugin> |
| 771 | + </plugins> |
| 772 | + </build> |
| 773 | + </profile> |
| 774 | + |
| 775 | + <!-- Profile JARs --> |
| 776 | + <profile> |
| 777 | + <id>format-profile</id> |
| 778 | + <!-- This profile builds the Format Profile (core+format) into a separate |
| 779 | + jar file --> |
| 780 | + <activation> |
| 781 | + <activeByDefault>false</activeByDefault> |
| 782 | + </activation> |
| 783 | + <build> |
| 784 | + <plugins> |
| 785 | + <plugin> |
| 786 | + <artifactId>maven-jar-plugin</artifactId> |
| 787 | + <version>${maven.jar.version}</version> |
| 788 | + <executions> |
| 789 | + <execution> |
| 790 | + <id>format-profile-jar</id> |
| 791 | + <goals> |
| 792 | + <goal>jar</goal> |
| 793 | + </goals> |
| 794 | + <configuration> |
| 795 | + <classifier>format-profile</classifier> |
| 796 | + <excludes> |
| 797 | + <exclude>javax/measure/quantity/**</exclude> |
| 798 | + <exclude>javax/measure/spi/**</exclude> |
| 799 | + </excludes> |
| 800 | + </configuration> |
| 801 | + </execution> |
| 802 | + </executions> |
| 803 | + </plugin> |
| 804 | + </plugins> |
| 805 | + </build> |
| 806 | + </profile> |
| 807 | + |
| 808 | + <profile> |
| 809 | + <id>spi-profile</id> |
| 810 | + <!-- This profile builds the SPI Profile (core+format+spi) into a separate |
| 811 | + jar file --> |
| 812 | + <activation> |
| 813 | + <activeByDefault>false</activeByDefault> |
| 814 | + </activation> |
| 815 | + <build> |
| 816 | + <plugins> |
| 817 | + <plugin> |
| 818 | + <artifactId>maven-jar-plugin</artifactId> |
| 819 | + <version>${maven.jar.version}</version> |
| 820 | + <executions> |
| 821 | + <execution> |
| 822 | + <id>core-jar</id> |
| 823 | + <goals> |
| 824 | + <goal>jar</goal> |
| 825 | + </goals> |
| 826 | + <configuration> |
| 827 | + <classifier>spi-profile</classifier> |
| 828 | + <excludes> |
| 829 | + <exclude>javax/measure/quantity/**</exclude> |
| 830 | + </excludes> |
| 831 | + </configuration> |
| 832 | + </execution> |
| 833 | + </executions> |
| 834 | + </plugin> |
| 835 | + </plugins> |
| 836 | + </build> |
| 837 | + </profile> |
| 838 | + |
718 | 839 | <profile> |
719 | 840 | <id>documentation</id> |
720 | 841 | <build> |
|
0 commit comments