File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 <!-- 构建和编译-->
4242 <build >
4343 <finalName >protools</finalName >
44+ <resources >
45+ <!-- 控制资源文件的拷贝 -->
46+ <resource >
47+ <directory >src/main/resources</directory >
48+ <targetPath >${project.build.directory} </targetPath >
49+ </resource >
50+ </resources >
4451 <pluginManagement >
4552 <plugins >
4653 <plugin >
4754 <groupId >org.apache.maven.plugins</groupId >
4855 <artifactId >maven-compiler-plugin</artifactId >
49- <version >3.1 </version >
56+ <version >3.2 </version >
5057 <configuration >
5158 <source >1.8</source >
5259 <target >1.8</target >
53- <encoding >UTF8 </encoding >
60+ <encoding >UTF-8 </encoding >
5461 </configuration >
5562 </plugin >
63+ <plugin >
64+ <groupId >org.apache.maven.plugins</groupId >
65+ <artifactId >maven-jar-plugin</artifactId >
66+ <version >3.0.2</version >
67+ </plugin >
5668 </plugins >
5769 </pluginManagement >
70+ <plugins >
71+ <plugin >
72+ <groupId >org.apache.maven.plugins</groupId >
73+ <artifactId >maven-compiler-plugin</artifactId >
74+ </plugin >
75+ <plugin >
76+ <groupId >org.apache.maven.plugins</groupId >
77+ <artifactId >maven-jar-plugin</artifactId >
78+ <configuration >
79+ <classifier >${version} </classifier >
80+ </configuration >
81+ <executions >
82+ <execution >
83+ <id >jar</id >
84+ <phase >compile</phase >
85+ <goals >
86+ <goal >jar</goal >
87+ </goals >
88+ </execution >
89+ </executions >
90+ </plugin >
91+ </plugins >
5892 </build >
5993
6094 <dependencies >
You can’t perform that action at this time.
0 commit comments