<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.gurux</groupId>
 <artifactId>gurux.net</artifactId>
 <version>1.0.9</version>
 <packaging>jar</packaging>  
 <name>gurux.net.java</name>
 <url>http://www.gurux.org</url>
  <description>gurux.net.java package is used to communicate with network connection.</description>
  <developers>
    <developer>
        <id>Gurux</id>
        <name>Gurux Ltd.</name>
        <email>gurux@gurux.org</email>
        <url>http://www.gurux.org</url>
        <organization>Gurux Ltd.</organization>
        <organizationUrl>http://www.gurux.org</organizationUrl>
        <roles>
          <role>architect</role>
          <role>developer</role>
        </roles>
        <timezone>Europe/Helsinki</timezone>
        <properties>
        <picUrl>http://www.gurux.org/images/gurux-avatar.png</picUrl>
      </properties>
    </developer>
  </developers>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
<scm>
  <url>https://github.com/gurux/gurux.net.java/</url>
</scm>
 <!-- Update component to Central repository. -->
  <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>
<build>
    <plugins>
      <!-- Set used JRE version. -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <configuration>
        <source>1.7</source>
        <target>1.7</target>
        </configuration>
      </plugin>
      <!-- Generate sources. -->
      <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-source-plugin</artifactId>
		<version>2.4</version>
		<executions>
			<execution>
				<id>attach-sources</id>
				<goals>
					<goal>jar</goal>
				</goals>
			</execution>
		</executions>
	   </plugin>
    </plugins>
  </build>

 <profiles>
  <profile> 
    <id>release</id>
    <build>
      <plugins>
	    <!-- Generate java doc. -->
       <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>
       <!--  Sign the component. -->
       <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>
       <!-- Deployment and release -->
       <plugin>
         <groupId>org.sonatype.plugins</groupId>
         <artifactId>nexus-staging-maven-plugin</artifactId>
         <version>1.6.3</version>
         <extensions>true</extensions>
         <configuration>
            <serverId>ossrh</serverId>
            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
            <autoReleaseAfterClose>true</autoReleaseAfterClose>
         </configuration>
       </plugin>
      </plugins>
    </build>
  </profile>
</profiles>
  
<dependencies>
  <dependency>
	<groupId>org.gurux</groupId>
	  <artifactId>gurux.common</artifactId>
	  <version>1.0.5</version>
	</dependency>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.8.1</version>
    <scope>test</scope>
  </dependency>
</dependencies>
<licenses>
  <license>
  <name>GNU General Public License, version 2</name> 
  <url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
  </license>
</licenses>
 <organization>
 	<url>http://www.gurux.org</url>
 	<name>Gurux Ltd.</name>
</organization>
</project>