|
@@ -0,0 +1,43 @@
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
5
|
+ <parent>
|
|
6
|
+ <artifactId>spring_demo</artifactId>
|
|
7
|
+ <groupId>org.example</groupId>
|
|
8
|
+ <version>1.0-SNAPSHOT</version>
|
|
9
|
+ </parent>
|
|
10
|
+ <modelVersion>4.0.0</modelVersion>
|
|
11
|
+
|
|
12
|
+ <artifactId>spring_annotation</artifactId>
|
|
13
|
+
|
|
14
|
+ <properties>
|
|
15
|
+ <maven.compiler.source>8</maven.compiler.source>
|
|
16
|
+ <maven.compiler.target>8</maven.compiler.target>
|
|
17
|
+ </properties>
|
|
18
|
+ <build>
|
|
19
|
+ <finalName>Main</finalName>
|
|
20
|
+ <plugins>
|
|
21
|
+ <plugin>
|
|
22
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
23
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
24
|
+ <version>1.2.1</version>
|
|
25
|
+ <executions>
|
|
26
|
+ <execution>
|
|
27
|
+ <phase>package</phase>
|
|
28
|
+ <goals>
|
|
29
|
+ <goal>shade</goal>
|
|
30
|
+ </goals>
|
|
31
|
+ <configuration>
|
|
32
|
+ <transformers>
|
|
33
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
34
|
+ <mainClass>Main</mainClass>
|
|
35
|
+ </transformer>
|
|
36
|
+ </transformers>
|
|
37
|
+ </configuration>
|
|
38
|
+ </execution>
|
|
39
|
+ </executions>
|
|
40
|
+ </plugin>
|
|
41
|
+ </plugins>
|
|
42
|
+ </build>
|
|
43
|
+</project>
|