Skip to content

Commit a438a12

Browse files
committed
prod(operator): build quarkus app archive
1 parent ddff0b4 commit a438a12

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

operator/controller/pom.xml

+25
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,31 @@
165165
</executions>
166166
</plugin>
167167

168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-assembly-plugin</artifactId>
171+
<executions>
172+
<execution>
173+
<id>assembly</id>
174+
<goals>
175+
<goal>single</goal>
176+
</goals>
177+
<phase>package</phase>
178+
<configuration>
179+
<finalName>${project.artifactId}-${project.version}</finalName>
180+
<attach>true</attach>
181+
<descriptors>
182+
<descriptor>src/main/assembly/assembly.xml</descriptor>
183+
</descriptors>
184+
<archiverConfig>
185+
<defaultDirectoryMode>0755</defaultDirectoryMode>
186+
</archiverConfig>
187+
<tarLongFileMode>${tar.long.file.mode}</tarLongFileMode>
188+
</configuration>
189+
</execution>
190+
</executions>
191+
</plugin>
192+
168193
</plugins>
169194

170195
</build>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
3+
<id>quarkus-app</id>
4+
<formats>
5+
<format>zip</format>
6+
<format>tar.gz</format>
7+
</formats>
8+
<includeBaseDirectory>false</includeBaseDirectory>
9+
<fileSets>
10+
<fileSet>
11+
<directory>target/quarkus-app</directory>
12+
<outputDirectory>/</outputDirectory>
13+
<filtered>false</filtered>
14+
</fileSet>
15+
</fileSets>
16+
</assembly>

0 commit comments

Comments
 (0)