|
50 | 50 | </dependencies>
|
51 | 51 |
|
52 | 52 | <build>
|
53 |
| - <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
54 |
| - <plugins> |
55 |
| - <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
56 |
| - <plugin> |
57 |
| - <artifactId>maven-clean-plugin</artifactId> |
58 |
| - <version>3.1.0</version> |
59 |
| - </plugin> |
60 |
| - <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
61 |
| - <plugin> |
62 |
| - <artifactId>maven-resources-plugin</artifactId> |
63 |
| - <version>3.0.2</version> |
64 |
| - </plugin> |
65 |
| - <plugin> |
66 |
| - <artifactId>maven-compiler-plugin</artifactId> |
67 |
| - <version>3.8.0</version> |
68 |
| - </plugin> |
69 |
| - <plugin> |
70 |
| - <artifactId>maven-surefire-plugin</artifactId> |
71 |
| - <version>2.22.1</version> |
72 |
| - </plugin> |
73 |
| - <plugin> |
74 |
| - <artifactId>maven-jar-plugin</artifactId> |
75 |
| - <version>3.0.2</version> |
76 |
| - </plugin> |
77 |
| - <plugin> |
78 |
| - <artifactId>maven-install-plugin</artifactId> |
79 |
| - <version>2.5.2</version> |
80 |
| - </plugin> |
81 |
| - <plugin> |
82 |
| - <artifactId>maven-deploy-plugin</artifactId> |
83 |
| - <version>2.8.2</version> |
84 |
| - </plugin> |
85 |
| - <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
86 |
| - <plugin> |
87 |
| - <artifactId>maven-site-plugin</artifactId> |
88 |
| - <version>3.7.1</version> |
89 |
| - </plugin> |
90 |
| - <plugin> |
91 |
| - <artifactId>maven-project-info-reports-plugin</artifactId> |
92 |
| - <version>3.0.0</version> |
93 |
| - </plugin> |
94 |
| - </plugins> |
95 |
| - </pluginManagement> |
| 53 | + <defaultGoal>clean package</defaultGoal> |
| 54 | + <plugins> |
| 55 | + <plugin> |
| 56 | + <artifactId>maven-dependency-plugin</artifactId> |
| 57 | + <version>3.1.2</version> |
| 58 | + </plugin> |
| 59 | + <plugin> |
| 60 | + <groupId>org.apache.maven.plugins</groupId> |
| 61 | + <artifactId>maven-shade-plugin</artifactId> |
| 62 | + <version>3.1.0</version> |
| 63 | + <executions> |
| 64 | + <execution> |
| 65 | + <phase>package</phase> |
| 66 | + <goals> |
| 67 | + <goal>shade</goal> |
| 68 | + </goals> |
| 69 | + <configuration> |
| 70 | + <transformers> |
| 71 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 72 | + <mainClass>Main</mainClass> |
| 73 | + </transformer> |
| 74 | + </transformers> |
| 75 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 76 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 77 | + </configuration> |
| 78 | + </execution> |
| 79 | + </executions> |
| 80 | + </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-compiler-plugin</artifactId> |
| 84 | + <configuration> |
| 85 | + <source>8</source> |
| 86 | + <target>8</target> |
| 87 | + </configuration> |
| 88 | + </plugin> |
| 89 | + </plugins> |
| 90 | + <resources> |
| 91 | + <resource> |
| 92 | + <directory>src/main/resources</directory> |
| 93 | + <filtering>true</filtering> |
| 94 | + </resource> |
| 95 | + </resources> |
96 | 96 | </build>
|
97 | 97 | </project>
|
0 commit comments