Skip to content

Commit df68e89

Browse files
committed
Fix s3 packaging
1 parent 4ac29d5 commit df68e89

File tree

1 file changed

+44
-6
lines changed
  • services/providers/wanaku-provider-s3

1 file changed

+44
-6
lines changed

services/providers/wanaku-provider-s3/pom.xml

+44-6
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@
8585
<properties>
8686
<skipITs>false</skipITs>
8787
<quarkus.native.enabled>true</quarkus.native.enabled>
88-
<assembly.descriptor>src/main/assembly/assembly-native.xml</assembly.descriptor>
89-
<dist.final.name>${project.artifactId}-${project.version}-${os.detected.classifier}</dist.final.name>
9088
</properties>
9189
</profile>
9290
<profile>
@@ -100,12 +98,8 @@
10098
<configuration>
10199
<attach>false</attach>
102100
<appendAssemblyId>false</appendAssemblyId>
103-
<finalName>${dist.final.name}</finalName>
104101
<outputDirectory>${distribution.directory}</outputDirectory>
105102
<workDirectory>${project.build.directory}/assembly/work</workDirectory>
106-
<descriptors>
107-
<descriptor>${assembly.descriptor}</descriptor>
108-
</descriptors>
109103
</configuration>
110104
<executions>
111105
<execution>
@@ -114,6 +108,50 @@
114108
<goals>
115109
<goal>single</goal>
116110
</goals>
111+
<configuration>
112+
<finalName>${project.artifactId}-${project.version}</finalName>
113+
<descriptors>
114+
<descriptor>src/main/assembly/assembly.xml</descriptor>
115+
</descriptors>
116+
</configuration>
117+
</execution>
118+
</executions>
119+
</plugin>
120+
</plugins>
121+
</build>
122+
</profile>
123+
<profile>
124+
<id>dist-native</id>
125+
<activation>
126+
<property>
127+
<name>native</name>
128+
</property>
129+
</activation>
130+
<build>
131+
<plugins>
132+
<plugin>
133+
<groupId>org.apache.maven.plugins</groupId>
134+
<artifactId>maven-assembly-plugin</artifactId>
135+
<version>${maven-assembly-plugin.version}</version>
136+
<configuration>
137+
<attach>false</attach>
138+
<appendAssemblyId>false</appendAssemblyId>
139+
<outputDirectory>${distribution.directory}</outputDirectory>
140+
<workDirectory>${project.build.directory}/assembly/work</workDirectory>
141+
</configuration>
142+
<executions>
143+
<execution>
144+
<id>make-native-distribution</id>
145+
<phase>package</phase>
146+
<goals>
147+
<goal>single</goal>
148+
</goals>
149+
<configuration>
150+
<finalName>${project.artifactId}-${project.version}-${os.detected.classifier}</finalName>
151+
<descriptors>
152+
<descriptor>src/main/assembly/assembly-native.xml</descriptor>
153+
</descriptors>
154+
</configuration>
117155
</execution>
118156
</executions>
119157
</plugin>

0 commit comments

Comments
 (0)