Skip to content

Commit

Permalink
(#220) fix shaded jar generation
Browse files Browse the repository at this point in the history
  • Loading branch information
victornoel committed Feb 15, 2021
1 parent ce70d22 commit e454e48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ target/
.settings
.classpath
.recommenders
/nbproject/
/nbproject/
/dependency-reduced.pom
10 changes: 4 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>com.jcabi</groupId>
<artifactId>parent</artifactId>
<version>0.50.5</version>
<version>0.51.1</version>
</parent>
<groupId>org.llorllale</groupId>
<artifactId>cactoos-matchers</artifactId>
Expand Down Expand Up @@ -76,7 +76,6 @@
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
<profiles>
Expand Down Expand Up @@ -146,8 +145,9 @@
<goal>shade</goal>
</goals>
<configuration>
<!-- This confuses qulice -->
<createDependencyReducedPom>false</createDependencyReducedPom>
<!-- so that it is not seen by antrun's execution from parent pom, see https://github.com/jcabi/jcabi-parent/issues/117 -->
<dependencyReducedPomLocation>${basedir}/dependency-reduced.pom</dependencyReducedPomLocation>
<minimizeJar>true</minimizeJar>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<artifactSet>
Expand All @@ -166,15 +166,13 @@
</excludes>
</relocation>
</relocations>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<configuration>
<output>file</output>
<outputDirectory>${project.build.directory}/coverage</outputDirectory>
Expand Down

0 comments on commit e454e48

Please sign in to comment.