Skip to content

Commit 707a82a

Browse files
Merge pull request #35 from dschwartznyc/main
improve shading configuration
2 parents 52dc200 + 35e444f commit 707a82a

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

pom.xml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@
455455
<groupId>org.apache.maven.plugins</groupId>
456456
<artifactId>maven-shade-plugin</artifactId>
457457
<version>3.5.0</version>
458+
<configuration>
459+
<createDependencyReducedPom>true</createDependencyReducedPom>
460+
</configuration>
458461
<executions>
459462
<execution>
460463
<phase>package</phase>
@@ -463,6 +466,7 @@
463466
</goals>
464467
<configuration>
465468
<transformers>
469+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
466470
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
467471
<mainClass>com.regnosys.rosetta.generator.python.PythonCodeGenCLI</mainClass>
468472
</transformer>
@@ -498,21 +502,21 @@
498502
</executions>
499503
</plugin>
500504
<plugin>
501-
<groupId>org.apache.maven.plugins</groupId>
502-
<artifactId>maven-javadoc-plugin</artifactId>
503-
<version>${maven-javadoc-plugin.version}</version>
504-
<configuration>
505-
<failOnError>false</failOnError>
506-
</configuration>
507-
<executions>
508-
<execution>
509-
<id>attach-javadocs</id>
510-
<phase>package</phase>
511-
<goals>
512-
<goal>jar</goal>
513-
</goals>
514-
</execution>
515-
</executions>
505+
<groupId>org.apache.maven.plugins</groupId>
506+
<artifactId>maven-javadoc-plugin</artifactId>
507+
<version>${maven-javadoc-plugin.version}</version>
508+
<configuration>
509+
<failOnError>false</failOnError>
510+
</configuration>
511+
<executions>
512+
<execution>
513+
<id>attach-javadocs</id>
514+
<phase>package</phase>
515+
<goals>
516+
<goal>jar</goal>
517+
</goals>
518+
</execution>
519+
</executions>
516520
</plugin>
517521
</plugins>
518522
</build>

0 commit comments

Comments
 (0)