Update Maven settings, Move source folder

This commit is contained in:
MrLetsplay 2024-01-13 19:49:38 +01:00
parent e1eb7ef0cf
commit af3cd46d3d
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
5 changed files with 51 additions and 17 deletions

68
pom.xml
View File

@ -1,20 +1,54 @@
<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"> <project xmlns="http://maven.apache.org/POM/4.0.0"
<modelVersion>4.0.0</modelVersion> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<groupId>Ollama</groupId> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<artifactId>Ollama</artifactId> <modelVersion>4.0.0</modelVersion>
<version>0.0.1-SNAPSHOT</version> <groupId>me.mrletsplay</groupId>
<build> <artifactId>OllamaAPI</artifactId>
<sourceDirectory>src</sourceDirectory> <version>1.0-SNAPSHOT</version>
<plugins> <build>
<plugin> <sourceDirectory>src/main/java</sourceDirectory>
<artifactId>maven-compiler-plugin</artifactId> <plugins>
<version>3.8.1</version> <plugin>
<configuration> <artifactId>maven-compiler-plugin</artifactId>
<release>17</release> <version>3.10.1</version>
</configuration> <configuration>
</plugin> <release>17</release>
</plugins> <encoding>UTF-8</encoding>
</build> </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<source>11</source>
<encoding>UTF-8</encoding>
<sourcepath>src/main/java</sourcepath>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories> <repositories>
<repository> <repository>