Skip to content

Instantly share code, notes, and snippets.

@stevommmm
Created March 12, 2015 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevommmm/67718fcc80065c063ab1 to your computer and use it in GitHub Desktop.
Save stevommmm/67718fcc80065c063ab1 to your computer and use it in GitHub Desktop.
cd C:\Users\c45y\Git\KitchenSink; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_20" cmd /c "\"\"C:\\Program Files\\NetBeans 8.0.1\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.0.1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 clean install\""
Scanning for projects...
------------------------------------------------------------------------
Building KitchenSink 0.9.1
------------------------------------------------------------------------
Downloading: http://repo.kitteh.org/content/groups/public/de/bananaco/bPermissions/2.10.9d/bPermissions-2.10.9d.pom
Downloaded: http://repo.kitteh.org/content/groups/public/de/bananaco/bPermissions/2.10.9d/bPermissions-2.10.9d.pom (5 KB at 4.1 KB/sec)
Downloading: http://repo.kitteh.org/content/groups/public/de/bananaco/bPermissions/2.10.9d/bPermissions-2.10.9d.jar
Downloaded: http://repo.kitteh.org/content/groups/public/de/bananaco/bPermissions/2.10.9d/bPermissions-2.10.9d.jar (114 KB at 78.5 KB/sec)
--- maven-clean-plugin:2.4.1:clean (default-clean) @ KitchenSink ---
--- maven-resources-plugin:2.5:resources (default-resources) @ KitchenSink ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
Copying 2 resources to .
--- maven-compiler-plugin:2.0.2:compile (default-compile) @ KitchenSink ---
Compiling 6 source files to C:\Users\c45y\Git\KitchenSink\target\classes
--- maven-resources-plugin:2.5:testResources (default-testResources) @ KitchenSink ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\c45y\Git\KitchenSink\src\test\resources
--- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ KitchenSink ---
No sources to compile
--- maven-surefire-plugin:2.10:test (default-test) @ KitchenSink ---
Surefire report directory: C:\Users\c45y\Git\KitchenSink\target\surefire-reports
Downloading: http://repo.bukkit.org/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.pom (3 KB at 3.6 KB/sec)
Downloading: http://repo.bukkit.org/content/groups/public/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.10/surefire-junit4-2.10.jar (33 KB at 36.7 KB/sec)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
--- maven-jar-plugin:2.1:jar (default-jar) @ KitchenSink ---
Building jar: C:\Users\c45y\Git\KitchenSink\target\KitchenSink-0.9.1.jar
--- maven-shade-plugin:2.2:shade (default) @ KitchenSink ---
Excluding org.bukkit:bukkit:jar:1.8-R0.1-SNAPSHOT from the shaded jar.
Excluding commons-lang:commons-lang:jar:2.6 from the shaded jar.
Excluding com.googlecode.json-simple:json-simple:jar:1.1.1 from the shaded jar.
Excluding junit:junit:jar:4.10 from the shaded jar.
Excluding org.hamcrest:hamcrest-core:jar:1.1 from the shaded jar.
Excluding com.google.guava:guava:jar:17.0 from the shaded jar.
Excluding org.avaje:ebean:jar:2.8.1 from the shaded jar.
Excluding javax.persistence:persistence-api:jar:1.0 from the shaded jar.
Excluding org.yaml:snakeyaml:jar:1.14 from the shaded jar.
Excluding org.bukkit:craftbukkit:jar:1.8-R0.1-SNAPSHOT from the shaded jar.
Excluding org.spigotmc:spigot-api:jar:1.8-R0.1-SNAPSHOT from the shaded jar.
Excluding net.md-5:bungeecord-chat:jar:1.8-SNAPSHOT from the shaded jar.
Excluding de.bananaco:bPermissions:jar:2.10.9d from the shaded jar.
Including com.google.code.gson:gson:jar:2.1 in the shaded jar.
Excluding com.comphenix.protocol:ProtocolLib:jar:3.6.3-SNAPSHOT from the shaded jar.
Excluding cglib:cglib-nodep:jar:2.2.2 from the shaded jar.
Excluding com.comphenix.executors:BukkitExecutors:jar:1.0.0 from the shaded jar.
Minimizing jar nu.nerd:KitchenSink:jar:0.9.1
Minimized 174 -> 164 (94%)
Replacing original artifact with shaded artifact.
Replacing C:\Users\c45y\Git\KitchenSink\target\KitchenSink-0.9.1.jar with C:\Users\c45y\Git\KitchenSink\target\KitchenSink-0.9.1-Bundle.jar
Dependency-reduced POM written at: C:\Users\c45y\Git\KitchenSink\dependency-reduced-pom.xml
Downloading: http://repo.kitteh.org/content/groups/public/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar
Downloaded: https://hub.spigotmc.org/nexus/content/groups/public/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar (206 KB at 35.2 KB/sec)
--- maven-install-plugin:2.3.1:install (default-install) @ KitchenSink ---
Installing C:\Users\c45y\Git\KitchenSink\target\KitchenSink-0.9.1.jar to C:\Users\c45y\.m2\repository\nu\nerd\KitchenSink\0.9.1\KitchenSink-0.9.1.jar
Installing C:\Users\c45y\Git\KitchenSink\dependency-reduced-pom.xml to C:\Users\c45y\.m2\repository\nu\nerd\KitchenSink\0.9.1\KitchenSink-0.9.1.pom
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 24.028s
Finished at: Thu Mar 12 18:15:27 EST 2015
Final Memory: 33M/719M
------------------------------------------------------------------------
<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>nu.nerd</groupId>
<artifactId>KitchenSink</artifactId>
<version>0.9.1</version>
<packaging>jar</packaging>
<name>KitchenSink</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<distributionManagement>
<repository>
<id>thezomg-rel</id>
<name>maven.thezomg.com Releases</name>
<url>http://maven.thezomg.com/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>thezomg-snap</id>
<name>maven.thezomg.com Snapshots</name>
<url>http://maven.thezomg.com/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<pluginRepositories>
<pluginRepository>
<id>bukkit-plugins</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.bananaco</groupId>
<artifactId>bPermissions</artifactId>
<version>2.10.9d</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>3.6.3-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>kitteh-repo</id>
<url>http://repo.kitteh.org/content/groups/public</url>
</repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>shadowvolt-repo</id>
<url>http://ci.shadowvolt.com/plugin/repository/everything/</url>
</repository>
<repository>
<id>thezomg-repo</id>
<url>http://maven.thezomg.com/content/groups/public/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>bukkit-repo</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
</repositories>
<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>.</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
<defaultGoal>clean package</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.1</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
<finalName>KitchenSink-${project.version}</finalName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<configuration>
<minimizeJar>true</minimizeJar>
<relocations>
<relocation>
<pattern>com.google.gson</pattern>
<shadedPattern>nu.nerd.kitchensink.libs.com.google.gson</shadedPattern>
</relocation>
</relocations>
<excludes>
</excludes>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<shadedClassifierName>Bundle</shadedClassifierName>
<artifactSet>
<includes>
<include>com.google.code.gson:gson:jar:*</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment