This repository has been archived by the owner on Nov 17, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
pom.xml
196 lines (188 loc) · 9.01 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<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>
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>10</version>
</parent>
<groupId>org.richfaces.docs</groupId>
<artifactId>docs-aggregator</artifactId>
<version>4.5.18-SNAPSHOT</version>
<packaging>pom</packaging>
<name>RichFaces Document Aggregator</name>
<modules>
<module>parent</module>
<module>Component_Reference</module>
<module>Developer_Guide</module>
<!--<module>Migration_Guide</module>-->
<!--<module>Component_Development_Kit_Guide</module>-->
</modules>
<properties>
<!-- Release -->
<regular.files.which.contains.version>Developer_Guide/src/main/docbook/en-US/Developer_Guide-docinfo.xml,Developer_Guide/src/main/docbook/en-US/Developer_Guide.asciidoc,Component_Reference/src/main/docbook/en-US/Component_Reference-docinfo.xml,Component_Reference/src/main/docbook/en-US/Component_Reference.asciidoc</regular.files.which.contains.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<preparationGoals>clean verify -Prelease -Prelease-preparation</preparationGoals>
<completionGoals>clean verify -Prelease-completion -DskipTests=true</completionGoals>
<arguments>-Prelease -Pjboss-release -DoldVersion=${project.version} -DreleaseVersion=${releaseVersion}
-DdevelopmentVersion=${developmentVersion}</arguments>
<!-- All sub-modules will have same version -->
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- During release:perform, enable the "release" profile -->
<releaseProfiles>release</releaseProfiles>
<!-- Use a local checkout instead of doing a checkout from the upstream repository -->
<localCheckout>true</localCheckout>
<!-- Will not push changes to the upstream repository -->
<pushChanges>false</pushChanges>
</configuration>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<inherited>false</inherited>
<configuration>
<filesToInclude>${regular.files.which.contains.version}</filesToInclude>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<pushChanges>false</pushChanges>
<includes>${regular.files.which.contains.version}</includes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.8.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>release-preparation</id>
<build>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>replace-development-version-with-release</id>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<replacements>
<replacement>
<token>${oldVersion}</token>
<value>${releaseVersion}</value>
</replacement>
</replacements>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<id>add-changed-files-to-scm</id>
<phase>package</phase>
<goals>
<goal>add</goal>
</goals>
</execution>
<execution>
<id>commit-changed-files-to-scm</id>
<phase>package</phase>
<goals>
<goal>checkin</goal>
</goals>
<configuration>
<message>[maven-release-plugin] prepare regular files for release ${releaseVersion}</message>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-completion</id>
<build>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>replace-release-version-with-development</id>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<replacements>
<replacement>
<token>${oldVersion}</token>
<value>${developmentVersion}</value>
</replacement>
<replacement>
<token>${releaseVersion}</token>
<value>${developmentVersion}</value>
</replacement>
</replacements>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<id>add-changed-files-to-scm</id>
<phase>package</phase>
<goals>
<goal>add</goal>
</goals>
</execution>
<execution>
<id>commit-changed-files-to-scm</id>
<phase>package</phase>
<goals>
<goal>checkin</goal>
</goals>
<configuration>
<message>[maven-release-plugin] prepare regular files for next development iteration</message>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>