-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the plugins used to generate the spec to their latest versions
Note that the final release of the 2.0.0 plugin has different defaults and requirements for setting things like the image dir. The configuration and the documents have been adjusted for that. Signed-off-by: arjantijms <[email protected]>
- Loading branch information
1 parent
d4e2dc1
commit feda7e3
Showing
8 changed files
with
41 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,59 +18,65 @@ | |
--> | ||
|
||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.eclipse.ee4j</groupId> | ||
<artifactId>project</artifactId> | ||
<version>1.0.6</version> | ||
<relativePath/> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>jakarta.xml.bind</groupId> | ||
<artifactId>xml-binding-spec</artifactId> | ||
<version>4.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
<version>4.0</version> | ||
<name>Jakarta XML Binding Specification</name> | ||
|
||
<properties> | ||
<site.output.dir>${project.build.directory}/staging</site.output.dir> | ||
<maven.site.skip>true</maven.site.skip> | ||
<asciidoctor.maven.plugin.version>2.2.4</asciidoctor.maven.plugin.version> | ||
<asciidoctorj.pdf.version>2.3.9</asciidoctorj.pdf.version> | ||
<spec.name>jakarta-${project.artifactId}-${project.version}</spec.name> | ||
<!-- status: DRAFT, BETA, etc., or blank for final --> | ||
<status>DRAFT</status> | ||
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format> | ||
<revisiondate>${maven.build.timestamp}</revisiondate> | ||
</properties> | ||
<name>Jakarta XML Binding Specification</name> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/eclipse-ee4j/jaxb-api.git</connection> | ||
<developerConnection>scm:git:[email protected]:eclipse-ee4j/jaxb-api.git</developerConnection> | ||
<url>https://github.com/eclipse-ee4j/jaxb-api.git</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<distributionManagement> | ||
<site> | ||
<url>scm:git:[email protected]:eclipse-ee4j/jaxb-api.git</url> | ||
</site> | ||
</distributionManagement> | ||
|
||
<properties> | ||
<site.output.dir>${project.build.directory}/staging</site.output.dir> | ||
<maven.site.skip>true</maven.site.skip> | ||
<asciidoctor.maven.plugin.version>2.2.4</asciidoctor.maven.plugin.version> | ||
<asciidoctorj.pdf.version>2.3.9</asciidoctorj.pdf.version> | ||
<spec.name>jakarta-${project.artifactId}-${project.version}</spec.name> | ||
<!-- status: DRAFT, BETA, etc., or blank for final --> | ||
<status>DRAFT</status> | ||
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format> | ||
<revisiondate>${maven.build.timestamp}</revisiondate> | ||
</properties> | ||
|
||
<build> | ||
<defaultGoal>package</defaultGoal> | ||
<plugins> | ||
<!-- Sets minimal Maven version --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.4.0</version> | ||
<executions> | ||
<execution> | ||
<id>enforce-versions</id> | ||
<id>enforce-env</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<requireMavenVersion> | ||
<version>3.6.0</version> | ||
</requireMavenVersion> | ||
<requireJavaVersion> | ||
<version>[11,)</version> | ||
<message>You need Java SE 11 or newer</message> | ||
|
@@ -146,12 +152,14 @@ | |
<configuration> | ||
<sourceDocumentName>${project.artifactId}.adoc</sourceDocumentName> | ||
<attributes> | ||
<revnumber>${project.version}</revnumber> | ||
<sourceDirectory>${basedir}/src/main/asciidoc</sourceDirectory> | ||
<imagesdir>images</imagesdir> | ||
<source-highlighter>coderay</source-highlighter> | ||
<revremark>${status}</revremark> | ||
<revdate>${revisiondate}</revdate> | ||
<revnumber>${project.version}</revnumber> | ||
</attributes> | ||
</configuration> | ||
|
||
</plugin> | ||
<!-- | ||
This is the rule that builds the zip file for download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters