<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>fr.rhaz</groupId>
  <artifactId>socketapi</artifactId>
  <version>1.6.4</version>
  <name>SocketAPI</name>
  <description>Socket Manager</description>
  <url>http://dev.rhaz.fr/socketapi</url>
  
  <licenses>
  <license>
    <name>MIT License</name>
    <url>https://opensource.org/licenses/MIT</url>
  </license>
</licenses>
<scm>
  <connection>scm:git:git@github.com:Hazae41/SocketAPI.git</connection>
  <developerConnection>scm:git:git@github.com:Hazae41/SocketAPI.git</developerConnection>
  <url>git@github.com:Hazae41/SocketAPI.git</url>
</scm>
<developers>
    <developer>
      <name>Hazae41</name>
      <email>hazae41@gmail.com</email>
      <organization>RHaz Development</organization>
      <organizationUrl>http://dev.rhaz.fr/</organizationUrl>
    </developer>
  </developers>
  <repositories>
	    <repository>
	        <id>bungeecord-repo</id>
	        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
	    </repository>
	</repositories>
	<distributionManagement>
    <repository>
      <id>oss.sonatype.org</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>oss.sonatype.org</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
	
	<build>
	    <resources>
		<resource>
		<directory>src/main/resources</directory>
		<filtering>true</filtering>
		<includes>
		<include>*</include>
		</includes>
		</resource>
		</resources>
	    <plugins>
	        <plugin>
	            <groupId>org.apache.maven.plugins</groupId>
	            <artifactId>maven-compiler-plugin</artifactId>
	            <version>3.1</version>
	            <configuration>
	                <source>1.7</source>
	                <target>1.7</target>
	            </configuration>
	        </plugin>
	        <plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-shade-plugin</artifactId>
			    <version>1.5</version>
			    <executions>
			        <execution>
			            <phase>package</phase>
			            <goals>
			                <goal>shade</goal>
			            </goals>
			            <configuration>
			            	<shadeTestJar>false</shadeTestJar>
              				<shadedArtifactAttached>false</shadedArtifactAttached>
                            <minimizeJar>false</minimizeJar>
                            <relocations>
                            </relocations>
                            <filters>
						        <filter>
						            <artifact>*:*</artifact>
						            <excludes>
						                <exclude>META-INF/*.SF</exclude>
						                <exclude>META-INF/*.DSA</exclude>
						                <exclude>META-INF/*.RSA</exclude>
						            </excludes>
						        </filter>
						    </filters>
						    <transformers>
				                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
				                  <manifestEntries>
				                    <Built-By>Hazae41</Built-By>
				                  </manifestEntries>
				                </transformer>
			              	</transformers>
                        </configuration>
			        </execution>
			    </executions>
			</plugin>
			<plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>package-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <executions>
          <execution>
            <id>package-javadoc</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
	    </plugins>
	</build>
	
	<dependencies>
	    <dependency>
	        <groupId>net.md-5</groupId>
	        <artifactId>bungeecord-api</artifactId>
	        <version>1.8-SNAPSHOT</version>
	        <type>jar</type>
	        <scope>provided</scope>
	    </dependency>
	    <dependency>
	        <groupId>net.md-5</groupId>
	        <artifactId>bungeecord-api</artifactId>
	        <version>1.8-SNAPSHOT</version>
	        <type>javadoc</type>
	        <scope>provided</scope>
	    </dependency>
	    <dependency>
	    	<groupId>spigot</groupId>
	        <artifactId>spigot</artifactId>
	        <version>1.8.3</version>
	        <type>jar</type>
	        <scope>provided</scope>
	    </dependency>
	</dependencies>
</project>