Commit f20a2c4f authored by Adam Gausmann's avatar Adam Gausmann

Update POM and .gitignore to fix compile issue

parent fe65b20a
Pipeline #4278972 passed with stages
in 13 seconds
# Maven builds
target/
/target
# Project files
.idea
/.idea
*.iml
# Runtime working directory
work/
/work
# Maven builds
/target
/dependency-reduced-pom.xml
\ No newline at end of file
......@@ -11,13 +11,6 @@
<artifactId>samurai-api</artifactId>
<repositories>
<repository>
<id>nonemu</id>
<url>https://nexus.nonemu.ninja/content/groups/public</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>ninja.nonemu</groupId>
......
......@@ -38,6 +38,13 @@
<log4j.version>2.6.2</log4j.version>
</properties>
<repositories>
<repository>
<id>nonemu</id>
<url>https://nexus.nonemu.ninja/content/groups/public</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
......@@ -77,21 +84,16 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>unpack</id>
<phase>compile</phase>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<excludeScope>provided</excludeScope>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
......
# Maven builds
/target
/dependency-reduced-pom.xml
\ No newline at end of file
......@@ -30,14 +30,13 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<archive>
<manifest>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>ninja.nonemu.samurai.BotImpl</mainClass>
</manifest>
</archive>
</transformer>
</transformers>
</configuration>
</plugin>
</plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment