-
Notifications
You must be signed in to change notification settings - Fork 70
/
pom.xml
263 lines (242 loc) · 10.5 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<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">
<parent>
<groupId>org.apache.myfaces</groupId>
<artifactId>myfaces</artifactId>
<version>19</version>
<relativePath />
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-core-module</artifactId>
<packaging>pom</packaging>
<name>Apache MyFaces Core 5.0</name>
<description>
This project is the home of the MyFaces implementation of the Jakarta Faces 5.0 specification, and
consists of an API module (jakarta.faces.* classes) and an implementation module (org.apache.myfaces.* classes).
</description>
<version>5.0.0-SNAPSHOT</version>
<url>https://myfaces.apache.org/#/core41</url>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/MYFACES</url>
</issueManagement>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/myfaces.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/myfaces.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=myfaces.git</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>parent</module>
<module>api</module>
<module>test</module>
<module>impl</module>
<module>bundle</module>
<!--
<module>integration-tests</module>
-->
<module>extensions</module>
</modules>
<build>
<!-- Since Maven 3.0, this is required to add scpexe as protocol for deploy. -->
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-7</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.4</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-beta-2</version>
<configuration>
<pubScmUrl>${siteScmPublish.url}</pubScmUrl>
<tryUpdate>true</tryUpdate>
<checkoutDirectory>${scmCheckout.path}</checkoutDirectory>
<content>\${siteContent.path}</content>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<stagingRepositoryId>myfaces-local-staging</stagingRepositoryId>
<stagingSiteURL>${siteDeploy.url}</stagingSiteURL>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.md</exclude>
<exclude>**/*.log*</exclude>
<exclude>debug.log</exclude>
<exclude>**/*/MANIFEST.MF</exclude>
<exclude>**/*.iml</exclude>
<exclude>src/main/resources/META-INF/licenses/*-LICENSE.txt</exclude>
<exclude>src/main/resources/META-INF/licenses/*-LICENSE.TXT</exclude>
<exclude>**/src/main/resources/META-INF/services/**</exclude>
<exclude>.git</exclude>
<exclude>.gitignore</exclude>
<exclude>.vscode/**</exclude>
<exclude>**/target/**/*</exclude>
<!-- The xsd files are CDDL+GLP:
Category B: Reciprocal Licenses
"For small amounts of source that is directly consumed by the ASF product
at runtime in source form, and for which that source is unlikely to be
changed anyway (say, by virtue of being specified by a standard), this
action is sufficient. An example of this is the web-facesconfig_1_0.dtd,
whose inclusion is mandated by the JSR 127: JavaServer Faces specification."
http://www.apache.org/legal/3party.html
-->
<exclude>src/main/resources/org/apache/myfaces/resource/javaee_5.xsd</exclude>
<exclude>src/main/resources/org/apache/myfaces/resource/javaee_web_services_client_1_2.xsd</exclude>
<!-- This file probably needs a license, but I don't know if it's safe to put it in there -->
<exclude>src/test/resources/org/apache/myfaces/context/nestedScriptCDATA.xml</exclude>
<exclude>src/test/resources/META-INF/openwebbeans/openwebbeans.properties</exclude>
<exclude>DEPENDENCIES</exclude>
<exclude>doap_MyFaces.rdf</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- TODO jakobk: we could change this to -Papache-release -->
<!--
This profile is invoked by -DprepareRelease=true.
This allows mvn release:prepare to run successfully on the assembly projects.
-->
<profile>
<id>prepare-release</id>
<activation>
<property>
<name>prepareRelease</name>
</property>
</activation>
<modules>
<module>assembly</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-DprepareRelease</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>perform-release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<modules>
<module>assembly</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-Papache-release -DperformRelease</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots.plugin</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
</repositories>
<!--
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache Website</name>
<url>scpexe://people.apache.org/www/myfaces.apache.org/core20/module</url>
</site>
</distributionManagement>
-->
<!-- To deploy the site, use site:stage-deploy goal and commit changes manually on
https://svn.apache.org/repos/asf/myfaces/site/publish/
-->
<distributionManagement>
<site>
<id>myfaces-local-staging</id>
<name>Apache Website</name>
<url>scp://localhost/${user.home}/myfaces-site/${siteModule.path}</url>
</site>
</distributionManagement>
<properties>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<siteModule.path>core40/module</siteModule.path>
<site.mainDirectory>${user.home}/myfaces-site/checkout</site.mainDirectory>
<siteContent.path>${user.home}/myfaces-site/site/${siteModule.path}</siteContent.path>
<!-- it's a default location for performance reason (not checkout the content all the time)
you can override this value in your settings. -->
<scmCheckout.path>\${site.mainDirectory}/${siteModule.path}</scmCheckout.path>
<siteDeploy.url>file://${user.home}/myfaces-site/site/${siteModule.path}</siteDeploy.url>
<siteScmPublish.url>scm:svn:https://svn.apache.org/repos/asf/myfaces/site/publish/</siteScmPublish.url>
</properties>
</project>