Skip to content

Commit b205b3b

Browse files
authoredApr 28, 2023
Merge pull request #47 from arjantijms/master
Formatting and cleaning of main tutorials pom.xml
2 parents 833a2e4 + 5d517e9 commit b205b3b

File tree

1 file changed

+287
-311
lines changed

1 file changed

+287
-311
lines changed
 

‎tutorial/pom.xml

+287-311
Original file line numberDiff line numberDiff line change
@@ -1,323 +1,299 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
2+
<!-- Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
3+
This program and the accompanying materials are made available under the
4+
terms of the Eclipse Distribution License v. 1.0, which is available at http://www.eclipse.org/org/documents/edl-v10.php.
5+
SPDX-License-Identifier: BSD-3-Clause -->
36

4-
Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
7+
<project xmlns="http://maven.apache.org/POM/4.0.0"
8+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10+
<modelVersion>4.0.0</modelVersion>
511

6-
This program and the accompanying materials are made available under the
7-
terms of the Eclipse Distribution License v. 1.0, which is available at
8-
http://www.eclipse.org/org/documents/edl-v10.php.
12+
<parent>
13+
<groupId>org.eclipse.ee4j</groupId>
14+
<artifactId>project</artifactId>
15+
<version>1.0.6</version>
16+
</parent>
917

10-
SPDX-License-Identifier: BSD-3-Clause
18+
<groupId>jakarta.tutorial</groupId>
19+
<artifactId>examples</artifactId>
20+
<version>9.0-SNAPSHOT</version>
21+
<packaging>pom</packaging>
1122

12-
-->
23+
<name>Jakarta EE Tutorial Examples</name>
1324

14-
<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">
15-
<modelVersion>4.0.0</modelVersion>
25+
<modules>
26+
<module>archetypes</module>
27+
<module>batch</module>
28+
<module>case-studies</module>
29+
<module>cdi</module>
30+
<module>concurrency</module>
31+
<module>connectors</module>
32+
<module>ejb</module>
33+
<module>jaxrs</module>
34+
<module>jaxws</module>
35+
<module>jms</module>
36+
<module>persistence</module>
37+
<module>security</module>
38+
<module>web</module>
39+
</modules>
1640

17-
<parent>
18-
<groupId>org.eclipse.ee4j</groupId>
19-
<artifactId>project</artifactId>
20-
<version>1.0.6</version>
21-
</parent>
41+
<scm>
42+
<connection>scm:git:https://github.com/eclipse-ee4j/jakartaee-examples.git</connection>
43+
<developerConnection>scm:git:git@github.com:eclipse-ee4j/jakartaee-examples.git</developerConnection>
44+
<tag>HEAD</tag>
45+
</scm>
46+
<issueManagement>
47+
<system>GitHub</system>
48+
<url>https://github.com/eclipse-ee4j/jakartaee-examples/issues</url>
49+
</issueManagement>
2250

23-
<groupId>jakarta.tutorial</groupId>
24-
<artifactId>examples</artifactId>
25-
<version>9.0-SNAPSHOT</version>
26-
<packaging>pom</packaging>
51+
<properties>
52+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
53+
54+
<junit.version>4.13.1</junit.version>
55+
<jakarta.ejb.version>3.2</jakarta.ejb.version>
56+
<eclipselink.version>3.0.0</eclipselink.version>
57+
<glassfish.embedded.version>6.0.0</glassfish.embedded.version>
58+
59+
<glassfish.domain.name>domain1</glassfish.domain.name>
60+
<glassfish.home>${glassfish.home.prefix}/glassfish6</glassfish.home>
61+
<integration.container.id>glassfish6x</integration.container.id>
62+
63+
<maven.deploy.skip>true</maven.deploy.skip>
64+
<maven.javadoc.skip>true</maven.javadoc.skip>
65+
<maven.source.skip>true</maven.source.skip>
66+
<maven.source.attach>false</maven.source.attach>
67+
</properties>
2768

28-
<name>Jakarta EE Tutorial Examples</name>
69+
<dependencies>
70+
<dependency>
71+
<groupId>jakarta.platform</groupId>
72+
<artifactId>jakarta.jakartaee-api</artifactId>
73+
<version>9.0.0</version>
74+
<scope>provided</scope>
75+
</dependency>
76+
</dependencies>
2977

