Skip to content

Commit

Permalink
Clean repackage config
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoet-jh committed Aug 26, 2024
1 parent b52c68c commit 67b3914
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion pass-core-main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM eclipse-temurin:17.0.8_7-jre-jammy

WORKDIR /app

COPY target/pass-core-main.jar .
COPY target/pass-core-main-*-exec.jar pass-core-main.jar
COPY entrypoint.sh .

RUN apt update \
Expand Down
14 changes: 14 additions & 0 deletions pass-core-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,20 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<mainClass>org.eclipse.pass.main.Main</mainClass>
<classifier>exec</classifier>
<attach>false</attach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
20 changes: 0 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,26 +154,6 @@
</dependencyManagement>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<configuration>
<mainClass>org.eclipse.pass.main.Main</mainClass>
<finalName>pass-core-main</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
Expand Down

0 comments on commit 67b3914

Please sign in to comment.