Skip to content

Commit

Permalink
shaded parent pom configs
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Nov 26, 2024
1 parent 6fbbdf5 commit 5409be1
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand Down Expand Up @@ -251,6 +252,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand All @@ -264,6 +279,18 @@
</manifestEntries>
</archive>
</configuration>
<!-- no phases as we need to stop parent-pom config from executing these goals and rewrite sources & javadoc jars -->
<!-- remove this after DAT-19084 fix in parent-pom is released -->
<executions>
<execution>
<id>build-sources-jar</id>
<phase/>
</execution>
<execution>
<id>build-javadoc-jar</id>
<phase/>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 5409be1

Please sign in to comment.