|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
4 | | - |
5 | | - <parent> |
6 | | - <groupId>org.networkupstools</groupId> |
7 | | - <artifactId>jNut-parent</artifactId> |
8 | | - <version>0.2-SNAPSHOT</version> |
9 | | - </parent> |
10 | | - |
11 | | - <artifactId>jNutList</artifactId> |
12 | | - <packaging>jar</packaging> |
13 | | - |
14 | | - <name>jNutList</name> |
15 | | - <url>http://maven.apache.org</url> |
16 | | - |
17 | | - <properties> |
18 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
19 | | - </properties> |
20 | | - |
21 | | - <dependencies> |
22 | | - <dependency> |
23 | | - <groupId>junit</groupId> |
24 | | - <artifactId>junit</artifactId> |
25 | | - <version>4.13.2</version> |
26 | | - <scope>test</scope> |
27 | | - </dependency> |
28 | | - <dependency> |
29 | | - <groupId>${project.groupId}</groupId> |
30 | | - <artifactId>jNut</artifactId> |
31 | | - <version>${project.version}</version> |
32 | | - </dependency> |
33 | | - </dependencies> |
34 | | - |
35 | | - <build> |
36 | | - <plugins> |
37 | | - <plugin> |
38 | | - <!-- NOTE: We don't need a groupId specification because the group is |
39 | | - org.apache.maven.plugins ...which is assumed by default. |
40 | | - --> |
41 | | - <artifactId>maven-assembly-plugin</artifactId> |
42 | | - <version>3.8.0</version> |
43 | | - <configuration> |
44 | | - <descriptorRefs> |
45 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
46 | | - </descriptorRefs> |
47 | | - <archive> |
48 | | - <manifest> |
49 | | - <mainClass>org.networkupstools.jnutlist.AppList</mainClass> |
50 | | - </manifest> |
51 | | - </archive> |
52 | | - </configuration> |
53 | | - <executions> |
54 | | - <execution> |
55 | | - <id>make-assembly</id> <!-- this is used for inheritance merges --> |
56 | | - <phase>package</phase> <!-- bind to the packaging phase --> |
57 | | - <goals> |
58 | | - <goal>single</goal> |
59 | | - </goals> |
60 | | - </execution> |
61 | | - </executions> |
62 | | - </plugin> |
63 | | - </plugins> |
64 | | - </build> |
65 | | - |
66 | | -</project> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>org.networkupstools</groupId> |
| 7 | + <artifactId>jNut-parent</artifactId> |
| 8 | + <version>0.2-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <artifactId>jNutList</artifactId> |
| 12 | + <packaging>jar</packaging> |
| 13 | + |
| 14 | + <name>jNutList</name> |
| 15 | + <url>http://maven.apache.org</url> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | + <!-- java.source.level>1.4</java.source.level --> |
| 20 | + <java.source.level>8</java.source.level> |
| 21 | + <!-- java.target.level>1.4</java.target.level --> |
| 22 | + <java.target.level>8</java.target.level> |
| 23 | + </properties> |
| 24 | + |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>junit</groupId> |
| 28 | + <artifactId>junit</artifactId> |
| 29 | + <version>4.13.2</version> |
| 30 | + <scope>test</scope> |
| 31 | + </dependency> |
| 32 | + <dependency> |
| 33 | + <groupId>${project.groupId}</groupId> |
| 34 | + <artifactId>jNut</artifactId> |
| 35 | + <version>${project.version}</version> |
| 36 | + </dependency> |
| 37 | + </dependencies> |
| 38 | + |
| 39 | + <build> |
| 40 | + <plugins> |
| 41 | + <plugin> |
| 42 | + <!-- NOTE: We don't need a groupId specification because the group is |
| 43 | + org.apache.maven.plugins ...which is assumed by default. |
| 44 | + --> |
| 45 | + <artifactId>maven-assembly-plugin</artifactId> |
| 46 | + <version>3.8.0</version> |
| 47 | + <configuration> |
| 48 | + <descriptorRefs> |
| 49 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 50 | + </descriptorRefs> |
| 51 | + <archive> |
| 52 | + <manifest> |
| 53 | + <mainClass>org.networkupstools.jnutlist.AppList</mainClass> |
| 54 | + </manifest> |
| 55 | + </archive> |
| 56 | + </configuration> |
| 57 | + <executions> |
| 58 | + <execution> |
| 59 | + <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 60 | + <phase>package</phase> <!-- bind to the packaging phase --> |
| 61 | + <goals> |
| 62 | + <goal>single</goal> |
| 63 | + </goals> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + </plugin> |
| 67 | + |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-compiler-plugin</artifactId> |
| 71 | + <version>3.15.0</version> |
| 72 | + <configuration> |
| 73 | + <source>${java.source.level}</source> |
| 74 | + <target>${java.target.level}</target> |
| 75 | + </configuration> |
| 76 | + </plugin> |
| 77 | + </plugins> |
| 78 | + </build> |
| 79 | + |
| 80 | +</project> |
0 commit comments