1
1
<?xml version =" 1.0" ?>
2
- <!--
3
- Licensed to the Apache Software Foundation (ASF) under one or more
4
- contributor license agreements. See the NOTICE file distributed with
5
- this work for additional information regarding copyright ownership.
6
- The ASF licenses this file to You under the Apache License, Version 2.0
7
- (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
-
10
- http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- Unless required by applicable law or agreed to in writing, software
13
- distributed under the License is distributed on an "AS IS" BASIS,
14
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- See the License for the specific language governing permissions and
16
- limitations under the License.
17
- -->
18
-
19
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
20
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
21
5
22
6
<modelVersion >4.0.0</modelVersion >
23
7
<groupId >org.apache.struts</groupId >
24
8
<artifactId >struts-blank</artifactId >
25
9
<packaging >war</packaging >
26
10
<name >Struts Apps - Blank</name >
27
11
<version >1.0.0</version >
28
-
12
+ <properties >
13
+ <maven .compiler.source>21</maven .compiler.source>
14
+ <maven .compiler.target>21</maven .compiler.target>
15
+ </properties >
16
+ <repositories >
17
+ <repository >
18
+ <id >local-repo</id >
19
+ <url >file:../mvn-repo</url >
20
+ </repository >
21
+ </repositories >
29
22
<dependencies >
30
23
<dependency >
31
- <groupId >org.apache.struts</groupId >
32
- <artifactId >struts-taglib</artifactId >
33
- <version >1.3.10</version >
34
- </dependency >
35
- <dependency >
36
- <groupId >javax.servlet</groupId >
37
- <artifactId >servlet-api</artifactId >
38
- <version >2.3</version >
39
- <scope >provided</scope >
24
+ <groupId >springing-struts</groupId >
25
+ <artifactId >struts1-core</artifactId >
26
+ <version >1.0.0</version >
40
27
</dependency >
41
28
</dependencies >
42
-
43
29
<build >
44
- <finalName >${project.artifactId} </finalName >
45
30
<plugins >
46
31
<plugin >
47
- <groupId >org.apache.maven.plugins</groupId >
48
- <artifactId >maven-war-plugin</artifactId >
49
- <version >3.4.0</version >
32
+ <groupId >org.springframework.boot</groupId >
33
+ <artifactId >spring-boot-maven-plugin</artifactId >
34
+ <configuration >
35
+ <mainClass >springing.struts1.entrypoint.Main</mainClass >
36
+ <layout >WAR</layout >
37
+ <version >3.2.5</version >
38
+ </configuration >
50
39
</plugin >
51
- </plugins >
40
+ </plugins >
52
41
</build >
53
- </project >
42
+ </project >
0 commit comments