-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpom.xml
149 lines (139 loc) · 6.66 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>cdi-tck-reference-guide</artifactId>
<packaging>pom</packaging>
<name>CDI TCK Reference Guide</name>
<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>cdi-tck-parent</artifactId>
<version>4.1.0.Beta1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<properties>
<asciidoctor.maven.plugin.version>3.0.0</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>2.3.13</asciidoctorj.pdf.version>
<pdf.name>cdi-tck-reference-guide.pdf</pdf.name>
<revnumber>4.0</revnumber>
</properties>
<build>
<defaultGoal>clean process-classes</defaultGoal>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<sourceDocumentName>cdi-tck-reference-guide.asciidoc</sourceDocumentName>
<!-- Attributes common to all output formats -->
<attributes>
<sourcedir>${project.build.sourceDirectory}</sourcedir>
</attributes>
</configuration>
<executions>
<execution>
<id>generate-pdf-doc-custom-theme</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<doctype>book</doctype>
<backend>pdf</backend>
<outputDirectory>${project.build.directory}/generated-docs-pdf</outputDirectory>
<outputFile>cdi-tck-reference-guide.pdf</outputFile>
<attributes>
<revnumber>${revnumber}</revnumber>
<imagesdir>images</imagesdir>
<pdf-stylesdir>${project.basedir}/src/main/style</pdf-stylesdir>
<pdf-style>cditck</pdf-style>
<source-highlighter>coderay</source-highlighter>
<icons>font</icons>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
</attributes>
</configuration>
</execution>
<execution>
<id>asciidoc-to-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html5</backend>
<outputDirectory>${project.build.directory}/generated-docs-html</outputDirectory>
<outputFile>cdi-tck-reference-guide.html</outputFile>
<attributes>
<revnumber>${revnumber}</revnumber>
<source-highlighter>coderay</source-highlighter>
<!--embedAssets>true</embedAssets-->
<imagesdir>${project.basedir}/src/main/asciidoc/images</imagesdir>
<toc>left</toc>
<icons>font</icons>
<sectanchors>true</sectanchors>
<stylesheet>${project.basedir}/src/main/style/css/cditck.css</stylesheet>
<!-- set the idprefix to blank -->
<idprefix />
<idseparator>-</idseparator>
<docinfo1>true</docinfo1>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>bundle-docs</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<finalName>cdi-tck-${cdi.tck.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>process-classes</phase>
<configuration>
<target>
<copy file="${basedir}/target/generated-docs-pdf/${pdf.name}" todir="${basedir}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:git://github.com/cdi-spec/cditck.git</connection>
<developerConnection>scm:git:[email protected]:cdi-spec/cdi-tck.git</developerConnection>
<url>https://github.com/cdi-spec/cdi-tck/</url>
<tag>4.1.0.Beta1</tag>
</scm>
</project>