|
4 | 4 |
|
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 | <parent> |
7 | | - <groupId>dev.resteasy.tools</groupId> |
8 | | - <artifactId>resteasy-parent</artifactId> |
9 | | - <version>2.0.4.Final</version> |
10 | | - <relativePath/> |
| 7 | + <groupId>org.jboss.resteasy</groupId> |
| 8 | + <artifactId>resteasy-jaxrs-all</artifactId> |
| 9 | + <version>6.2.9.Final-SNAPSHOT</version> |
| 10 | + <relativePath>../pom.xml</relativePath> |
11 | 11 | </parent> |
12 | 12 |
|
13 | | - <groupId>org.jboss.resteasy</groupId> |
14 | 13 | <artifactId>resteasy-reference-guide</artifactId> |
15 | | - <version>6.2.9.Final-SNAPSHOT</version> |
16 | | - <packaging>jdocbook</packaging> |
| 14 | + <packaging>pom</packaging> |
17 | 15 | <name>RESTEasy Reference Guide</name> |
18 | 16 | <description/> |
19 | 17 |
|
20 | | - <url>https://resteasy.dev</url> |
21 | | - |
22 | | - <licenses> |
23 | | - <license> |
24 | | - <name>Apache License 2.0</name> |
25 | | - <url>https://repository.jboss.org/licenses/apache-2.0.txt</url> |
26 | | - <distribution>repo</distribution> |
27 | | - </license> |
28 | | - </licenses> |
29 | | - |
30 | | - <scm> |
31 | | - <connection>scm:git:git://github.com/resteasy/resteasy.git</connection> |
32 | | - < developerConnection>scm:git: [email protected]:resteasy/resteasy.git</ developerConnection> |
33 | | - <url>https://github.com/resteasy/resteasy/tree/main/</url> |
34 | | - </scm> |
35 | | - |
36 | | - <issueManagement> |
37 | | - <system>JIRA</system> |
38 | | - <url>https://issues.redhat.com/browse/RESTEASY</url> |
39 | | - </issueManagement> |
40 | | - |
41 | | - <repositories> |
42 | | - <repository> |
43 | | - <id>jboss</id> |
44 | | - <url>https://repository.jboss.org/nexus/content/groups/public/</url> |
45 | | - </repository> |
46 | | - </repositories> |
47 | | - <pluginRepositories> |
48 | | - <pluginRepository> |
49 | | - <id>jboss</id> |
50 | | - <url>https://repository.jboss.org/nexus/content/groups/public/</url> |
51 | | - </pluginRepository> |
52 | | - </pluginRepositories> |
53 | | - |
54 | 18 | <build> |
55 | 19 | <plugins> |
56 | 20 | <plugin> |
|
66 | 30 | </configuration> |
67 | 31 | </plugin> |
68 | 32 | <plugin> |
69 | | - <groupId>org.jboss.maven.plugins</groupId> |
70 | | - <artifactId>maven-jdocbook-plugin</artifactId> |
71 | | - <version>2.3.10</version> |
72 | | - <extensions>true</extensions> |
73 | | - |
| 33 | + <groupId>org.asciidoctor</groupId> |
| 34 | + <artifactId>asciidoctor-maven-plugin</artifactId> |
| 35 | + <version>3.0.0</version> |
74 | 36 | <dependencies> |
75 | 37 | <dependency> |
76 | | - <groupId>org.jboss.pressgang</groupId> |
77 | | - <artifactId>pressgang-xslt-ns</artifactId> |
78 | | - <version>3.1.4</version> |
79 | | - </dependency> |
80 | | - <dependency> |
81 | | - <groupId>org.jboss.pressgang</groupId> |
82 | | - <artifactId>pressgang-jdocbook-style</artifactId> |
83 | | - <type>jdocbook-style</type> |
84 | | - <version>3.1.4</version> |
| 38 | + <groupId>org.asciidoctor</groupId> |
| 39 | + <artifactId>asciidoctorj-pdf</artifactId> |
| 40 | + <version>2.3.15</version> |
85 | 41 | </dependency> |
86 | 42 | </dependencies> |
87 | | - |
88 | 43 | <configuration> |
89 | | - <sourceDocumentName>master.xml</sourceDocumentName> |
90 | | - <masterTranslation>en-US</masterTranslation> |
91 | | - <sourceDirectory>${project.basedir}/reference/en</sourceDirectory> |
92 | | - <imageResource> |
93 | | - <directory>${project.basedir}/reference/en</directory> |
94 | | - <includes> |
95 | | - <include>images/*</include> |
96 | | - </includes> |
97 | | - </imageResource> |
98 | | - <formats> |
99 | | - <format> |
100 | | - <formatName>html_single</formatName> |
101 | | - <stylesheetResource>classpath:/xslt/org/jboss/pressgang/xhtml-single.xsl</stylesheetResource> |
102 | | - <finalName>index.html</finalName> |
103 | | - <!-- <profilingTypeName>two_pass</profilingTypeName> --> |
104 | | - </format> |
105 | | - <format> |
106 | | - <formatName>html</formatName> |
107 | | - <stylesheetResource>classpath:/xslt/org/jboss/pressgang/xhtml.xsl</stylesheetResource> |
108 | | - <finalName>index.html</finalName> |
109 | | - <!-- <profilingTypeName>two_pass</profilingTypeName> --> |
110 | | - </format> |
111 | | - <format> |
112 | | - <formatName>pdf</formatName> |
113 | | - <stylesheetResource>classpath:/xslt/org/jboss/pressgang/pdf.xsl</stylesheetResource> |
114 | | - <finalName>${project.artifactId}.pdf</finalName> |
115 | | - </format> |
116 | | - <!--<format>--> |
117 | | - <!--<formatName>eclipse</formatName>--> |
118 | | - <!--<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>--> |
119 | | - <!--<finalName>${project.artifactId}.html</finalName>--> |
120 | | - <!--</format>--> |
121 | | - </formats> |
122 | | - <injections> |
123 | | - <injection> |
124 | | - <name>project.version</name> |
125 | | - <value>${project.version}</value> |
126 | | - </injection> |
127 | | - </injections> |
128 | | - <options> |
129 | | - <xmlTransformerType>saxon</xmlTransformerType> |
130 | | - <xincludeSupported>true</xincludeSupported> |
131 | | - <useRelativeImageUris>true</useRelativeImageUris> |
132 | | - <!-- TODO Probably obsolete after the upgrade to maven-jdocbook-plugin 2.3.0 --> |
133 | | - <docbookVersion>1.72.0</docbookVersion> |
134 | | - <!-- <localeSeparator>-</localeSeparator> --> |
135 | | - </options> |
| 44 | + <attributes> |
| 45 | + <!-- Attributes to use in the asciidoc source files. Please leave in alphabetical order --> |
| 46 | + <channel-stream-version>${channel.stream.version}</channel-stream-version> |
| 47 | + <resteasy-version>${project.version}</resteasy-version> |
| 48 | + |
| 49 | + <linkcss>false</linkcss> |
| 50 | + </attributes> |
| 51 | + <!-- We only want to process the index as it includes the other documents --> |
| 52 | + <sourceDocumentName>index.adoc</sourceDocumentName> |
| 53 | + <resources> |
| 54 | + <resource> |
| 55 | + <directory>${project.basedir}/src/main/asciidoc/images</directory> |
| 56 | + <targetPath>images</targetPath> |
| 57 | + </resource> |
| 58 | + </resources> |
136 | 59 | </configuration> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <id>output-html</id> |
| 63 | + <phase>package</phase> |
| 64 | + <goals> |
| 65 | + <goal>process-asciidoc</goal> |
| 66 | + </goals> |
| 67 | + <configuration> |
| 68 | + <backend>html5</backend> |
| 69 | + </configuration> |
| 70 | + </execution> |
| 71 | + <execution> |
| 72 | + <id>output-pdf</id> |
| 73 | + <phase>package</phase> |
| 74 | + <goals> |
| 75 | + <goal>process-asciidoc</goal> |
| 76 | + </goals> |
| 77 | + <configuration> |
| 78 | + <attributes> |
| 79 | + <title>RESTEasy</title> |
| 80 | + </attributes> |
| 81 | + <backend>pdf</backend> |
| 82 | + <!-- Rename the PDF --> |
| 83 | + <outputFile>resteasy-reference-guide.pdf</outputFile> |
| 84 | + </configuration> |
| 85 | + </execution> |
| 86 | + </executions> |
137 | 87 | </plugin> |
138 | 88 | </plugins> |
139 | 89 | </build> |
|
0 commit comments