30-
<modules>
31-
<module>archetypes</module>
32-
<module>batch</module>
33-
<module>case-studies</module>
34-
<module>cdi</module>
35-
<module>concurrency</module>
36-
<module>connectors</module>
37-
<module>ejb</module>
38-
<module>jaxrs</module>
39-
<module>jaxws</module>
40-
<module>jms</module>
41-
<module>persistence</module>
42-
<module>security</module>
43-
<module>web</module>
44-
</modules>
78+
<build>
79+
<finalName>${project.artifactId}</finalName>
80+
<pluginManagement>
81+
<plugins>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-clean-plugin</artifactId>
85+
<version>3.1.0</version>
86+
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-enforcer-plugin</artifactId>
90+
<version>3.0.0-M3</version>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-compiler-plugin</artifactId>
95+
<version>3.8.1</version>
96+
</plugin>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-source-plugin</artifactId>
100+
<version>3.2.1</version>
101+
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-war-plugin</artifactId>
105+
<version>3.3.1</version>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-jar-plugin</artifactId>
110+
<version>3.2.0</version>
111+
</plugin>
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-ejb-plugin</artifactId>
115+
<version>3.1.0</version>
116+
</plugin>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-ear-plugin</artifactId>
120+
<version>3.1.0</version>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-acr-plugin</artifactId>
125+
<version>3.1.0</version>
126+
</plugin>
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-rar-plugin</artifactId>
130+
<version>2.4</version>
131+
</plugin>
132+
<plugin>
133+
<groupId>org.codehaus.cargo</groupId>
134+
<artifactId>cargo-maven2-plugin</artifactId>
135+
<version>1.8.3</version>
136+
</plugin>
137+
<plugin>
138+
<groupId>org.codehaus.mojo</groupId>
139+
<artifactId>exec-maven-plugin</artifactId>
140+
<version>3.0.0</version>
141+
</plugin>
142+
</plugins>
143+
</pluginManagement>
144+
145+
<plugins>
146+
<plugin>
147+
<artifactId>maven-enforcer-plugin</artifactId>
148+
<executions>
149+
<execution>
150+
<id>enforce-versions</id>
151+
<goals>
152+
<goal>enforce</goal>
153+
</goals>
154+
<configuration>
155+
<rules>
156+
<requireMavenVersion>
157+
<version>3.2.3</version>
158+
</requireMavenVersion>
159+
<requireJavaVersion>
160+
<version>1.8</version>
161+
</requireJavaVersion>
162+
</rules>
163+
</configuration>
164+
</execution>
165+
</executions>
166+
</plugin>
167+
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-compiler-plugin</artifactId>
171+
<configuration>
172+
<source>1.8</source>
173+
<target>1.8</target>
174+
</configuration>
175+
</plugin>
176+
177+
<plugin>
178+
<groupId>org.codehaus.cargo</groupId>
179+
<artifactId>cargo-maven2-plugin</artifactId>
180+
<executions>
181+
<execution>
182+
<id>deploy</id>
183+
<phase>integration-test</phase>
184+
<goals>
185+
<goal>redeploy</goal>
186+
</goals>
187+
</execution>
188+
</executions>
189+
<configuration>
190+
<container>
191+
<containerId>${integration.container.id}</containerId>
192+
<type>installed</type>
193+
<home>${glassfish.home}</home>
194+
</container>
195+
<configuration>
196+
<type>existing</type>
197+
<home>${glassfish.home}/glassfish/domains</home>
198+
<properties>
199+
<cargo.glassfish.domain.name>${glassfish.domain.name}</cargo.glassfish.domain.name>
200+
<!--cargo.remote.username></cargo.remote.username -->
201+
<cargo.remote.password />
202+
</properties>
203+
</configuration>
204+
</configuration>
205+
</plugin>
206+
207+
<plugin>
208+
<groupId>com.mycila.maven-license-plugin</groupId>
209+
<artifactId>maven-license-plugin</artifactId>
210+
<version>1.10.b1</version>
211+
<configuration>
212+
<header>common/license.txt</header>
213+
<excludes>
214+
<exclude>common/**</exclude>
215+
<exclude>**/META-INF/**</exclude>
216+
<exclude>**/WEB-INF/**</exclude>
217+
<exclude>**/nbactions.xml</exclude>
218+
<exclude>**/nb-configuration.xml</exclude>
219+
<exclude>**/glassfish-resources.xml</exclude>
220+
<exclude>**/simple-flow-flow.xml</exclude>
221+
</excludes>
222+
</configuration>
223+
</plugin>
224+
225+
<plugin>
226+
<groupId>org.apache.maven.plugins</groupId>
227+
<artifactId>maven-ear-plugin</artifactId>
228+
<configuration>
229+
<outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping>
230+
</configuration>
231+
</plugin>
232+
233+
<plugin>
234+
<groupId>org.apache.maven.plugins</groupId>
235+
<artifactId>maven-ejb-plugin</artifactId>
236+
<configuration>
237+
<ejbVersion>${jakarta.ejb.version}</ejbVersion>
238+
</configuration>
239+
</plugin>
240+
</plugins>
241+
</build>
45242

