Skip to content

Commit 3fd62df

Browse files
Giuseppe Falco-ScampatelliElvenSpellmaker
authored andcommitted
added a wildcard to exclude sources and javadoc jars
Signed-off-by: Jack Blower <[email protected]>
1 parent abcbb99 commit 3fd62df

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN ls -la /root/.m2/repository
1616
RUN ./mvnw dependency:go-offline --quiet\
1717
&& ./mvnw process-resources --quiet \
1818
&& ./mvnw clean package -Dmaven.default-test.skip=true -Dmaven.test.skip=true -DskipTests --no-transfer-progress --quiet\
19-
&& mkdir -p extracted && java -Djarmode=layertools -jar target/*.jar extract --destination extracted
19+
&& mkdir -p extracted && java -Djarmode=layertools -jar target/stacks-api-[^-]*.jar extract --destination extracted
2020

2121
FROM azul/zulu-openjdk-alpine:17-jre
2222

java/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@
248248
<version>${spring.boot.version}</version>
249249
<configuration>
250250
<mainClass>com.amido.stacks.workloads.Application</mainClass>
251-
<layout>JAR</layout>
252251
</configuration>
253252
<executions>
254253
<execution>

0 commit comments

Comments
 (0)