Skip to content

Commit

Permalink
quarkus maven plugin ignores package type if maven profile is literal…
Browse files Browse the repository at this point in the history
…ly named "native"
  • Loading branch information
matusfaro committed Jan 1, 2024
1 parent 65e2a28 commit 6d88971
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 31 deletions.
5 changes: 5 additions & 0 deletions dataspray-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@
<phase>package</phase>
</execution>
</executions>
<configuration>
<properties>
<quarkus.package.type>uber-jar</quarkus.package.type>
</properties>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
1 change: 0 additions & 1 deletion dataspray-cli/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@
# SOFTWARE.
#
quarkus.log.level=WARN
quarkus.package.type=uber-jar
quarkus.package.add-runner-suffix=false
2 changes: 0 additions & 2 deletions dataspray-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@
<id>production</id>
<properties>
<stackEnv>PRODUCTION</stackEnv>
<native>true</native>
<awsProfile>dataspray</awsProfile>
<dnsDomain>dataspray.io</dnsDomain>
<sesEmail>[email protected]</sesEmail>
Expand All @@ -238,7 +237,6 @@
<id>staging</id>
<properties>
<stackEnv>STAGING</stackEnv>
<native>true</native>
<awsProfile>dataspray</awsProfile>
<dnsDomain>dataspray.io</dnsDomain>
<dnsSubdomain>staging</dnsSubdomain>
Expand Down
22 changes: 0 additions & 22 deletions dataspray-package/src/main/resources/application.properties

This file was deleted.

4 changes: 0 additions & 4 deletions dataspray-stream-control/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
<aws.cdk.4j.version>2.2.5</aws.cdk.4j.version>
<sqlite4java>1.0.392</sqlite4java>

<!-- Whether to package modules as native or jar. For production/staging profiles set to true by default -->
<native>false</native>
<lambda-native.phase>package</lambda-native.phase>
<lambda-native.container-build>false</lambda-native.container-build>
<lambda-native-it.phase>none</lambda-native-it.phase>
Expand Down

0 comments on commit 6d88971

Please sign in to comment.