Skip to content

Commit

Permalink
Merge pull request mvnpm#2163 from mvnpm/remove-mvnpm-deps
Browse files Browse the repository at this point in the history
Workaround to remove mvnpm deps from target quarkus app
  • Loading branch information
phillip-kruger authored Nov 29, 2023
2 parents 9d23ac3 + 2dec3e8 commit 7c72e2f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<formatter.plugin.version>2.23.0</formatter.plugin.version>
<impsort.plugin.version>1.9.0</impsort.plugin.version>
<quarkus.ide-config.version>3.0.0.Final</quarkus.ide-config.version>
<maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
<!-- UI Libs -->
<quarkus-qute-server-pages.version>2.1.0.Final</quarkus-qute-server-pages.version>
<quarkus-web-bundler.version>1.1.5</quarkus-web-bundler.version>
Expand Down Expand Up @@ -255,6 +256,31 @@
</compilerArgs>
</configuration>
</plugin>
<!-- Workaround for web-bundler (removing mvnpm deps from target quarkus-app) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>delete-mvnpm-deps</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- Delete libraries starting with org.mvnpm -->
<delete includeemptydirs="true">
<fileset dir="${project.build.directory}/quarkus-app/lib/main">
<include name="org.mvnpm*"/>
</fileset>
</delete>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
Expand Down

0 comments on commit 7c72e2f

Please sign in to comment.