Set up maven architecture

This commit is contained in:
Henrik Kjernmoen Gran 2024-08-15 19:38:42 +02:00
parent 2151f804a0
commit 0dce77c605
2 changed files with 39 additions and 0 deletions

32
pom.xml Normal file
View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>no.ntnu.pvv.henrkgr</groupId>
<artifactId>doorbell-matrix-bot</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>sonatype</id>
<url>https://central.sonatype.com/artifact/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.cosium.matrix_communication_client</groupId>
<artifactId>matrix-communication-client</artifactId>
<version>${1.9.0}</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,7 @@
package no.ntnu.pvv.henrkgr.doorbellmatrixbot;
public class Main {
public static void main(String[] args) {
System.out.println("Hello world");
}
}