Pom of com.abubusoft:kripton-parent:4.0.0

Back to com.abubusoft:kripton-parent:4.0.0

<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>

        <parent>
                <groupId>org.sonatype.oss</groupId>
                <artifactId>oss-parent</artifactId>
                <version>7</version>
                <relativePath></relativePath>
        </parent>

        <groupId>com.abubusoft</groupId>
        <artifactId>kripton-parent</artifactId>
        <version>4.0.0</version>
        <packaging>pom</packaging>
        
        <name>Kripton (Parent)</name>
        <description>Kripton persistence library - parent pom</description>
        <url>https://github.com/xcesco/kripton</url>

        <!-- common part - BEGIN -->
        <properties>
                <kripton.version>${project.version}</kripton.version>
                <kripton.debug>false</kripton.debug>
                
                <skipTests>false</skipTests>

                <!-- environment version -->
                <sourceEncoding>UTF-8</sourceEncoding>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
                <java.version>1.7</java.version>

                <!-- plugins version -->
                <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
                <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
                <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
                <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
                <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
                
                <!-- dependencies version -->
                <jackson.version>2.9.4</jackson.version>
                <retrofit.version>2.4.0</retrofit.version>
                <rx.version>2.1.12</rx.version>                
                
                <!-- test version -->
                <junit.version>4.12</junit.version>
                <unitils.version>3.4.2</unitils.version>
                <jsr305.version>3.0.1</jsr305.version>
                <guava.version>19.0</guava.version>                
                <robolectric.version>3.1.4</robolectric.version>
<!--                 <robolectric.version>3.4</robolectric.version> -->
                <roboletricAndroidAll.version>6.0.0_r1-robolectric-0</roboletricAndroidAll.version>
                
                <!-- processor libraries -->
                <javapoet.version>1.9.0</javapoet.version>
                <antlr.version>4.7</antlr.version>
        </properties>

        <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>

        <issueManagement>
                <system>GitHub Issues</system>
                <url>https://github.com/xcesco/kripton/issues</url>
        </issueManagement>

        <scm>
                <connection>scm:git:https://github.com/xcesco/kripton.git</connection>
                <developerConnection>scm:git:git@github.com:xcesco/kripton.git</developerConnection>
                <url>https://github.com/xcesco/kripton</url>
        </scm>

        <developers>
                <developer>
                        <id>xcesco</id>
                        <name>Francesco Benincasa</name>
                        <email>abubusoft@gmail.com</email>
                        <roles>
                                <role>owner</role>
                                <role>developer</role>
                        </roles>
                </developer>
        </developers>

        <profiles>
                <!--  Profile deploy -->
                <profile>
                        <id>deploy</id>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-gpg-plugin</artifactId>
                                                <version>${maven-gpg-plugin.version}</version>
                                                <executions>
                                                        <execution>
                                                                <id>sign-artifacts</id>
                                                                <phase>verify</phase>
                                                                <goals>
                                                                        <goal>sign</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>

                                        <!-- deploy on sonatype -->
                                        <plugin>
                                                <groupId>org.sonatype.plugins</groupId>
                                                <artifactId>nexus-staging-maven-plugin</artifactId>
                                                <version>${nexus-staging-maven-plugin.version}</version>
                                                <extensions>true</extensions>
                                                <configuration>
                                                        <serverId>ossrh</serverId>
                                                        <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                                                        <autoReleaseAfterClose>true</autoReleaseAfterClose>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>

                        <!-- distribution manager -->
                        <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>

                </profile>

                <!-- Profile deploy-bintra -->
                <profile>
                        <id>deploy-bintray</id>
                        <!-- distribution manager -->
                        <distributionManagement>
                                <repository>
                                        <id>bintray-xcesco-kripton</id>
                                        <name>xcesco-kripton</name>
                                        <url>https://api.bintray.com/maven/xcesco/kripton/${project.artifactId}/;publish=1</url>
                                </repository>

                        </distributionManagement>
                </profile>

                <!-- Profile release -->
                <profile>
                        <id>release</id>
                        <activation>
                                <activeByDefault>true</activeByDefault>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-javadoc-plugin</artifactId>
                                                <version>${maven-javadoc-plugin.version}</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-javadocs</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <!-- <additionalparam>-Xdoclint:none</additionalparam> -->
                                                                        <!-- <excludePackageNames>com.abubusoft.kripton.android*</excludePackageNames> -->
                                                                        <failOnError>false</failOnError>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                        </plugin>

                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-source-plugin</artifactId>
                                                <version>${maven-source-plugin.version}</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-sources</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>

                                </plugins>
                        </build>
                </profile>
        </profiles>

        <build>
                <pluginManagement>
                        <plugins>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>${maven-compiler-plugin.version}</version>
                                        <configuration>
                                                <source>${java.version}</source>
                                                <target>${java.version}</target>
                                        </configuration>
                                </plugin>
                        </plugins>
                </pluginManagement>

        </build>
        <!-- common part - END -->
</project>