<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>org.jimmutable</groupId>
  <artifactId>aws</artifactId>
  <version>0.0.5</version>
  <packaging>jar</packaging>

  <name>aws</name>
  <description>The aws classes of the jimmutable project</description>
  <url>http://www.jimmutable.org</url>
  
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://unlicense.org/index.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  
  <developers>
		<developer>
			<id>jim.kane</id>
			<name>James H. Kane Jr.</name>
			<email>jim.kane@jimmutable.org</email>
			<organization>jimmutable.org</organization>
			<organizationUrl>http://www.jimmutable.org</organizationUrl>
			<roles>
				<role>Project-Administrator</role>
				<role>Developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>
	
	 
  <!-- http://central.sonatype.org/pages/apache-maven.html -->
  <distributionManagement>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
    <repository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
</distributionManagement>

<scm>
	<url>https://github.com/jim-kane/jimmutable</url>
	<connection>scm:git:git://github.com/jim-kane/jimmutable.git</connection>
	<developerConnection>scm:git:git@github.com:jim-kane/jimmutable.git</developerConnection>
</scm>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
    	<groupId>org.jimmutable</groupId>
    	<artifactId>core</artifactId>
    	<version>0.0.5</version>
    </dependency>
    
    <dependency>
    <groupId>com.amazonaws</groupId>
    <artifactId>aws-java-sdk</artifactId>
    <version>1.11.154</version>
  	</dependency>
  	
  	<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-api</artifactId>
    <version>2.8.2</version>
  </dependency>
  <dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.8.2</version>
  </dependency>
    
  </dependencies>
  
  <build>
  <plugins>
<plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-source-plugin</artifactId>
      <version>2.2.1</version>
      <executions>
        <execution>
          <id>attach-sources</id>
          <goals>
            <goal>jar-no-fork</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-javadoc-plugin</artifactId>
      <version>2.9.1</version>
      <executions>
        <execution>
          <id>attach-javadocs</id>
          <goals>
            <goal>jar</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
    <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>1.5</version>
          <executions>
            <execution>
              <id>sign-artifacts</id>
              <phase>verify</phase>
              <goals>
                <goal>sign</goal>
              </goals>
            </execution>
          </executions>
    </plugin>
    <plugin>
      <groupId>org.sonatype.plugins</groupId>
      <artifactId>nexus-staging-maven-plugin</artifactId>
      <version>1.6.7</version>
      <extensions>true</extensions>
      <configuration>
         <serverId>ossrh</serverId>
         <nexusUrl>https://oss.sonatype.org/</nexusUrl>
         <autoReleaseAfterClose>true</autoReleaseAfterClose>
      </configuration>
</plugin>
<plugin>
	<artifactId>maven-jar-plugin</artifactId>
	<version>2.4</version>
	
	<configuration>
		<archive>
		<manifest>
			<mainClass>org.jimmutable.aws.App</mainClass>
		</manifest>
		</archive>
	</configuration>
	
	<executions>
		<execution>
		<id>default-jar</id>
		<phase>package</phase>
		<goals>
			<goal>jar</goal>
		</goals>
	  </execution>
	</executions>
</plugin>

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
  
  	<descriptorRefs>
    	<descriptorRef>jar-with-dependencies</descriptorRef>
    </descriptorRefs>
  
    <archive>
      <manifest>
        <mainClass>org.jimmutable.aws.App</mainClass>
      </manifest>
    </archive>
  </configuration>
  <executions>
     <execution>
       <id>make-assembly</id> <!-- this is used for inheritance merges -->
       <phase>package</phase> <!-- bind to the packaging phase -->
       <goals>
         <goal>single</goal>
       </goals>
     </execution>
   </executions>
</plugin>


<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <version>2.1</version>
  <configuration>
    <source>1.8</source>
    <target>1.8</target>
  </configuration>
</plugin>

</plugins>
</build>


</project>
