Fix OpenDJ-38 - Maven: package examples with SDK
Use shade plugin to combine dependencies into a single JAR thus making the examples easier to use.
| | |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-checkstyle-plugin</artifactId> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-shade-plugin</artifactId> |
| | | <version>1.4</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>shade</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | <reporting> |