Pom of com.appslandia:appslandia-common:3.4

Back to com.appslandia:appslandia-common:3.4

<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>com.appslandia</groupId>
        <artifactId>appslandia-common</artifactId>
        <version>3.4</version>

        <name>appslandia-common</name>
        <packaging>jar</packaging>
        <description>AppsLandia Common - Java Utilities</description>
        <url>https://github.com/haducloc/appslandia-common</url>

        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

                <version.maven-compiler-plugin>3.7.0</version.maven-compiler-plugin>
                <version.maven-jar-plugin>3.0.2</version.maven-jar-plugin>
                <version.maven-source-plugin>3.0.1</version.maven-source-plugin>
                <version.maven-javadoc-plugin>3.0.0</version.maven-javadoc-plugin>
                <version.maven-gpg-plugin>1.6</version.maven-gpg-plugin>
                <version.nexus-staging-maven-plugin>1.6.8</version.nexus-staging-maven-plugin>

                <version.gson>2.8.2</version.gson>
                <version.javaee-api>7.0</version.javaee-api>

                <version.junit>4.12</version.junit>
                <version.javax-el>3.0.1-b09</version.javax-el>
                <version.hibernate-validator>5.4.1.Final</version.hibernate-validator>
        </properties>

        <licenses>
                <license>
                        <name>MIT License</name>
                        <url>https://github.com/haducloc/appslandia-common/blob/master/LICENSE</url>
                        <distribution>repo</distribution>
                </license>
        </licenses>

        <developers>
                <developer>
                        <name>Loc Ha</name>
                        <email>haducloc13@gmail.com</email>
                        <url>https://github.com/haducloc/appslandia-common</url>
                </developer>
        </developers>

        <scm>
                <connection>scm:git:https://github.com/haducloc/appslandia-common.git</connection>
                <developerConnection>scm:git:https://github.com/haducloc/appslandia-common.git</developerConnection>
                <url>https://github.com/haducloc/appslandia-common.git</url>
        </scm>

        <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>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>${version.maven-compiler-plugin}</version>
                                <configuration>
                                        <source>1.8</source>
                                        <target>1.8</target>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                                <version>${version.maven-jar-plugin}</version>
                                <configuration>
                                        <archive>
                                                <addMavenDescriptor>true</addMavenDescriptor>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>

        <profiles>
                <profile>
                        <id>release</id>
                        <activation>
                                <property>
                                        <name>release</name>
                                </property>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-source-plugin</artifactId>
                                                <version>${version.maven-source-plugin}</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>${version.maven-javadoc-plugin}</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-javadocs</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>

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

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

        <dependencies>
                <dependency>
                        <groupId>com.google.code.gson</groupId>
                        <artifactId>gson</artifactId>
                        <version>${version.gson}</version>
                        <scope>provided</scope>
                </dependency>

                <dependency>
                        <groupId>javax</groupId>
                        <artifactId>javaee-api</artifactId>
                        <version>${version.javaee-api}</version>
                        <scope>provided</scope>
                </dependency>

                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>${version.junit}</version>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-validator</artifactId>
                        <version>${version.hibernate-validator}</version>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.glassfish</groupId>
                        <artifactId>javax.el</artifactId>
                        <version>${version.javax-el}</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
</project>