145 lines
5.9 KiB
XML
145 lines
5.9 KiB
XML
<project>
|
|
<parent>
|
|
<artifactId>parent</artifactId>
|
|
<groupId>be.simplenotes</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>app</artifactId>
|
|
|
|
<properties>
|
|
<http4k.version>3.258.0</http4k.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>persistance</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>search</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>domain</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>shared</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.http4k</groupId>
|
|
<artifactId>http4k-core</artifactId>
|
|
<version>${http4k.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.http4k</groupId>
|
|
<artifactId>http4k-server-jetty</artifactId>
|
|
<version>${http4k.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
<artifactId>kotlinx-html-jvm</artifactId>
|
|
<version>0.7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
<artifactId>kotlinx-serialization-runtime</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>shared</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.http4k</groupId>
|
|
<artifactId>http4k-testing-hamkrest</artifactId>
|
|
<version>${http4k.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>be.simplenotes.app.SimpleNotesKt</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
<filters>
|
|
<filter>
|
|
<artifact>com.h2database:h2</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.mariadb.jdbc:mariadb-java-client</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.jetbrains.kotlin:kotlin-reflect</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.eclipse.jetty:*</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.apache.lucene:*</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/maven/**</exclude>
|
|
<exclude>META-INF/proguard/**</exclude>
|
|
<exclude>META-INF/*.kotlin_module</exclude>
|
|
<exclude>META-INF/DEPENDENCIES*</exclude>
|
|
<exclude>META-INF/NOTICE*</exclude>
|
|
<exclude>META-INF/LICENSE*</exclude>
|
|
<exclude>LICENSE*</exclude>
|
|
<exclude>META-INF/README*</exclude>
|
|
<exclude>META-INF/native-image/**</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|