Skip to content

Instantly share code, notes, and snippets.

@Limeth
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save Limeth/205f18785857d59d3eed to your computer and use it in GitHub Desktop.

Select an option

Save Limeth/205f18785857d59d3eed to your computer and use it in GitHub Desktop.
Maven, duh.
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cz.projectsurvive</groupId>
<artifactId>minecraftshield</artifactId>
<version>0.1.0</version>
</parent>
<name>MinecraftShield Client</name>
<artifactId>minecraftshield-client</artifactId>
<version>0.1.0</version>
<dependencies>
<dependency>
<groupId>cz.projectsurvive</groupId>
<artifactId>minecraftshield-core</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>cz.projectsurvive</groupId>
<artifactId>minecraftshield-core</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cz.projectsurvive</groupId>
<artifactId>minecraftshield</artifactId>
<version>0.1.0</version>
</parent>
<name>MinecraftShield Core</name>
<artifactId>minecraftshield-core</artifactId>
<version>0.1.0</version>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryonet</artifactId>
<version>2.22.0-RC1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<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>
</project>
<project>
<modelVersion>4.0.0</modelVersion>
<name>MinecraftShield</name>
<groupId>cz.projectsurvive</groupId>
<artifactId>minecraftshield</artifactId>
<version>0.1.0</version>
<modules>
<module>Launcher</module>
<module>Core</module>
<module>Client</module>
<module>Server</module>
</modules>
<packaging>pom</packaging>
<build>
<finalName>${project.name} ${version}</finalName>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment