File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 8
8
<artifactId >excel-utils</artifactId >
9
9
<version >1.0-SNAPSHOT</version >
10
10
11
+ <properties >
12
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
13
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
14
+ <java .version>1.8</java .version>
15
+ </properties >
11
16
12
17
<dependencies >
13
18
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
30
35
<plugin >
31
36
<groupId >org.apache.maven.plugins</groupId >
32
37
<artifactId >maven-compiler-plugin</artifactId >
38
+ <version >3.7.0</version >
33
39
<configuration >
34
- <source >1.8 </source >
35
- <target >1.8 </target >
40
+ <source >${java.version} </source >
41
+ <target >${java.version} </target >
36
42
</configuration >
37
43
</plugin >
44
+ <!--
45
+ <plugin>
46
+ <groupId>org.apache.maven.plugins</groupId>
47
+ <artifactId>maven-shade-plugin</artifactId>
48
+ <version>3.1.0</version>
49
+ <configuration>
50
+ <transformers>
51
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
52
+ <mainClass>ExcelReader</mainClass>
53
+ </transformer>
54
+ </transformers>
55
+ </configuration>
56
+ <executions>
57
+ <execution>
58
+ <phase>package</phase>
59
+ <goals>
60
+ <goal>shade</goal>
61
+ </goals>
62
+ </execution>
63
+ </executions>
64
+ </plugin>
65
+ -->
38
66
</plugins >
39
67
</build >
40
68
</project >
You can’t perform that action at this time.
0 commit comments