Skip to content

Commit

Permalink
plugin cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen Paraschiv committed Jul 15, 2018
1 parent b3b91b9 commit 22b7cf7
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 43 deletions.
5 changes: 5 additions & 0 deletions bootique/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,21 @@

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
</plugin>

</plugins>
</build>

<properties>
<main.class>com.baeldung.bootique.App</main.class>
<bootique-bom.version>0.23</bootique-bom.version>

<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
</properties>

</project>
13 changes: 0 additions & 13 deletions core-java-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,6 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
13 changes: 0 additions & 13 deletions core-java-concurrency/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
</manifest>
</archive>
</configuration>
</plugin>

</plugins>
</build>
Expand Down
4 changes: 3 additions & 1 deletion core-java-sun/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
Expand Down Expand Up @@ -295,6 +296,7 @@
<protonpack.version>1.13</protonpack.version>
<streamex.version>0.6.5</streamex.version>
<vavr.version>0.9.0</vavr.version>
<spring-web.version>4.3.4.RELEASE</spring-web.version>

<!-- testing -->
<assertj.version>3.6.1</assertj.version>
Expand All @@ -303,7 +305,7 @@
<!-- maven plugins -->
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
<sun-tools.version>1.8.0</sun-tools.version>
<spring-web.version>4.3.4.RELEASE</spring-web.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
</properties>

</project>
5 changes: 5 additions & 0 deletions disruptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
Expand Down Expand Up @@ -91,6 +92,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -133,6 +135,9 @@
<!-- testing -->
<testng.version>6.10</testng.version>
<assertj.version>3.6.1</assertj.version>

<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
</properties>

</project>
15 changes: 0 additions & 15 deletions java-numbers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,6 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
</manifest>
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions jmh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
Expand All @@ -46,6 +47,7 @@

<properties>
<openjdk.jmh.version>1.19</openjdk.jmh.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
</properties>

</project>
3 changes: 3 additions & 0 deletions jooby/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
</plugin>
</plugins>
</build>
Expand All @@ -52,6 +53,8 @@
<jooby.version>1.1.3</jooby.version>
<application.class>com.baeldung.jooby.App</application.class>
<jooby-jedis.version>1.1.3</jooby-jedis.version>

<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
</properties>

</project>
6 changes: 5 additions & 1 deletion undertow/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.baeldung.undertow</groupId>
<artifactId>undertow</artifactId>
<packaging>jar</packaging>
Expand Down Expand Up @@ -29,6 +29,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -41,6 +42,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifest>
Expand All @@ -54,6 +56,8 @@

<properties>
<undertow-servlet.version>1.4.18.Final</undertow-servlet.version>
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
</properties>

</project>

0 comments on commit 22b7cf7

Please sign in to comment.