Skip to content

Commit eb50344

Browse files
committed
Adding Studio desktop project
1 parent 833e19f commit eb50344

18 files changed

Lines changed: 2160 additions & 0 deletions

File tree

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<module>driver</module>
2323
<module>metadata</module>
2424
<module>web-ui</module>
25+
<module>studio-desktop</module>
2526
</modules>
2627

2728
<build>

studio-desktop/pom.xml

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<parent>
3+
<artifactId>studio-parent</artifactId>
4+
<groupId>studio</groupId>
5+
<version>0.3.2-SNAPSHOT</version>
6+
</parent>
7+
<modelVersion>4.0.0</modelVersion>
8+
<artifactId>studio-desktop</artifactId>
9+
<dependencies>
10+
<dependency>
11+
<groupId>studio</groupId>
12+
<artifactId>studio-core</artifactId>
13+
<version>${project.version}</version>
14+
</dependency>
15+
<dependency>
16+
<groupId>studio</groupId>
17+
<artifactId>studio-metadata</artifactId>
18+
<version>${project.version}</version>
19+
</dependency>
20+
<dependency>
21+
<groupId>studio</groupId>
22+
<artifactId>studio-driver</artifactId>
23+
<version>${project.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.code.gson</groupId>
27+
<artifactId>gson</artifactId>
28+
</dependency>
29+
<dependency>
30+
<groupId>commons-io</groupId>
31+
<artifactId>commons-io</artifactId>
32+
</dependency>
33+
<dependency>
34+
<groupId>commons-codec</groupId>
35+
<artifactId>commons-codec</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.googlecode.soundlibs</groupId>
39+
<artifactId>vorbisspi</artifactId>
40+
<version>1.0.3.3</version>
41+
</dependency>
42+
<dependency>
43+
<groupId>com.googlecode.soundlibs</groupId>
44+
<artifactId>mp3spi</artifactId>
45+
<version>1.9.5.4</version>
46+
<exclusions>
47+
<exclusion>
48+
<groupId>junit</groupId>
49+
<artifactId>junit</artifactId>
50+
</exclusion>
51+
</exclusions>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.usb4java</groupId>
55+
<artifactId>usb4java</artifactId>
56+
<version>1.3.0</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>de.sciss</groupId>
60+
<artifactId>jump3r</artifactId>
61+
<version>1.0.5</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.apache.logging.log4j</groupId>
65+
<artifactId>log4j-api</artifactId>
66+
<version>2.13.2</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.apache.logging.log4j</groupId>
70+
<artifactId>log4j-core</artifactId>
71+
<version>2.13.2</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.logging.log4j</groupId>
75+
<artifactId>log4j-jul</artifactId>
76+
<version>2.13.2</version>
77+
</dependency>
78+
</dependencies>
79+
<build>
80+
<resources>
81+
<resource>
82+
<directory>src/main/java</directory>
83+
<includes>
84+
<include>**/*.properties</include>
85+
</includes>
86+
</resource>
87+
<!-- regular resource processing for everything except scripts -->
88+
<resource>
89+
<directory>src/main/resources</directory>
90+
<excludes>
91+
<exclude>studio.sh</exclude>
92+
<exclude>studio.bat</exclude>
93+
</excludes>
94+
<filtering>true</filtering>
95+
</resource>
96+
<!-- resource processing with a different output directory for scripts -->
97+
<resource>
98+
<directory>src/main/resources</directory>
99+
<includes>
100+
<include>studio.sh</include>
101+
<include>studio.bat</include>
102+
<include>lunii.png</include>
103+
</includes>
104+
<!-- relative to target/classes -->
105+
<targetPath>..</targetPath>
106+
<filtering>true</filtering>
107+
</resource>
108+
</resources>
109+
<plugins>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-dependency-plugin</artifactId>
113+
<!-- Copy dependencies into `lib` folder -->
114+
<executions>
115+
<execution>
116+
<id>copy-dependencies</id>
117+
<phase>prepare-package</phase>
118+
<goals>
119+
<goal>copy-dependencies</goal>
120+
</goals>
121+
<configuration>
122+
<outputDirectory>${project.build.directory}/lib</outputDirectory>
123+
</configuration>
124+
</execution>
125+
</executions>
126+
</plugin>
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-assembly-plugin</artifactId>
130+
<version>3.1.1</version>
131+
<executions>
132+
<execution>
133+
<id>make-assembly</id>
134+
<phase>package</phase>
135+
<goals>
136+
<goal>single</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
<configuration>
141+
<descriptors>
142+
<descriptor>src/main/assembly/dist.xml</descriptor>
143+
</descriptors>
144+
<archive>
145+
<manifest>
146+
<mainClass>studio.GUI</mainClass>
147+
</manifest>
148+
</archive>
149+
</configuration>
150+
</plugin>
151+
</plugins>
152+
<pluginManagement>
153+
<plugins>
154+
<plugin>
155+
<artifactId>maven-compiler-plugin</artifactId>
156+
<configuration>
157+
<source>11</source>
158+
<target>11</target>
159+
</configuration>
160+
</plugin>
161+
</plugins>
162+
</pluginManagement>
163+
</build>
164+
</project>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--
2+
~ This Source Code Form is subject to the terms of the Mozilla Public
3+
~ License, v. 2.0. If a copy of the MPL was not distributed with this
4+
~ file, You can obtain one at https://mozilla.org/MPL/2.0/.
5+
-->
6+
7+
<assembly>
8+
9+
<id>dist</id>
10+
<formats>
11+
<format>jar</format>
12+
</formats>
13+
14+
<dependencySets>
15+
<dependencySet>
16+
<useProjectArtifact>false</useProjectArtifact>
17+
<outputDirectory>lib</outputDirectory>
18+
<unpack>false</unpack>
19+
<scope>compile</scope>
20+
</dependencySet>
21+
</dependencySets>
22+
23+
<fileSets>
24+
<fileSet>
25+
<directory>${project.build.directory}</directory>
26+
<outputDirectory></outputDirectory>
27+
<includes>
28+
<include>${project.build.finalName}.jar</include>
29+
</includes>
30+
</fileSet>
31+
<fileSet>
32+
<directory>${project.build.directory}</directory>
33+
<outputDirectory></outputDirectory>
34+
<includes>
35+
<include>studio.sh</include>
36+
<include>studio.bat</include>
37+
</includes>
38+
<fileMode>0755</fileMode>
39+
</fileSet>
40+
</fileSets>
41+
42+
</assembly>

0 commit comments

Comments
 (0)