forked from hoijui/JavaOSC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
85 lines (73 loc) · 2.25 KB
/
Copy pathpom.xml
File metadata and controls
85 lines (73 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<project.packageName>com.illposed.osc</project.packageName>
<project.mainClass>com.illposed.osc.ui.Main</project.mainClass>
</properties>
<parent>
<groupId>com.illposed.osc</groupId>
<artifactId>javaosc-parent</artifactId>
<version>0.5-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>
<groupId>com.illposed.osc</groupId>
<artifactId>javaosc-ui</artifactId>
<version>0.5-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JavaOSC-UI</name>
<description>An Open Sound Control library implementation in Java - UI</description>
<build>
<defaultGoal>package</defaultGoal>
<plugins>
<!--
Modifies the jars manifest file.
Here we add the Main-Class attribute, for example.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>dependency</classpathPrefix>
<packageName>${project.packageName}</packageName>
<mainClass>${project.mainClass}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!--
This generates an extra jar file that can be run standalone.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>${project.mainClass}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>${project.mainClass}</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.illposed.osc</groupId>
<artifactId>javaosc-core</artifactId>
<version>0.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>