1
1
<project xmlns =" http://maven.apache.org/POM/4.0.0"
2
- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
4
<modelVersion >4.0.0</modelVersion >
5
-
6
5
<groupId >edu.asu</groupId >
7
6
<artifactId >sparky</artifactId >
8
7
<version >0.0.1-SNAPSHOT</version >
9
- <build >
10
- <plugins >
11
- <plugin >
12
- <groupId >org.apache.maven.plugins</groupId >
13
- <artifactId >maven-compiler-plugin</artifactId >
14
- <configuration >
15
- <source >7</source >
16
- <target >7</target >
17
- </configuration >
18
- </plugin >
19
- </plugins >
20
- </build >
21
- <packaging >jar</packaging >
8
+ <build >
9
+ <plugins >
10
+ <plugin >
11
+ <groupId >org.apache.maven.plugins</groupId >
12
+ <artifactId >maven-compiler-plugin</artifactId >
13
+ <version >3.8.1</version >
14
+ <configuration >
15
+ <source >1.8</source >
16
+ <target >1.8</target >
17
+ </configuration >
18
+ </plugin >
19
+ <plugin >
20
+ <artifactId >maven-assembly-plugin</artifactId >
21
+ <configuration >
22
+ <archive >
23
+ <manifest >
24
+ <mainClass >edu.asu.ser502.App</mainClass >
25
+ </manifest >
26
+ </archive >
27
+ <descriptorRefs >
28
+ <descriptorRef >jar-with-dependencies</descriptorRef >
29
+ </descriptorRefs >
30
+ </configuration >
31
+ <executions >
32
+ <execution >
33
+ <id >make-assembly</id > <!-- this is used for inheritance merges -->
34
+ <phase >package</phase > <!-- bind to the packaging phase -->
35
+ <goals >
36
+ <goal >single</goal >
37
+ </goals >
38
+ </execution >
39
+ </executions >
40
+ </plugin >
41
+ <plugin >
42
+ <groupId >org.apache.maven.plugins</groupId >
43
+ <artifactId >maven-jar-plugin</artifactId >
44
+ <version >3.0.2</version >
45
+ <configuration >
46
+ <archive >
47
+ <manifest >
48
+ <mainClass >edu.asu.ser502.App</mainClass >
49
+ <addClasspath >true</addClasspath >
50
+ </manifest >
51
+ </archive >
52
+ </configuration >
53
+ </plugin >
54
+ </plugins >
55
+ </build >
56
+ <packaging >jar</packaging >
22
57
23
58
<name >sparky</name >
24
59
<url >http://maven.apache.org</url >
25
60
26
61
<properties >
27
62
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
63
+ <maven .compiler.source>1.8</maven .compiler.source>
64
+ <maven .compiler.target>1.8</maven .compiler.target>
28
65
</properties >
29
66
30
67
<dependencies >
36
73
</dependency >
37
74
38
75
</dependencies >
39
- </project >
76
+ </project >
0 commit comments