Skip to content

Commit 3e854a0

Browse files
committed
UNITSOFMEASUREMENT-194: Prepare Final
JavaDoc, POM updates Task-Url: https://java.net/jira/browse/UNITSOFMEASUREMENT-194
1 parent 99581ca commit 3e854a0

File tree

5 files changed

+134
-8
lines changed

5 files changed

+134
-8
lines changed

pom.xml

Lines changed: 124 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@
654654
</properties>
655655
</profile>
656656

657+
<!-- Individual JARs -->
657658
<profile>
658659
<id>core-jar</id>
659660
<!-- This profile builds only the core (root level) elements into a separate
@@ -686,10 +687,10 @@
686687
</plugins>
687688
</build>
688689
</profile>
689-
690+
690691
<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
693694
files -->
694695
<build>
695696
<plugins>
@@ -715,6 +716,126 @@
715716
</build>
716717
</profile>
717718

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+
718839
<profile>
719840
<id>documentation</id>
720841
<build>

src/main/java/javax/measure/format/package-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
/**
3131
* [OPTIONAL] Provides Formatting and Parsing functionality for units, quantities, dimensions or their textual representation.
3232
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
33-
* @version 0.4.1, $Date: 2014-01-27 23:16:02 +0100 (Mo, 27 Jän 2014) $
33+
* @version 1.0, August 11, 2016
34+
* @since 1.0
3435
*/
3536
package javax.measure.format;

src/main/java/javax/measure/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
3737
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
3838
* @author <a href="mailto:llima@v2com.mobi">Leonardo de Moura Rocha Lima</a>
39-
* @version 1.3 ($Revision: 395 $), $Date: 2016-04-03 $
39+
* @version 1.4, August 11, 2016
4040
*
4141
*/
4242
package javax.measure;

src/main/java/javax/measure/quantity/package-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
*
7171
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
7272
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
73-
* @version 2.5
73+
* @version 2.6
74+
* @since 1.0
7475
*
7576
*/
7677
package javax.measure.quantity;

src/main/java/javax/measure/spi/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@
2828
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
*/
3030
/**
31-
* [OPTIONAL] Provides services for units, quantities or their textual representation.
31+
* [OPTIONAL] The Units of Measurement SPI. Provides services for units, quantities, unit systems and formatters/parsers.
32+
*
3233
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
3334
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
34-
* @version 0.3, $Date: 2014-11-01 $
35+
* @author <a href="mailto:desruisseaux@users.sourceforge.net">Martin Desruisseaux</a>
36+
* @version 1.0, August 11, 2016
37+
* @since 1.0
3538
*/
3639
package javax.measure.spi;
3740

0 commit comments

Comments
 (0)