Skip to content

Commit 6140f3e

Browse files
committed
fix: ${} versions in archetypes need escaping otherwise they will be replace directly
1 parent 0a5af32 commit 6140f3e

File tree

4 files changed

+23
-23
lines changed
  • aws-serverless-jersey-archetype/src/main/resources/archetype-resources
  • aws-serverless-spark-archetype/src/main/resources/archetype-resources
  • aws-serverless-spring-archetype/src/main/resources/archetype-resources
  • aws-serverless-struts2-archetype/src/main/resources/archetype-resources

4 files changed

+23
-23
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>org.glassfish.jersey.media</groupId>
3030
<artifactId>jersey-media-json-jackson</artifactId>
31-
<version>${jersey.version}</version>
31+
<version>\${jersey.version}</version>
3232
<exclusions>
3333
<exclusion>
3434
<groupId>com.fasterxml.jackson.core</groupId>
@@ -48,13 +48,13 @@
4848
<dependency>
4949
<groupId>com.fasterxml.jackson.core</groupId>
5050
<artifactId>jackson-databind</artifactId>
51-
<version>${jackson.version}</version>
51+
<version>\${jackson.version}</version>
5252
</dependency>
5353

5454
<dependency>
5555
<groupId>org.glassfish.jersey.inject</groupId>
5656
<artifactId>jersey-hk2</artifactId>
57-
<version>${jersey.version}</version>
57+
<version>\${jersey.version}</version>
5858
<!-- excluding redundant javax.inject dependency -->
5959
<exclusions>
6060
<exclusion>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
<dependency>
3131
<groupId>com.sparkjava</groupId>
3232
<artifactId>spark-core</artifactId>
33-
<version>${spark.version}</version>
33+
<version>\${spark.version}</version>
3434
</dependency>
3535

3636
<dependency>
3737
<groupId>com.fasterxml.jackson.core</groupId>
3838
<artifactId>jackson-databind</artifactId>
39-
<version>${jackson.version}</version>
39+
<version>\${jackson.version}</version>
4040
</dependency>
4141

4242
<dependency>

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
<dependency>
3232
<groupId>org.springframework</groupId>
3333
<artifactId>spring-webmvc</artifactId>
34-
<version>${spring.version}</version>
34+
<version>\${spring.version}</version>
3535
</dependency>
3636

3737
<dependency>
3838
<groupId>org.springframework</groupId>
3939
<artifactId>spring-context</artifactId>
40-
<version>${spring.version}</version>
40+
<version>\${spring.version}</version>
4141
</dependency>
4242

4343
<!--
@@ -49,26 +49,26 @@
4949
<dependency>
5050
<groupId>org.springframework</groupId>
5151
<artifactId>spring-context-indexer</artifactId>
52-
<version>${spring.version}</version>
52+
<version>\${spring.version}</version>
5353
<optional>true</optional>
5454
</dependency>
5555

5656
<dependency>
5757
<groupId>org.apache.logging.log4j</groupId>
5858
<artifactId>log4j-core</artifactId>
59-
<version>${log4j.version}</version>
59+
<version>\${log4j.version}</version>
6060
</dependency>
6161

6262
<dependency>
6363
<groupId>org.apache.logging.log4j</groupId>
6464
<artifactId>log4j-api</artifactId>
65-
<version>${log4j.version}</version>
65+
<version>\${log4j.version}</version>
6666
</dependency>
6767

6868
<dependency>
6969
<groupId>org.apache.logging.log4j</groupId>
7070
<artifactId>log4j-slf4j-impl</artifactId>
71-
<version>${log4j.version}</version>
71+
<version>\${log4j.version}</version>
7272
</dependency>
7373

7474
<dependency>
@@ -80,7 +80,7 @@
8080
<dependency>
8181
<groupId>junit</groupId>
8282
<artifactId>junit</artifactId>
83-
<version>${junit.version}</version>
83+
<version>\${junit.version}</version>
8484
<scope>test</scope>
8585
</dependency>
8686

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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>\${struts2.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>\${struts2.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>\${struts2.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>\${struts2.version}</version>
5959
<scope>test</scope>
6060
</dependency>
6161

@@ -76,35 +76,35 @@
7676
<dependency>
7777
<groupId>com.fasterxml.jackson.core</groupId>
7878
<artifactId>jackson-core</artifactId>
79-
<version>${jackson.version}</version>
79+
<version>\${jackson.version}</version>
8080
</dependency>
8181
<dependency>
8282
<groupId>com.fasterxml.jackson.core</groupId>
8383
<artifactId>jackson-annotations</artifactId>
84-
<version>${jackson.version}</version>
84+
<version>\${jackson.version}</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>com.fasterxml.jackson.core</groupId>
8888
<artifactId>jackson-databind</artifactId>
89-
<version>${jackson.version}.1</version>
89+
<version>\${jackson.version}.1</version>
9090
</dependency>
9191

9292
<dependency>
9393
<groupId>org.apache.logging.log4j</groupId>
9494
<artifactId>log4j-core</artifactId>
95-
<version>${log4j.version}</version>
95+
<version>\${log4j.version}</version>
9696
</dependency>
9797

9898
<dependency>
9999
<groupId>org.apache.logging.log4j</groupId>
100100
<artifactId>log4j-api</artifactId>
101-
<version>${log4j.version}</version>
101+
<version>\${log4j.version}</version>
102102
</dependency>
103103

104104
<dependency>
105105
<groupId>org.apache.logging.log4j</groupId>
106106
<artifactId>log4j-slf4j-impl</artifactId>
107-
<version>${log4j.version}</version>
107+
<version>\${log4j.version}</version>
108108
</dependency>
109109

110110
<dependency>
@@ -129,7 +129,7 @@
129129
<dependency>
130130
<groupId>junit</groupId>
131131
<artifactId>junit</artifactId>
132-
<version>${junit.version}</version>
132+
<version>\${junit.version}</version>
133133
<scope>test</scope>
134134
</dependency>
135135
</dependencies>

0 commit comments

Comments
 (0)