Skip to content

Commit cd60e6d

Browse files
committed
Rename maven struts version property for Struts implementation without version number
#471
1 parent 72b0fd6 commit cd60e6d

File tree

3 files changed

+14
-14
lines changed
  • aws-serverless-java-container-struts
  • aws-serverless-struts-archetype/src/main/resources/archetype-resources
  • samples/struts/pet-store

3 files changed

+14
-14
lines changed

aws-serverless-java-container-struts/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</parent>
1616

1717
<properties>
18-
<struts2.version>2.5.30</struts2.version>
18+
<struts.version>2.5.30</struts.version>
1919
</properties>
2020

2121
<dependencies>
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>org.apache.struts</groupId>
3131
<artifactId>struts2-core</artifactId>
32-
<version>${struts2.version}</version>
32+
<version>${struts.version}</version>
3333
<exclusions>
3434
<exclusion>
3535
<groupId>commons-io</groupId>
@@ -40,14 +40,14 @@
4040
<dependency>
4141
<groupId>org.apache.struts</groupId>
4242
<artifactId>struts2-json-plugin</artifactId>
43-
<version>${struts2.version}</version>
43+
<version>${struts.version}</version>
4444
<scope>test</scope>
4545
</dependency>
4646

4747
<dependency>
4848
<groupId>org.apache.struts</groupId>
4949
<artifactId>struts2-junit-plugin</artifactId>
50-
<version>${struts2.version}</version>
50+
<version>${struts.version}</version>
5151
<scope>test</scope>
5252
</dependency>
5353

aws-serverless-struts-archetype/src/main/resources/archetype-resources/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<properties>
1616
<maven.compiler.source>1.8</maven.compiler.source>
1717
<maven.compiler.target>1.8</maven.compiler.target>
18-
<struts2.version>2.5.30</struts2.version>
18+
<struts.version>2.5.30</struts.version>
1919
<jackson.version>2.13.3</jackson.version>
2020
<junit.version>4.13.2</junit.version>
2121
<log4j.version>2.17.2</log4j.version>
@@ -37,25 +37,25 @@
3737
<dependency>
3838
<groupId>org.apache.struts</groupId>
3939
<artifactId>struts2-convention-plugin</artifactId>
40-
<version>\${struts2.version}</version>
40+
<version>\${struts.version}</version>
4141
</dependency>
4242

4343
<dependency>
4444
<groupId>org.apache.struts</groupId>
4545
<artifactId>struts2-rest-plugin</artifactId>
46-
<version>\${struts2.version}</version>
46+
<version>\${struts.version}</version>
4747
</dependency>
4848

4949
<dependency>
5050
<groupId>org.apache.struts</groupId>
5151
<artifactId>struts2-bean-validation-plugin</artifactId>
52-
<version>\${struts2.version}</version>
52+
<version>\${struts.version}</version>
5353
</dependency>
5454

5555
<dependency>
5656
<groupId>org.apache.struts</groupId>
5757
<artifactId>struts2-junit-plugin</artifactId>
58-
<version>\${struts2.version}</version>
58+
<version>\${struts.version}</version>
5959
<scope>test</scope>
6060
</dependency>
6161

samples/struts/pet-store/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<properties>
2727
<maven.compiler.source>1.8</maven.compiler.source>
2828
<maven.compiler.target>1.8</maven.compiler.target>
29-
<struts2.version>2.5.30</struts2.version>
29+
<struts.version>2.5.30</struts.version>
3030
<jackson.version>2.13.3</jackson.version>
3131
<junit.version>4.13.2</junit.version>
3232
<log4j.version>2.17.2</log4j.version>
@@ -48,25 +48,25 @@
4848
<dependency>
4949
<groupId>org.apache.struts</groupId>
5050
<artifactId>struts2-convention-plugin</artifactId>
51-
<version>${struts2.version}</version>
51+
<version>${struts.version}</version>
5252
</dependency>
5353

5454
<dependency>
5555
<groupId>org.apache.struts</groupId>
5656
<artifactId>struts2-rest-plugin</artifactId>
57-
<version>${struts2.version}</version>
57+
<version>${struts.version}</version>
5858
</dependency>
5959

6060
<dependency>
6161
<groupId>org.apache.struts</groupId>
6262
<artifactId>struts2-bean-validation-plugin</artifactId>
63-
<version>${struts2.version}</version>
63+
<version>${struts.version}</version>
6464
</dependency>
6565

6666
<dependency>
6767
<groupId>org.apache.struts</groupId>
6868
<artifactId>struts2-junit-plugin</artifactId>
69-
<version>${struts2.version}</version>
69+
<version>${struts.version}</version>
7070
<scope>test</scope>
7171
</dependency>
7272

0 commit comments

Comments
 (0)