<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>io.github.amaasch</groupId>
  <artifactId>jfuzzydate</artifactId>
  <version>0.3.0</version>
  <name>jFuzzyDate</name>
  <description>Converts date, time and durations to more human readable string.	</description>
  <url>https://github.com/amaasch/jFuzzyDate</url>
  <issueManagement>
  	<system>GitHub Issues</system>
  	<url>https://github.com/amaasch/jFuzzyDate/issues</url>
  </issueManagement>
  <developers>
  	<developer>
  		<id>amaasch</id>
  		<name>Alexander Maasch</name>
  	</developer>
  </developers>
  <reporting>
  	<plugins>
  		<plugin>
  			<groupId>org.apache.maven.plugins</groupId>
  			<artifactId>maven-javadoc-plugin</artifactId>
  			<version>2.6.1</version>
  			 <reportSets>
          		<reportSet>
					<id>html</id>
					<configuration>
						<doctitle>${project.name} ${project.version} API</doctitle>
              			<windowtitle>${project.name} ${project.version} API</windowtitle>
					</configuration>
					<reports>
						<report>javadoc</report>
					</reports>
				</reportSet>
			</reportSets>
  		</plugin>
  	</plugins>
  </reporting>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>8</maven.compiler.source>
    <maven.compiler.target>8</maven.compiler.target>
  </properties>
  <scm>
  	<connection>scm:git:https://github.com/amaasch/jFuzzyDate.git</connection>
  	<developerConnection>scm:git:git@github.com:amaasch/jFuzzyDate.git</developerConnection>
  	<url>https://github.com/amaasch/jFuzzyDate</url>
  </scm>
  <licenses>
  <license>
    <name>LGPL</name>
    <url>http://www.gnu.org/licenses/lgpl.txt</url>
    <distribution>repo</distribution>
    <comments>GNU Lesser General Public License</comments>
  </license>
</licenses>
  <organization>
  	<name>jFuzzyDate Project</name>
  	<url>https://github.com/amaasch/jFuzzyDate</url>
  </organization>
  <build>
  	<plugins>
  		<plugin>
  			<artifactId>maven-compiler-plugin</artifactId>
  			<version>3.13.0</version>
  		</plugin>

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2.2</version>
      </plugin>

  	</plugins>
  </build>
  <repositories>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
    	<groupId>org.jmock</groupId>
    	<artifactId>jmock</artifactId>
    	<version>2.5.1</version>
    	<scope>test</scope>
    </dependency>
  </dependencies>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <version>3.3.1</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals><goal>jar-no-fork</goal></goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>3.10.1</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals><goal>jar</goal></goals>
                <configuration>
                  <source>8</source>
                  <doclint>none</doclint>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>3.2.7</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals><goal>sign</goal></goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>central-deploy</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.central</groupId>
            <artifactId>central-publishing-maven-plugin</artifactId>
            <version>0.7.0</version>
            <extensions>true</extensions>
            <configuration>
              <publishingServerId>central</publishingServerId>
              <autoPublish>true</autoPublish>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>