summaryrefslogtreecommitdiff
path: root/src/webserver/pom.xml
blob: c4a716d3d2380da25b1f1bb62a33476b496531f3 (plain)
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
<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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>io.github.davidovski.names</groupId>
	<artifactId>NameGenerator</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>org.xerial</groupId>
			<artifactId>sqlite-jdbc</artifactId>
			<version>3.32.3</version>
		</dependency>
		<dependency>
			<groupId>org.json</groupId>
			<artifactId>json</artifactId>
			<version>20210307</version>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-shade-plugin</artifactId>
			    <executions>
				<execution>
				    <goals>
					<goal>shade</goal>
				    </goals>
				    <configuration>
					<shadedArtifactAttached>true</shadedArtifactAttached>
					<transformers>
					    <transformer implementation=
					      "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
						<mainClass>io.github.davidovski.names.WebServer</mainClass>
					</transformer>
				    </transformers>
				</configuration>
				</execution>
			    </executions>
			</plugin>

		</plugins>
	</build>
</project>