Skip to content

Commit

Permalink
chore: trim oxauth-common jar #282
Browse files Browse the repository at this point in the history
Signed-off-by: jgomer2001 <[email protected]>
  • Loading branch information
jgomer2001 committed Jul 2, 2024
1 parent 306b28a commit 799906f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
</configuration>
</plugin>

<!-- Remove beans.xml from oxcore-service and oxcore-cache jars.
<!-- Remove beans.xml from oxcore-service, oxauth-common and oxcore-cache jars.
It allows disabling jar scanning by Weld. It produces lots of errors as is -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -392,6 +392,21 @@
</fileset>
</configuration>
</execution>
<execution>
<id>remove-beans-file-oxauth-common</id>
<phase>package</phase>
<goals>
<goal>remove</goal>
</goals>
<configuration>
<fileset>
<directory>${project.build.directory}/${project.build.finalName}.war/WEB-INF/lib/oxauth-common-${ox.version}.jar</directory>
<includes>
<include>META-INF/beans.xml</include>
</includes>
</fileset>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit 799906f

Please sign in to comment.