Skip to content

Commit

Permalink
Add shade plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 committed Apr 13, 2016
1 parent bd087e1 commit fae20ba
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions ReferenceLibrary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency>
<groupId>org.easyb</groupId>
<artifactId>easyb-core</artifactId>
<version>1.5</version>
Expand All @@ -30,9 +30,9 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
Expand All @@ -41,18 +41,17 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<configLocation>my_checks.xml</configLocation>
<failsOnError>true</failsOnError>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<configLocation>my_checks.xml</configLocation>
<failsOnError>true</failsOnError>
</configuration>
</plugin>


<plugin>
<plugin>
<groupId>org.easyb</groupId>
<artifactId>maven-easyb-plugin</artifactId>
<version>1.4</version>
Expand All @@ -71,7 +70,26 @@
</configuration>
</plugin>


</plugins>
</build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>referencelibrary.ReferenceLibrary</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit fae20ba

Please sign in to comment.