Skip to content

Commit

Permalink
maven profile to create non-shaded zpe java client (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
havetisyan authored Aug 28, 2018
1 parent 7794209 commit e46f0e6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions clients/java/zpe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<version>2.3</version>
<executions>
<execution>
<id>shade-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
Expand Down Expand Up @@ -197,6 +198,29 @@
</plugins>
</build>
</profile>
<profile>
<id>no-shade</id>
<activation>
<property>
<name>no-shade</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>shade-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<distributionManagement>
Expand Down

0 comments on commit e46f0e6

Please sign in to comment.