Skip to content

Commit 253910f

Browse files
committed
fix: Updated sample maven build files to still produce a jar so that SAM CLI's sam build command with maven (clean install) can work to address (#336)
1 parent 452f84f commit 253910f

File tree

5 files changed

+0
-60
lines changed

5 files changed

+0
-60
lines changed

samples/jersey/pet-store/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,6 @@
121121
</activation>
122122
<build>
123123
<plugins>
124-
<!-- don't build a jar, we'll use the classes dir -->
125-
<plugin>
126-
<groupId>org.apache.maven.plugins</groupId>
127-
<artifactId>maven-jar-plugin</artifactId>
128-
<version>3.1.1</version>
129-
<executions>
130-
<execution>
131-
<id>default-jar</id>
132-
<phase>none</phase>
133-
</execution>
134-
</executions>
135-
</plugin>
136124
<!-- select and copy only runtime dependencies to a temporary lib folder -->
137125
<plugin>
138126
<groupId>org.apache.maven.plugins</groupId>

samples/spark/pet-store/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,6 @@
105105
</activation>
106106
<build>
107107
<plugins>
108-
<!-- don't build a jar, we'll use the classes dir -->
109-
<plugin>
110-
<groupId>org.apache.maven.plugins</groupId>
111-
<artifactId>maven-jar-plugin</artifactId>
112-
<version>3.1.1</version>
113-
<executions>
114-
<execution>
115-
<id>default-jar</id>
116-
<phase>none</phase>
117-
</execution>
118-
</executions>
119-
</plugin>
120108
<!-- select and copy only runtime dependencies to a temporary lib folder -->
121109
<plugin>
122110
<groupId>org.apache.maven.plugins</groupId>

samples/spring/pet-store/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,6 @@
144144
</activation>
145145
<build>
146146
<plugins>
147-
<!-- don't build a jar, we'll use the classes dir -->
148-
<plugin>
149-
<groupId>org.apache.maven.plugins</groupId>
150-
<artifactId>maven-jar-plugin</artifactId>
151-
<version>3.1.1</version>
152-
<executions>
153-
<execution>
154-
<id>default-jar</id>
155-
<phase>none</phase>
156-
</execution>
157-
</executions>
158-
</plugin>
159147
<!-- select and copy only runtime dependencies to a temporary lib folder -->
160148
<plugin>
161149
<groupId>org.apache.maven.plugins</groupId>

samples/springboot/pet-store/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,6 @@
7676
</activation>
7777
<build>
7878
<plugins>
79-
<!-- don't build a jar, we'll use the classes dir -->
80-
<plugin>
81-
<groupId>org.apache.maven.plugins</groupId>
82-
<artifactId>maven-jar-plugin</artifactId>
83-
<version>3.1.1</version>
84-
<executions>
85-
<execution>
86-
<id>default-jar</id>
87-
<phase>none</phase>
88-
</execution>
89-
</executions>
90-
</plugin>
9179
<!-- select and copy only runtime dependencies to a temporary lib folder -->
9280
<plugin>
9381
<groupId>org.apache.maven.plugins</groupId>

samples/springboot2/pet-store/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,6 @@
8282
</activation>
8383
<build>
8484
<plugins>
85-
<!-- don't build a jar, we'll use the classes dir -->
86-
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-jar-plugin</artifactId>
89-
<version>3.1.1</version>
90-
<executions>
91-
<execution>
92-
<id>default-jar</id>
93-
<phase>none</phase>
94-
</execution>
95-
</executions>
96-
</plugin>
9785
<!-- select and copy only runtime dependencies to a temporary lib folder -->
9886
<plugin>
9987
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)