Skip to content
Permalink
Browse files

Make jar with dependencies

  • Loading branch information...
ferrybig committed Mar 13, 2019
1 parent be62a40 commit 901fece8206df572a67d83e9d50354a7c6b08eb8
Showing with 20 additions and 48 deletions.
  1. +7 −0 README.md
  2. +13 −48 pom.xml
@@ -2,3 +2,10 @@ Minecraft-Overview-Mapper
=========================

This Minecraft Mapper creates a top overview from your minecraft world, it has the alebility to render a map from a stream of files like a direct download to the map download files, and it can output the map files as a single file only, this is perfect to share the overview, without requiring the reccieving party to download many files.

## Examples

Simple render:

java -jar "target\Minecraft-Overview-Mapper-1.0.0-jar-with-dependencies.jar" -i F:/MinecraftRender/world -o F:/MinecraftRender/"

61 pom.xml
@@ -62,61 +62,26 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.flowpowered</groupId>
<artifactId>flow-nbt</artifactId>
<version>1.0.0</version>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/lib</outputDirectory>
<destFileName>flow-nbt-1.0.0.jar</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.11</version>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/lib</outputDirectory>
<destFileName>commons-compress-1.11.jar</destFileName>
</artifactItem>
<artifactItem>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/lib</outputDirectory>
<destFileName>commons-cli-1.4.jar</destFileName>
</artifactItem>
</artifactItems>
<!-- other configurations here -->
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>me.ferrybig.java.minecraft.overview.mapper.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

0 comments on commit 901fece

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.