Skip to content

Commit

Permalink
[INLONG-11315][Audit] Resolve the conflict between the Audit SDK and …
Browse files Browse the repository at this point in the history
…other components' Protobuf versions (#11316)
  • Loading branch information
doleyzi authored Oct 10, 2024
1 parent 47efde7 commit c7f358f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions inlong-audit/audit-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,36 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${plugin.shade.version}</version>
<executions>
<execution>
<id>shade-audit</id>
<goals>
<goal>shade</goal>
</goals>
<phase>package</phase>

<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<include>org.apache.inlong:*</include>
<include>com.google.protobuf:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>org.apache.inlong.audit.shaded.com.google.protobuf</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
Expand Down

0 comments on commit c7f358f

Please sign in to comment.