• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4  <!-- ==================================================================== -->
5  <!-- Build requires Java SE 8 or later -->
6  <!-- Releases require Java SE 11 or later -->
7  <!-- ==================================================================== -->
8  <modelVersion>4.0.0</modelVersion>
9  <groupId>org.threeten</groupId>
10  <artifactId>threetenbp</artifactId>
11  <packaging>jar</packaging>
12  <name>ThreeTen backport</name>
13  <version>1.6.8</version>
14  <description>Backport of JSR-310 from JDK 8 to JDK 7 and JDK 6. NOT an implementation of the JSR.</description>
15  <url>https://www.threeten.org/threetenbp</url>
16
17  <!-- ==================================================================== -->
18  <issueManagement>
19    <system>GitHub</system>
20    <url>https://github.com/ThreeTen/threetenbp/issues</url>
21  </issueManagement>
22  <inceptionYear>2007</inceptionYear>
23
24  <!-- ==================================================================== -->
25  <developers>
26    <developer>
27      <id>jodastephen</id>
28      <name>Stephen Colebourne</name>
29      <roles>
30        <role>Project Lead</role>
31      </roles>
32      <timezone>0</timezone>
33      <url>https://github.com/jodastephen</url>
34    </developer>
35  </developers>
36  <contributors>
37    <contributor>
38      <name>Martin Baker</name>
39      <url>https://github.com/kemokid</url>
40    </contributor>
41    <contributor>
42      <name>Graham Borland</name>
43      <url>https://github.com/GrahamBorland</url>
44    </contributor>
45    <contributor>
46      <name>Keith Harris</name>
47      <url>https://github.com/keithharris</url>
48    </contributor>
49    <contributor>
50      <name>Ludovic Hochet</name>
51      <url>https://github.com/lhochet</url>
52    </contributor>
53    <contributor>
54      <name>Tomislav Hofman</name>
55      <url>https://github.com/tomislavhofman</url>
56    </contributor>
57    <contributor>
58      <name>Matias Irland</name>
59      <url>https://github.com/matir91</url>
60    </contributor>
61    <contributor>
62      <name>David van Leusen</name>
63      <url>https://github.com/Kiskae</url>
64    </contributor>
65    <contributor>
66      <name>Eric Li</name>
67      <url>https://github.com/ericksli</url>
68    </contributor>
69    <contributor>
70      <name>Pap Lorinc</name>
71      <url>https://github.com/paplorinc</url>
72    </contributor>
73    <contributor>
74      <name>Philippe Marschall</name>
75      <url>https://github.com/marschall</url>
76    </contributor>
77    <contributor>
78      <name>Michael Nascimento Santos</name>
79      <url>https://github.com/sjmisterm</url>
80    </contributor>
81    <contributor>
82      <name>Björn Raupach</name>
83      <url>https://github.com/raupachz</url>
84    </contributor>
85    <contributor>
86      <name>Roger Riggs</name>
87      <url>https://github.com/RogerRiggs</url>
88    </contributor>
89    <contributor>
90      <name>Siebe Schaap</name>
91      <url>https://github.com/sschaap</url>
92    </contributor>
93    <contributor>
94      <name>Sherman Shen</name>
95    </contributor>
96    <contributor>
97      <name>Stanislav Spiridonov</name>
98      <url>https://github.com/foal</url>
99    </contributor>
100    <contributor>
101      <name>Philipp Thuerwaechter</name>
102      <url>https://github.com/pithu</url>
103    </contributor>
104    <contributor>
105      <name>Andrey Turbanov</name>
106      <url>https://github.com/turbanoff</url>
107    </contributor>
108    <contributor>
109      <name> Jake Wharton</name>
110      <url>https://github.com/JakeWharton</url>
111    </contributor>
112  </contributors>
113
114  <!-- ==================================================================== -->
115  <licenses>
116    <license>
117      <name>BSD-3-Clause</name>
118      <url>https://raw.githubusercontent.com/ThreeTen/threetenbp/main/LICENSE.txt</url>
119      <distribution>repo</distribution>
120    </license>
121  </licenses>
122  <scm>
123    <connection>scm:git:https://github.com/ThreeTen/threetenbp.git</connection>
124    <developerConnection>scm:git:https://github.com/ThreeTen/threetenbp.git</developerConnection>
125    <url>https://github.com/ThreeTen/threetenbp</url>
126    <tag>v1.6.8</tag>
127  </scm>
128  <organization>
129    <name>ThreeTen.org</name>
130    <url>https://www.threeten.org</url>
131  </organization>
132
133  <!-- ==================================================================== -->
134  <build>
135    <resources>
136      <resource>
137        <directory>src/main/resources</directory>
138      </resource>
139      <resource>
140        <targetPath>META-INF</targetPath>
141        <directory>${project.basedir}</directory>
142        <includes>
143          <include>LICENSE.txt</include>
144        </includes>
145      </resource>
146    </resources>
147    <!-- define build -->
148    <plugins>
149      <!-- Enforce Maven 3.5.0 -->
150      <plugin>
151        <groupId>org.apache.maven.plugins</groupId>
152        <artifactId>maven-enforcer-plugin</artifactId>
153        <executions>
154          <execution>
155            <id>enforce-maven</id>
156            <goals>
157              <goal>enforce</goal>
158            </goals>
159            <configuration>
160              <rules>
161                <requireMavenVersion>
162                  <version>3.5.0</version>
163                </requireMavenVersion>
164              </rules>
165            </configuration>
166          </execution>
167        </executions>
168      </plugin>
169      <!-- Setup testing -->
170      <plugin>
171        <groupId>org.apache.maven.plugins</groupId>
172        <artifactId>maven-surefire-plugin</artifactId>
173        <configuration>
174          <includes>
175            <include>**/Test*.java</include>
176          </includes>
177          <argLine>-Xmx2G</argLine>
178          <parallel>classes</parallel>
179          <threadCount>1</threadCount>
180          <!-- remove slow SuiteHTMLReporter -->
181          <properties>
182            <property>
183              <name>usedefaultlisteners</name>
184              <value>false</value>
185            </property>
186            <property>
187              <name>listener</name>
188              <value>org.testng.reporters.ExitCodeListener</value>
189            </property>
190            <property>
191              <name>reporter</name>
192              <value>org.testng.reporters.JUnitReportReporter</value>
193            </property>
194          </properties>
195        </configuration>
196      </plugin>
197      <!-- Setup OSGi bundle data -->
198      <plugin>
199        <groupId>org.apache.felix</groupId>
200        <artifactId>maven-bundle-plugin</artifactId>
201        <version>${maven-bundle-plugin.version}</version>
202        <executions>
203          <execution>
204            <id>bundle-manifest</id>
205            <phase>process-classes</phase>
206            <goals>
207              <goal>manifest</goal>
208            </goals>
209            <configuration>
210              <instructions>
211                <Import-Package>!sun.util.calendar,*</Import-Package>
212                <Require-Capability>osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(version=1.6))"</Require-Capability>
213              </instructions>
214            </configuration>
215          </execution>
216        </executions>
217      </plugin>
218      <!-- Setup Jar file manifest entries -->
219      <plugin>
220        <groupId>org.apache.maven.plugins</groupId>
221        <artifactId>maven-jar-plugin</artifactId>
222        <executions>
223          <execution>
224            <id>default-jar</id>
225            <configuration>
226              <archive>
227                <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
228                <manifestEntries>
229                  <Time-Zone-Database-Version>${tz.database.version}</Time-Zone-Database-Version>
230                  <Automatic-Module-Name>org.threeten.bp</Automatic-Module-Name>
231                </manifestEntries>
232              </archive>
233            </configuration>
234          </execution>
235          <execution>
236            <id>no-tzdb</id>
237            <phase>package</phase>
238            <goals>
239              <goal>jar</goal>
240            </goals>
241            <configuration>
242              <classifier>no-tzdb</classifier>
243              <archive>
244                <manifestEntries>
245                  <Implementation-Title>ThreeTen backport No-TZDB</Implementation-Title>
246                </manifestEntries>
247              </archive>
248              <excludes>
249                <exclude>org/threeten/bp/*.dat</exclude>
250                <exclude>org/threeten/bp/zone/TzdbZoneRulesCompiler*</exclude>
251                <exclude>META-INF/services/org.threeten.bp.zone.ZoneRulesProvider</exclude>
252              </excludes>
253            </configuration>
254          </execution>
255        </executions>
256        <configuration>
257          <archive>
258            <manifest>
259              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
260              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
261            </manifest>
262          </archive>
263        </configuration>
264      </plugin>
265      <!-- Setup Javadoc jar -->
266      <plugin>
267        <groupId>org.apache.maven.plugins</groupId>
268        <artifactId>maven-javadoc-plugin</artifactId>
269        <configuration>
270          <groups>
271            <group>
272              <title>ThreeTen</title>
273              <packages>org.threeten.bp:org.threeten.bp.chrono:org.threeten.bp.format:org.threeten.bp.temporal:org.threeten.bp.zone</packages>
274            </group>
275            <group>
276              <title>Support classes (do not use)</title>
277              <packages>org.threeten.bp.jdk8</packages>
278            </group>
279          </groups>
280        </configuration>
281        <executions>
282          <execution>
283            <id>attach-javadocs</id>
284            <phase>package</phase>
285            <goals>
286              <goal>jar</goal>
287            </goals>
288          </execution>
289        </executions>
290      </plugin>
291      <!-- Setup source jar -->
292      <plugin>
293        <groupId>org.apache.maven.plugins</groupId>
294        <artifactId>maven-source-plugin</artifactId>
295        <configuration>
296          <excludeResources>true</excludeResources>
297        </configuration>
298        <executions>
299          <execution>
300            <id>attach-sources</id>
301            <phase>package</phase>
302            <goals>
303              <goal>jar-no-fork</goal>
304            </goals>
305          </execution>
306          <execution>
307            <id>attach-no-tztb-sources</id>
308            <phase>package</phase>
309            <goals>
310              <goal>jar-no-fork</goal>
311            </goals>
312            <configuration>
313              <classifier>no-tzdb-sources</classifier>
314              <excludes>
315                <exclude>org/threeten/bp/*.dat</exclude>
316                <exclude>org/threeten/bp/zone/TzdbZoneRulesCompiler*</exclude>
317                <exclude>META-INF/services/org.threeten.bp.zone.ZoneRulesProvider</exclude>
318              </excludes>
319            </configuration>
320          </execution>
321        </executions>
322      </plugin>
323    </plugins>
324    <!-- Manage plugin versions -->
325    <pluginManagement>
326      <plugins>
327        <!-- Maven build and reporting plugins (alphabetical) -->
328        <plugin>
329          <groupId>org.apache.maven.plugins</groupId>
330          <artifactId>maven-assembly-plugin</artifactId>
331          <version>${maven-assembly-plugin.version}</version>
332        </plugin>
333        <plugin>
334          <groupId>org.apache.maven.plugins</groupId>
335          <artifactId>maven-changes-plugin</artifactId>
336          <version>${maven-changes-plugin.version}</version>
337        </plugin>
338        <plugin>
339          <groupId>org.apache.maven.plugins</groupId>
340          <artifactId>maven-clean-plugin</artifactId>
341          <version>${maven-clean-plugin.version}</version>
342        </plugin>
343        <plugin>
344          <groupId>org.apache.maven.plugins</groupId>
345          <artifactId>maven-compiler-plugin</artifactId>
346          <version>${maven-compiler-plugin.version}</version>
347        </plugin>
348        <plugin>
349          <groupId>org.apache.maven.plugins</groupId>
350          <artifactId>maven-deploy-plugin</artifactId>
351          <version>${maven-deploy-plugin.version}</version>
352        </plugin>
353        <plugin>
354          <groupId>org.apache.maven.plugins</groupId>
355          <artifactId>maven-dependency-plugin</artifactId>
356          <version>${maven-dependency-plugin.version}</version>
357        </plugin>
358        <plugin>
359          <groupId>org.apache.maven.plugins</groupId>
360          <artifactId>maven-enforcer-plugin</artifactId>
361          <version>${maven-enforcer-plugin.version}</version>
362        </plugin>
363        <plugin>
364          <groupId>org.apache.maven.plugins</groupId>
365          <artifactId>maven-gpg-plugin</artifactId>
366          <version>${maven-gpg-plugin.version}</version>
367        </plugin>
368        <plugin>
369          <groupId>org.apache.maven.plugins</groupId>
370          <artifactId>maven-install-plugin</artifactId>
371          <version>${maven-install-plugin.version}</version>
372        </plugin>
373        <plugin>
374          <groupId>org.apache.maven.plugins</groupId>
375          <artifactId>maven-jar-plugin</artifactId>
376          <version>${maven-jar-plugin.version}</version>
377        </plugin>
378        <plugin>
379          <groupId>org.apache.maven.plugins</groupId>
380          <artifactId>maven-javadoc-plugin</artifactId>
381          <version>${maven-javadoc-plugin.version}</version>
382        </plugin>
383        <plugin>
384          <groupId>org.apache.maven.plugins</groupId>
385          <artifactId>maven-jxr-plugin</artifactId>
386          <version>${maven-jxr-plugin.version}</version>
387        </plugin>
388        <plugin>
389          <groupId>org.apache.maven.plugins</groupId>
390          <artifactId>maven-plugin-plugin</artifactId>
391          <version>${maven-plugin-plugin.version}</version>
392        </plugin>
393        <plugin>
394          <groupId>org.apache.maven.plugins</groupId>
395          <artifactId>maven-pmd-plugin</artifactId>
396          <version>${maven-pmd-plugin.version}</version>
397        </plugin>
398        <plugin>
399          <groupId>org.apache.maven.plugins</groupId>
400          <artifactId>maven-project-info-reports-plugin</artifactId>
401          <version>${maven-project-info-reports-plugin.version}</version>
402        </plugin>
403        <plugin>
404          <groupId>org.apache.maven.plugins</groupId>
405          <artifactId>maven-repository-plugin</artifactId>
406          <version>${maven-repository-plugin.version}</version>
407        </plugin>
408        <plugin>
409          <groupId>org.apache.maven.plugins</groupId>
410          <artifactId>maven-resources-plugin</artifactId>
411          <version>${maven-resources-plugin.version}</version>
412        </plugin>
413        <plugin>
414          <groupId>org.apache.maven.plugins</groupId>
415          <artifactId>maven-source-plugin</artifactId>
416          <version>${maven-source-plugin.version}</version>
417        </plugin>
418        <plugin>
419          <groupId>org.apache.maven.plugins</groupId>
420          <artifactId>maven-surefire-plugin</artifactId>
421          <version>${maven-surefire-plugin.version}</version>
422        </plugin>
423        <plugin>
424          <groupId>org.apache.maven.plugins</groupId>
425          <artifactId>maven-surefire-report-plugin</artifactId>
426          <version>${maven-surefire-report-plugin.version}</version>
427        </plugin>
428        <plugin>
429          <groupId>org.apache.maven.plugins</groupId>
430          <artifactId>maven-toolchains-plugin</artifactId>
431          <version>${maven-toolchains-plugin.version}</version>
432        </plugin>
433        <!-- Setup release -->
434        <plugin>
435          <groupId>org.apache.maven.plugins</groupId>
436          <artifactId>maven-release-plugin</artifactId>
437          <version>${maven-release-plugin.version}</version>
438          <configuration>
439            <arguments>-Doss.repo</arguments>
440            <autoVersionSubmodules>true</autoVersionSubmodules>
441            <tagNameFormat>v@{project.version}</tagNameFormat>
442            <localCheckout>true</localCheckout>
443          </configuration>
444          <dependencies>
445            <dependency>
446              <groupId>org.kohsuke</groupId>
447              <artifactId>github-api</artifactId>
448              <version>${github-api.version}</version>
449            </dependency>
450          </dependencies>
451        </plugin>
452        <plugin>
453          <groupId>org.codehaus.mojo</groupId>
454          <artifactId>build-helper-maven-plugin</artifactId>
455          <version>${build-helper-maven-plugin.version}</version>
456        </plugin>
457        <!-- Setup site with reflow maven skin -->
458        <plugin>
459          <groupId>org.apache.maven.plugins</groupId>
460          <artifactId>maven-site-plugin</artifactId>
461          <version>${maven-site-plugin.version}</version>
462          <configuration>
463            <skipDeploy>true</skipDeploy>
464          </configuration>
465          <dependencies>
466            <dependency>
467              <groupId>org.joda.external</groupId>
468              <artifactId>reflow-velocity-tools</artifactId>
469              <version>${reflow-velocity-tools.version}</version>
470            </dependency>
471          </dependencies>
472        </plugin>
473        <!-- for Eclipse -->
474        <plugin>
475          <groupId>org.eclipse.m2e</groupId>
476          <artifactId>lifecycle-mapping</artifactId>
477          <version>1.0.0</version>
478          <configuration>
479            <lifecycleMappingMetadata>
480              <pluginExecutions>
481                <pluginExecution>
482                  <pluginExecutionFilter>
483                    <groupId>org.apache.felix</groupId>
484                    <artifactId>maven-bundle-plugin</artifactId>
485                    <versionRange>[2.5.4,)</versionRange>
486                    <goals>
487                      <goal>manifest</goal>
488                    </goals>
489                  </pluginExecutionFilter>
490                  <action>
491                    <ignore />
492                  </action>
493                </pluginExecution>
494              </pluginExecutions>
495            </lifecycleMappingMetadata>
496          </configuration>
497        </plugin>
498      </plugins>
499    </pluginManagement>
500  </build>
501
502  <!-- ==================================================================== -->
503  <dependencies>
504    <dependency>
505      <groupId>org.testng</groupId>
506      <artifactId>testng</artifactId>
507      <version>6.8.21</version><!-- Later versions need JDK 7 -->
508      <scope>test</scope>
509      <exclusions>
510        <exclusion>
511          <groupId>org.beanshell</groupId>
512          <artifactId>bsh</artifactId>
513        </exclusion>
514        <exclusion>
515          <groupId>org.yaml</groupId>
516          <artifactId>snakeyaml</artifactId>
517        </exclusion>
518      </exclusions>
519    </dependency>
520  </dependencies>
521
522  <!-- ==================================================================== -->
523  <reporting>
524    <plugins>
525      <!-- Setup standard project info reports -->
526      <plugin>
527        <groupId>org.apache.maven.plugins</groupId>
528        <artifactId>maven-project-info-reports-plugin</artifactId>
529        <version>${maven-project-info-reports-plugin.version}</version>
530        <reportSets>
531          <reportSet>
532            <reports>
533              <report>ci-management</report>
534              <report>dependencies</report>
535              <report>dependency-info</report>
536              <report>issue-management</report>
537              <report>licenses</report>
538              <report>team</report>
539              <report>scm</report>
540              <report>summary</report>
541            </reports>
542          </reportSet>
543        </reportSets>
544      </plugin>
545      <!-- Setup Javadoc report -->
546      <plugin>
547        <groupId>org.apache.maven.plugins</groupId>
548        <artifactId>maven-javadoc-plugin</artifactId>
549        <version>${maven-javadoc-plugin.version}</version>
550        <reportSets>
551          <reportSet>
552            <reports>
553              <report>javadoc</report>
554            </reports>
555          </reportSet>
556        </reportSets>
557        <configuration>
558          <groups>
559            <group>
560              <title>ThreeTen</title>
561              <packages>org.threeten.bp:org.threeten.bp.chrono:org.threeten.bp.format:org.threeten.bp.temporal:org.threeten.bp.zone</packages>
562            </group>
563            <group>
564              <title>Support classes (do not use)</title>
565              <packages>org.threeten.bp.jdk8</packages>
566            </group>
567          </groups>
568        </configuration>
569      </plugin>
570      <!-- Setup Surefire report -->
571      <plugin>
572        <groupId>org.apache.maven.plugins</groupId>
573        <artifactId>maven-surefire-report-plugin</artifactId>
574        <version>${maven-surefire-report-plugin.version}</version>
575        <configuration>
576          <showSuccess>true</showSuccess>
577        </configuration>
578      </plugin>
579      <!-- Setup changes (release notes) -->
580      <plugin>
581        <groupId>org.apache.maven.plugins</groupId>
582        <artifactId>maven-changes-plugin</artifactId>
583        <version>${maven-changes-plugin.version}</version>
584        <reportSets>
585          <reportSet>
586            <reports>
587              <report>changes-report</report>
588            </reports>
589          </reportSet>
590        </reportSets>
591      </plugin>
592    </plugins>
593  </reporting>
594
595  <!-- ==================================================================== -->
596  <distributionManagement>
597    <repository>
598      <id>sonatype-threeten-staging</id>
599      <name>Sonatype OSS staging repository</name>
600      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
601      <layout>default</layout>
602    </repository>
603    <snapshotRepository>
604      <uniqueVersion>false</uniqueVersion>
605      <id>sonatype-threeten-snapshot</id>
606      <name>Sonatype OSS snapshot repository</name>
607      <url>https://oss.sonatype.org/content/repositories/threeten-snapshots</url>
608      <layout>default</layout>
609    </snapshotRepository>
610    <downloadUrl>https://oss.sonatype.org/content/repositories/threeten-releases</downloadUrl>
611  </distributionManagement>
612
613  <!-- ==================================================================== -->
614  <profiles>
615    <!-- Setup for Java 9+ -->
616    <profile>
617      <id>java9plus</id>
618      <activation>
619        <jdk>[9,)</jdk>
620      </activation>
621      <properties>
622        <maven.compiler.release>6</maven.compiler.release>
623      </properties>
624    </profile>
625    <!-- extra javadoc jar file -->
626    <profile>
627      <id>attach-additional-javadoc</id>
628      <activation>
629        <property>
630          <name>maven.javadoc.skip</name>
631          <value>!true</value>
632        </property>
633      </activation>
634      <build>
635        <plugins>
636          <plugin>
637            <groupId>org.codehaus.mojo</groupId>
638            <artifactId>build-helper-maven-plugin</artifactId>
639            <executions>
640              <execution>
641                <id>attach-no-tzdb-javadoc</id>
642                <phase>package</phase>
643                <goals>
644                  <goal>attach-artifact</goal>
645                </goals>
646                <configuration>
647                  <artifacts>
648                    <artifact>
649                      <file>${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar</file>
650                      <type>jar</type>
651                      <classifier>no-tzdb-javadoc</classifier>
652                    </artifact>
653                  </artifacts>
654                </configuration>
655              </execution>
656            </executions>
657          </plugin>
658        </plugins>
659      </build>
660    </profile>
661    <!-- Deployment profile, activated by -Doss.repo -->
662    <profile>
663      <id>release-artifacts</id>
664      <activation>
665        <property>
666          <name>oss.repo</name>
667        </property>
668      </activation>
669      <build>
670        <plugins>
671          <!-- Enforce release is on Java 9 or later -->
672          <plugin>
673            <groupId>org.apache.maven.plugins</groupId>
674            <artifactId>maven-enforcer-plugin</artifactId>
675            <executions>
676              <execution>
677                <id>enforce-java</id>
678                <goals>
679                  <goal>enforce</goal>
680                </goals>
681                <configuration>
682                  <rules>
683                    <requireJavaVersion>
684                      <version>[9,)</version>
685                    </requireJavaVersion>
686                  </rules>
687                </configuration>
688              </execution>
689            </executions>
690          </plugin>
691          <!-- Sign artifacts -->
692          <plugin>
693            <groupId>org.apache.maven.plugins</groupId>
694            <artifactId>maven-gpg-plugin</artifactId>
695            <executions>
696              <execution>
697                <id>sign-artifacts</id>
698                <phase>verify</phase>
699                <goals>
700                  <goal>sign</goal>
701                </goals>
702              </execution>
703            </executions>
704          </plugin>
705          <!-- Release to GitHub -->
706          <!-- This will create a tag on GitHub on deploy -->
707          <!-- The release commit must have been pushed first -->
708          <plugin>
709            <groupId>de.jutzig</groupId>
710            <artifactId>github-release-plugin</artifactId>
711            <version>${github-release-plugin.version}</version>
712            <configuration>
713              <releaseName>Release v${project.version}</releaseName>
714              <description>See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.</description>
715              <tag>v${project.version}</tag>
716              <overwriteArtifact>true</overwriteArtifact>
717            </configuration>
718            <executions>
719              <execution>
720                <id>github-releases</id>
721                <phase>deploy</phase>
722                <goals>
723                  <goal>release</goal>
724                </goals>
725              </execution>
726            </executions>
727          </plugin>
728          <!-- Use nexus plugin to directly release -->
729          <plugin>
730            <groupId>org.sonatype.plugins</groupId>
731            <artifactId>nexus-staging-maven-plugin</artifactId>
732            <version>${nexus-staging-maven-plugin.version}</version>
733            <extensions>true</extensions>
734            <configuration>
735              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
736              <serverId>sonatype-joda-staging</serverId>
737              <autoReleaseAfterClose>true</autoReleaseAfterClose>
738              <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
739            </configuration>
740          </plugin>
741        </plugins>
742      </build>
743    </profile>
744    <profile>
745      <id>tzdb-update</id>
746      <activation>
747        <property>
748          <name>tzdb-update</name>
749        </property>
750      </activation>
751      <build>
752        <plugins>
753          <plugin>
754            <groupId>org.codehaus.mojo</groupId>
755            <artifactId>exec-maven-plugin</artifactId>
756            <version>1.2.1</version>
757            <executions>
758              <execution>
759                <phase>generate-resources</phase>
760                <goals>
761                  <goal>java</goal>
762                </goals>
763              </execution>
764            </executions>
765            <configuration>
766              <mainClass>org.threeten.bp.zone.TzdbZoneRulesCompiler</mainClass>
767              <classpathScope>compile</classpathScope>
768              <arguments>
769                <argument>-srcdir</argument>
770                <argument>${project.basedir}/src/tzdb</argument>
771                <argument>-dstdir</argument>
772                <argument>${project.basedir}/src/main/resources/org/threeten/bp</argument>
773                <argument>-unpacked</argument>
774              </arguments>
775            </configuration>
776          </plugin>
777        </plugins>
778      </build>
779    </profile>
780    <profile>
781      <id>tzdb-jar</id>
782      <activation>
783        <property>
784          <name>tzdb-jar</name>
785        </property>
786      </activation>
787      <build>
788        <plugins>
789          <plugin>
790            <groupId>org.codehaus.mojo</groupId>
791            <artifactId>exec-maven-plugin</artifactId>
792            <version>1.2.1</version>
793            <executions>
794              <execution>
795                <phase>prepare-package</phase>
796                <goals>
797                  <goal>java</goal>
798                </goals>
799              </execution>
800            </executions>
801            <configuration>
802              <mainClass>org.threeten.bp.zone.TzdbZoneRulesCompiler</mainClass>
803              <classpathScope>compile</classpathScope>
804              <arguments>
805                <argument>-srcdir</argument>
806                <argument>${project.basedir}/src/tzdb</argument>
807                <argument>-dstdir</argument>
808                <argument>${project.build.directory}</argument>
809              </arguments>
810            </configuration>
811          </plugin>
812        </plugins>
813      </build>
814    </profile>
815  </profiles>
816
817  <!-- ==================================================================== -->
818  <properties>
819    <!-- Plugin version numbers -->
820    <build-helper-maven-plugin.version>1.12</build-helper-maven-plugin.version>
821    <maven-assembly-plugin.version>3.4.2</maven-assembly-plugin.version>
822    <maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>
823    <maven-changes-plugin.version>2.12.1</maven-changes-plugin.version>
824    <!-- v3.0.0 does not work with Eclipse -->
825    <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
826    <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
827    <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
828    <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
829    <maven-dependency-plugin.version>3.3.0</maven-dependency-plugin.version>
830    <maven-enforcer-plugin.version>3.1.0</maven-enforcer-plugin.version>
831    <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
832    <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
833    <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
834    <maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
835    <maven-jxr-plugin.version>3.2.0</maven-jxr-plugin.version>
836    <maven-plugin-plugin.version>3.6.4</maven-plugin-plugin.version>
837    <maven-pmd-plugin.version>3.17.0</maven-pmd-plugin.version>
838    <maven-project-info-reports-plugin.version>3.4.0</maven-project-info-reports-plugin.version>
839    <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
840    <maven-repository-plugin.version>2.4</maven-repository-plugin.version>
841    <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
842    <maven-site-plugin.version>3.12.0</maven-site-plugin.version>
843    <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
844    <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
845    <maven-surefire-report-plugin.version>3.0.0-M7</maven-surefire-report-plugin.version>
846    <maven-toolchains-plugin.version>3.1.0</maven-toolchains-plugin.version>
847    <!-- Other plugins -->
848    <github-api.version>1.307</github-api.version>
849    <github-release-plugin.version>1.4.0</github-release-plugin.version>
850    <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
851    <reflow-velocity-tools.version>1.2</reflow-velocity-tools.version>
852    <!-- Properties for maven-compiler-plugin -->
853    <maven.compiler.compilerVersion>1.6</maven.compiler.compilerVersion>
854    <maven.compiler.source>1.6</maven.compiler.source>
855    <maven.compiler.target>1.6</maven.compiler.target>
856    <maven.compiler.fork>true</maven.compiler.fork>
857    <!-- Properties for maven-javadoc-plugin -->
858    <author>false</author>
859    <notimestamp>true</notimestamp>
860    <doclint>none</doclint>
861    <!-- Other properties -->
862    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
863    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
864    <linkXRef>false</linkXRef>
865    <tz.database.version>2023cgtz</tz.database.version>
866  </properties>
867</project>
868