diff --git a/pom.xml b/pom.xml index 752038723b0e09aa3fd8cafc8eb94b3920b81e11..bfb5d253ec40c48363e3f3b5ff7e1d130e399327 100644 --- a/pom.xml +++ b/pom.xml @@ -1,31 +1,38 @@ <?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> + 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>de.fossag.hackatron</groupId> - <artifactId>hackatron-wrapper</artifactId> - <version>1.0-SNAPSHOT</version> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> - </archive> - </configuration> - </plugin> - </plugins> - </build> + <groupId>de.fossag.hackatron</groupId> + <artifactId>hackatron-wrapper</artifactId> + <version>1.0-SNAPSHOT</version> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>de.fossag.Main</mainClass> + </configuration> + </plugin> + </plugins> + </build> - <properties> - <maven.compiler.source>20</maven.compiler.source> - <maven.compiler.target>20</maven.compiler.target> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <exec.mainClass>de.fossag.Main</exec.mainClass> - </properties> + <properties> + <maven.compiler.source>17</maven.compiler.source> + <maven.compiler.target>17</maven.compiler.target> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <exec.mainClass>de.fossag.Main</exec.mainClass> + </properties> </project> \ No newline at end of file