<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.github.os72</groupId>
  <artifactId>protoc</artifactId>
  <packaging>pom</packaging>
  <version>3.7.0</version>
  <name>protoc</name>
  <url>https://github.com/os72/protoc-jar</url>
  <description>Protocol Buffers compiler - executable</description>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>9</version>
  </parent>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>os72</id>
      <name>Oliver Suciu</name>
    </developer>
    <developer>
      <id>kjopek</id>
      <name>kjopek</name>
    </developer>
    <developer>
      <id>siepkes</id>
      <name>Jasper Siepkes</name>
    </developer>
  </developers>

  <scm>
    <connection>scm:git:git@github.com:os72/protoc-jar.git</connection>
    <developerConnection>scm:git:git@github.com:os72/protoc-jar.git</developerConnection>
    <url>git@github.com:os72/protoc-jar.git</url>
  </scm>

  <dependencies>
    <!-- test -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.8</version>
        <executions>
          <execution>
            <id>attach-artifacts</id>
            <phase>package</phase>
            <goals>
              <goal>attach-artifact</goal>
            </goals>
            <configuration>
              <artifacts>
                <artifact>
                  <file>protoc-3.7.0-freebsd-x86_64.exe</file>
                  <classifier>freebsd-x86_64</classifier>
                  <type>exe</type>
                </artifact>
                <artifact>
                  <file>protoc-3.7.0-linux-x86_64.exe</file>
                  <classifier>linux-x86_64</classifier>
                  <type>exe</type>
                </artifact>
                <artifact>
                  <file>protoc-3.7.0-osx-x86_64.exe</file>
                  <classifier>osx-x86_64</classifier>
                  <type>exe</type>
                </artifact>
                <artifact>
                  <file>protoc-3.7.0-sunos-x86_64.exe</file>
                  <classifier>sunos-x86_64</classifier>
                  <type>exe</type>
                </artifact>
                <artifact>
                  <file>protoc-3.7.0-windows-x86_64.exe</file>
                  <classifier>windows-x86_64</classifier>
                  <type>exe</type>
                </artifact>
              </artifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
