Skip to content

Commit

Permalink
added a wildcard to exclude sources and javadoc jars
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Blower <[email protected]>
  • Loading branch information
Giuseppe Falco-Scampatelli authored and ElvenSpellmaker committed Mar 4, 2024
1 parent abcbb99 commit 3fd62df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN ls -la /root/.m2/repository
RUN ./mvnw dependency:go-offline --quiet\
&& ./mvnw process-resources --quiet \
&& ./mvnw clean package -Dmaven.default-test.skip=true -Dmaven.test.skip=true -DskipTests --no-transfer-progress --quiet\
&& mkdir -p extracted && java -Djarmode=layertools -jar target/*.jar extract --destination extracted
&& mkdir -p extracted && java -Djarmode=layertools -jar target/stacks-api-[^-]*.jar extract --destination extracted

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

Expand Down
1 change: 0 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@
<version>${spring.boot.version}</version>
<configuration>
<mainClass>com.amido.stacks.workloads.Application</mainClass>
<layout>JAR</layout>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 3fd62df

Please sign in to comment.