46-
<scm>
47-
<connection>scm:git:https://github.com/eclipse-ee4j/jakartaee-tutorial-examples.git</connection>
48-
<developerConnection>scm:git:git@github.com:eclipse-ee4j/jakartaee-tutorial-examples.git</developerConnection>
49-
<tag>HEAD</tag>
50-
</scm>
51-
<issueManagement>
52-
<system>GitHub</system>
53-
<url>https://github.com/eclipse-ee4j/jakartaee-tutorial-examples/issues</url>
54-
</issueManagement>
55-
56-
<properties>
57-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58-
<jakartaee.api.version>9.0.0</jakartaee.api.version>
59-
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
60-
<maven.source.plugin.version>3.2.1</maven.source.plugin.version>
61-
<maven.clean.plugin.version>3.1.0</maven.clean.plugin.version>
62-
<maven.war.plugin.version>3.3.1</maven.war.plugin.version>
63-
<maven.acr.plugin.version>3.1.0</maven.acr.plugin.version>
64-
<maven.ear.plugin.version>3.1.0</maven.ear.plugin.version>
65-
<maven.ejb.plugin.version>3.1.0</maven.ejb.plugin.version>
66-
<maven.jar.plugin.version>3.2.0</maven.jar.plugin.version>
67-
<maven.rar.plugin.version>2.4</maven.rar.plugin.version>
68-
<maven.license.plugin.version>1.10.b1</maven.license.plugin.version>
69-
<maven.exec.plugin.version>3.0.0</maven.exec.plugin.version>
70-
<maven.enforcer.plugin.version>3.0.0-M3</maven.enforcer.plugin.version>
71-
<junit.version>4.13.1</junit.version>
72-
<eclipselink.version>3.0.0</eclipselink.version>
73-
<glassfish.embedded.version>6.0.0</glassfish.embedded.version>
74-
<cargo.plugin.version>1.8.3</cargo.plugin.version>
75-
<jakarta.ejb.version>3.2</jakarta.ejb.version>
76-
<glassfish.domain.name>domain1</glassfish.domain.name>
77-
<glassfish.home>${glassfish.home.prefix}/glassfish6</glassfish.home>
78-
<integration.container.id>glassfish6x</integration.container.id>
79-
<maven.deploy.skip>true</maven.deploy.skip>
80-
<maven.javadoc.skip>true</maven.javadoc.skip>
81-
<maven.source.skip>true</maven.source.skip>
82-
<maven.source.attach>false</maven.source.attach>
83-
</properties>
84-
85-
<dependencies>
86-
<dependency>
87-
<groupId>jakarta.platform</groupId>
88-
<artifactId>jakarta.jakartaee-api</artifactId>
89-
<version>${jakartaee.api.version}</version>
90-
<scope>provided</scope>
91-
</dependency>
92-
</dependencies>
93-
94-
<build>
95-
<finalName>${project.artifactId}</finalName>
96-
<pluginManagement>
97-
<plugins>
98-
<plugin>
99-
<groupId>org.apache.maven.plugins</groupId>
100-
<artifactId>maven-compiler-plugin</artifactId>
101-
<version>${maven.compiler.plugin.version}</version>
102-
</plugin>
103-
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-source-plugin</artifactId>
106-
<version>${maven.source.plugin.version}</version>
107-
</plugin>
108-
<plugin>
109-
<groupId>org.apache.maven.plugins</groupId>
110-
<artifactId>maven-clean-plugin</artifactId>
111-
<version>${maven.clean.plugin.version}</version>
112-
</plugin>
113-
<plugin>
114-
<groupId>org.apache.maven.plugins</groupId>
115-
<artifactId>maven-war-plugin</artifactId>
116-
<version>${maven.war.plugin.version}</version>
117-
</plugin>
118-
<plugin>
119-
<groupId>org.apache.maven.plugins</groupId>
120-
<artifactId>maven-jar-plugin</artifactId>
121-
<version>${maven.jar.plugin.version}</version>
122-
</plugin>
123-
<plugin>
124-
<groupId>org.apache.maven.plugins</groupId>
125-
<artifactId>maven-ejb-plugin</artifactId>
126-
<version>${maven.ejb.plugin.version}</version>
127-
</plugin>
128-
<plugin>
129-
<groupId>org.apache.maven.plugins</groupId>
130-
<artifactId>maven-ear-plugin</artifactId>
131-
<version>${maven.ear.plugin.version}</version>
132-
</plugin>
133-
<plugin>
134-
<groupId>org.apache.maven.plugins</groupId>
135-
<artifactId>maven-acr-plugin</artifactId>
136-
<version>${maven.acr.plugin.version}</version>
137-
</plugin>
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-rar-plugin</artifactId>
141-
<version>${maven.rar.plugin.version}</version>
142-
</plugin>
143-
<plugin>
144-
<groupId>org.apache.maven.plugins</groupId>
145-
<artifactId>maven-enforcer-plugin</artifactId>
146-
<version>${maven.enforcer.plugin.version}</version>
147-
</plugin>
148-
<plugin>
149-
<groupId>org.codehaus.cargo</groupId>
150-
<artifactId>cargo-maven2-plugin</artifactId>
151-
<version>${cargo.plugin.version}</version>
152-
</plugin>
153-
<plugin>
154-
<groupId>org.codehaus.mojo</groupId>
155-
<artifactId>exec-maven-plugin</artifactId>
156-
<version>${maven.exec.plugin.version}</version>
157-
</plugin>
158-
</plugins>
159-
</pluginManagement>
160-
<plugins>
161-
<plugin>
162-
<groupId>org.codehaus.cargo</groupId>
163-
<artifactId>cargo-maven2-plugin</artifactId>
164-
<inherited>true</inherited>
165-
<executions>
166-
<execution>
167-
<id>deploy</id>
168-
<phase>integration-test</phase>
169-
<goals>
170-
<goal>redeploy</goal>
171-
</goals>
172-
</execution>
173-
</executions>
174-
<configuration>
175-
<container>
176-
<containerId>${integration.container.id}</containerId>
177-
<type>installed</type>
178-
<home>${glassfish.home}</home>
179-
</container>
180-
<configuration>
181-
<type>existing</type>
182-
<home>${glassfish.home}/glassfish/domains</home>
183-
<properties>
184-
<cargo.glassfish.domain.name>${glassfish.domain.name}</cargo.glassfish.domain.name>
185-
<!--cargo.remote.username></cargo.remote.username -->
186-
<cargo.remote.password />
187-
</properties>
188-
</configuration>
189-
</configuration>
190-
</plugin>
191-
<plugin>
192-
<groupId>org.apache.maven.plugins</groupId>
193-
<artifactId>maven-compiler-plugin</artifactId>
194-
<configuration>
195-
<source>1.8</source>
196-
<target>1.8</target>
197-
</configuration>
198-
</plugin>
199-
<plugin>
200-
<groupId>com.mycila.maven-license-plugin</groupId>
201-
<artifactId>maven-license-plugin</artifactId>
202-
<version>${maven.license.plugin.version}</version>
203-
<configuration>
204-
<header>common/license.txt</header>
205-
<excludes>
206-
<exclude>common/**</exclude>
207-
<exclude>**/META-INF/**</exclude>
208-
<exclude>**/WEB-INF/**</exclude>
209-
<exclude>**/nbactions.xml</exclude>
210-
<exclude>**/nb-configuration.xml</exclude>
211-
<exclude>**/glassfish-resources.xml</exclude>
212-
<exclude>**/simple-flow-flow.xml</exclude>
213-
</excludes>
214-
</configuration>
215-
</plugin>
216-
<plugin>
217-
<artifactId>maven-release-plugin</artifactId>
218-
<configuration>
219-
<mavenExecutorId>forked-path</mavenExecutorId>
220-
<useReleaseProfile>false</useReleaseProfile>
221-
<arguments>${release.arguments}</arguments>
222-
<autoVersionSubmodules>true</autoVersionSubmodules>
223-
<tagNameFormat>@{project.version}</tagNameFormat>
224-
</configuration>
225-
<dependencies>
226-
<dependency>
227-
<groupId>org.apache.maven.scm</groupId>
228-
<artifactId>maven-scm-provider-gitexe</artifactId>
229-
<version>1.11.2</version>
230-
</dependency>
231-
</dependencies>
232-
</plugin>
233-
<plugin>
234-
<artifactId>maven-enforcer-plugin</artifactId>
235-
<executions>
236-
<execution>
237-
<id>enforce-versions</id>
238-
<goals>
239-
<goal>enforce</goal>
240-
</goals>
241-
<configuration>
242-
<rules>
243-
<requireMavenVersion>
244-
<version>3.2.3</version>
245-
</requireMavenVersion>
246-
<requireJavaVersion>
247-
<version>1.8</version>
248-
</requireJavaVersion>
249-
</rules>
250-
</configuration>
251-
</execution>
252-
</executions>
253-
</plugin>
254-
<plugin>
255-
<groupId>org.apache.maven.plugins</groupId>
256-
<artifactId>maven-ear-plugin</artifactId>
257-
<configuration>
258-
<outputFileNameMapping>@{artifactId}@.@{extension}@</outputFileNameMapping>
259-
</configuration>
260-
</plugin>
261-
<plugin>
262-
<groupId>org.apache.maven.plugins</groupId>
263-
<artifactId>maven-ejb-plugin</artifactId>
264-
<configuration>
265-
<ejbVersion>${jakarta.ejb.version}</ejbVersion>
266-
</configuration>
267-
</plugin>
268-
</plugins>
269-
</build>
270-
271-
<profiles>
272-
<profile>
273-
<id>windows</id>
274-
<activation>
275-
<os>
276-
<family>windows</family>
277-
</os>
278-
</activation>
279-
<properties>
280-
<glassfish.home.prefix>c:/</glassfish.home.prefix>
281-
<glassfish.executables.suffix>.bat</glassfish.executables.suffix>
282-
</properties>
283-
</profile>
284-
<profile>
285-
<id>unix</id>
286-
<activation>
287-
<os>
288-
<family>unix</family>
289-
</os>
290-
</activation>
291-
<properties>
292-
<glassfish.home.prefix>${user.home}</glassfish.home.prefix>
293-
<glassfish.executables.suffix />
294-
</properties>
295-
</profile>
296-
<profile>
297-
<id>sdk</id>
298-
<activation>
299-
<activeByDefault>true</activeByDefault>
300-
</activation>
301-
<properties>
302-
<glassfish.home>${basedir}/../../../</glassfish.home>
303-
</properties>
304-
</profile>
305-
<profile>
306-
<id>development</id>
307-
<activation>
308-
<file>
309-
<exists>${basedir}/../bundle</exists>
310-
</file>
311-
</activation>
312-
<properties>
313-
<glassfish.home>${glassfish.home.prefix}/glassfish6</glassfish.home>
314-
</properties>
315-
</profile>
316-
<profile>
317-
<id>standalone</id>
318-
<properties>
319-
<glassfish.home>${basedir}/target/cargo/installs/glassfish</glassfish.home>
320-
</properties>
321-
</profile>
322-
</profiles>
243+
<profiles>
244+
<profile>
245+
<id>windows</id>
246+
<activation>
247+
<os>
248+
<family>windows</family>
249+
</os>
250+
</activation>
251+
<properties>
252+
<glassfish.home.prefix>c:/</glassfish.home.prefix>
253+
<glassfish.executables.suffix>.bat</glassfish.executables.suffix>
254+
</properties>
255+
</profile>
256+
257+
<profile>
258+
<id>unix</id>
259+
<activation>
260+
<os>
261+
<family>unix</family>
262+
</os>
263+
</activation>
264+
<properties>
265+
<glassfish.home.prefix>${user.home}</glassfish.home.prefix>
266+
<glassfish.executables.suffix />
267+
</properties>
268+
</profile>
269+
270+
<profile>
271+
<id>sdk</id>
272+
<activation>
273+
<activeByDefault>true</activeByDefault>
274+
</activation>
275+
<properties>
276+
<glassfish.home>${basedir}/../../../</glassfish.home>
277+
</properties>
278+
</profile>
279+
280+
<profile>
281+
<id>development</id>
282+
<activation>
283+
<file>
284+
<exists>${basedir}/../bundle</exists>
285+
</file>
286+
</activation>
287+
<properties>
288+
<glassfish.home>${glassfish.home.prefix}/glassfish6</glassfish.home>
289+
</properties>
290+
</profile>
291+
292+
<profile>
293+
<id>standalone</id>
294+
<properties>
295+
<glassfish.home>${basedir}/target/cargo/installs/glassfish</glassfish.home>
296+
</properties>
297+
</profile>
298+
</profiles>
323299
</project>

0 commit comments

Comments
 (0)
Please sign in to comment.