nox-boot-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.watertreestar</groupId>
<artifactId>nox-boot-parent</artifactId>
<version>1.0-RELEASE</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>
<name>nox-boot-parent</name>
<groupId>com.github.watertreestar</groupId>
<artifactId>nox-boot-parent</artifactId>
<version>1.0-RELEASE</version>
<packaging>pom</packaging>
<url>https://github.com/watertreestar/nox-boot-parent</url>
<description>A public parent pom for dependency and plugin management</description>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<org.springframework.version>4.3.3.RELEASE</org.springframework.version>
<spring.batch.version>3.0.7.RELEASE</spring.batch.version>
<spring.security.version>4.1.3.RELEASE</spring.security.version>
<aspectj.aspectjweaver.version>1.8.10</aspectj.aspectjweaver.version>
<net.sf.dozer.version>5.3.2</net.sf.dozer.version>
<net.sf.ezmorph.version>1.0.6</net.sf.ezmorph.version>
<net.sf.json.lib.version>2.3</net.sf.json.lib.version>
<lombok.version>1.18.8</lombok.version>
<!-- 1.7.11.RELEASE/1.8.3.RELEASE -->
<spring.redis.version>1.7.11.RELEASE</spring.redis.version>
<!-- 2.8.1/2.9.0 -->
<jedis.version>2.8.1</jedis.version>
<ehcache.version>2.6.8</ehcache.version>
<!-- job -->
<quartz.version>2.3.0</quartz.version>
<cglib.version>2.2</cglib.version>
<org.nutz.version>1.r.59</org.nutz.version>
<com.lmax.disruptor.version>3.3.6</com.lmax.disruptor.version>
<google.inject.guice.version>3.0</google.inject.guice.version>
<google.guava.version>27.0.1-jre</google.guava.version>
<google.code.gson.version>2.2.4</google.code.gson.version>
<reactivex.rxjava2.version>2.1.0</reactivex.rxjava2.version>
<bitwalker.UserAgentUtils.version>1.19</bitwalker.UserAgentUtils.version>
<nurkiewicz.asyncretry.version>0.0.7</nurkiewicz.asyncretry.version>
<apache.commons.math3.version>3.3</apache.commons.math3.version>
<apache.commons.pool2.version>2.2</apache.commons.pool2.version>
<apache.commons.codec.version>1.10</apache.commons.codec.version>
<apache.commons.beanutils.version>1.9.2</apache.commons.beanutils.version>
<apache.commons.fileupload.version>1.3.1</apache.commons.fileupload.version>
<apache.commons.lang3.version>3.9</apache.commons.lang3.version>
<commons.collections.version>3.2.1</commons.collections.version>
<commons.codec.version>1.10</commons.codec.version>
<commons.io.version>2.5</commons.io.version>
<commons.collections4.version>4.0</commons.collections4.version>
<javax.api.version>2.5</javax.api.version>
<javax.servlet.api.version>3.1.0</javax.servlet.api.version>
<javax.servlet.jsp.api.version>2.3.1</javax.servlet.jsp.api.version>
<javax.servlet.jsp.version>2.2</javax.servlet.jsp.version>
<javax.servlet.jstl.version>1.2</javax.servlet.jstl.version>
<javax.el.api.version>2.2.4</javax.el.api.version>
<org.glassfish.web.javax.el.version>2.2.4</org.glassfish.web.javax.el.version>
<taglibs.standard.version>1.1.2</taglibs.standard.version>
<org.freemarker-version>2.3.28</org.freemarker-version>
<apache.velocity.version>1.7</apache.velocity.version>
<apache.velocity.tools.version>2.0</apache.velocity.tools.version>
<zkclient.version>0.7</zkclient.version>
<org.apache.zookeeper.version>3.4.7</org.apache.zookeeper.version>
<github.sgroschupf.zkclient.version>0.1</github.sgroschupf.zkclient.version>
<apache.curator.version>3.2.0</apache.curator.version>
<com.chinapay.netpayclient.version>2.0</com.chinapay.netpayclient.version>
<joda.time.version>2.3</joda.time.version>
<joda.money.version>0.9.1</joda.money.version>
<org.codehaus.castor.version>1.3.3</org.codehaus.castor.version>
<org.hibernate.validator.version>5.3.5.Final</org.hibernate.validator.version>
<javax.validator.version>1.1.0.Final</javax.validator.version>
<!-- DB -->
<org.mybatis.version>3.3.0</org.mybatis.version>
<org.mybatis.spring.version>1.2.3</org.mybatis.spring.version>
<mysql.connector.java.version>8.0.11</mysql.connector.java.version>
<pagehelper.version>4.1.2</pagehelper.version>
<aopalliance.version>1.0</aopalliance.version>
<jetty.eclipse.server.version>9.3.6.v20151106</jetty.eclipse.server.version>
<slf4j.version>1.7.25</slf4j.version>
<logback.version>1.2.3</logback.version>
<logback.ext.spring.version>0.1.4</logback.ext.spring.version>
<fasterxml.jackson.version>2.9.5</fasterxml.jackson.version>
<jackson.asl.version>1.9.13</jackson.asl.version>
<jcraft.jsch.version>0.1.50</jcraft.jsch.version>
<jboss.netty.version>3.2.5.Final</jboss.netty.version>
<io.netty.version>4.1.9.Final</io.netty.version>
<eclipse.jetty.version>9.4.2.v20170220</eclipse.jetty.version>
<jboss.logging.version>3.3.0.Final</jboss.logging.version>
<alibaba.druid.version>1.1.16</alibaba.druid.version>
<alibaba.rocketmq.version>3.2.6</alibaba.rocketmq.version>
<alibaba.fastjson.version>1.2.58</alibaba.fastjson.version>
<alibaba.dubbo.version>2.8.4</alibaba.dubbo.version>
<brave.dubbo.version>1.0.0-SNAPSHOT</brave.dubbo.version>
<httpclient.version>4.5.1</httpclient.version>
<javassist.version>3.18.2-GA</javassist.version>
<persistence.api.version>1.0.2</persistence.api.version>
<junit.version>4.12</junit.version>
<mockito.all.version>1.10.19</mockito.all.version>
<mockito.core.version>2.8.47</mockito.core.version>
<testng.version>6.8.7</testng.version>
<org.jmock.version>2.5.1</org.jmock.version>
<org.easymock.version>3.0</org.easymock.version>
<swagger.core.version>1.5.8</swagger.core.version>
<springfox.swagger.version>2.4.0</springfox.swagger.version>
<hystrix.version>1.5.4</hystrix.version>
<hystrix-metrics-event-stream.version>1.5.4</hystrix-metrics-event-stream.version>
<skip.maven.deploy>false</skip.maven.deploy>
<skipTest>true</skipTest>
<!-- maven插件版本号 -->
<maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.surefire.plugin.version>2.20</maven.surefire.plugin.version>
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
<maven.eclipse.plugin.version>2.10</maven.eclipse.plugin.version>
<maven.codehaus.mojo.version>2.2</maven.codehaus.mojo.version>
<maven.codehaus.sonar.version>4.5.7</maven.codehaus.sonar.version>
<maven.assembly.plugin.version>3.0.0</maven.assembly.plugin.version>
<maven.release.plugin.version>2.5.3</maven.release.plugin.version>
<maven.lombok.plugin.version>1.16.6.1</maven.lombok.plugin.version>
<maven.resources.plugin.version>2.5</maven.resources.plugin.version>
<maven.scm.plugin.version>1.9.5</maven.scm.plugin.version>
<!-- 需要 ${env} -->
<maven.war.plugin.version>2.2</maven.war.plugin.version>
<!--Sonar-->
<jacoco.maven.version>0.7.9</jacoco.maven.version>
<jetty.maven.plugin.version>9.2.9.v20150224</jetty.maven.plugin.version>
<!-- 可重写覆盖项 -->
<sonar.java.binaries>${basedir}/target/classes/</sonar.java.binaries>
<jetty.port>8212</jetty.port>
<jetty.logger.level>DEBUG</jetty.logger.level>
<version-maven-javadoc-plugin>2.10.4</version-maven-javadoc-plugin>
<version-maven-source-plugin>2.2.1</version-maven-source-plugin>
</properties>
<build>
<pluginManagement>
<plugins>
<!-- 必须配置GPG插件用于使用以下配置对组件进行签名 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 编译源代码 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<skip>${skipTest}</skip>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${file.encoding}</encoding>
<compilerVersion>${java.version}</compilerVersion>
</configuration>
</plugin>
<!-- 发布插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin.version}</version>
<configuration>
<skip>${skip.maven.deploy}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven.eclipse.plugin.version}</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<ajdtVersion>none</ajdtVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin.version}</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${maven.codehaus.mojo.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<forkMode>once</forkMode>
<skip>${skipTest}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.plugin.version}</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>${maven.lombok.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${maven.codehaus.sonar.version}</version>
<executions>
<execution>
<id>sonar</id>
<phase>site</phase>
<goals>
<goal>sonar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.maven.plugin.version}</version>
<configuration>
<httpConnector>
<port>${jetty.port}</port>
</httpConnector>
<scanIntervalSeconds>0</scanIntervalSeconds>
<systemProperties>
<systemProperty>
<name>org.eclipse.jetty.LEVEL</name>
<value>${jetty.logger.level}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
<!-- maven-scm 支持 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven.scm.plugin.version}</version>
<configuration>
<connectionType>developerConnection</connectionType>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>nexus</id>
<properties>
<nexus.maven.url>nexus.young.com</nexus.maven.url>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>nexus-snapshots</id>
<url>http://${nexus.maven.url}/repository/maven-public/</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<!-- 个人发布仓库 distributionManagement -->
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Snapshots Repository</name>
<url>http://${nexus.maven.url}/repository/snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus-releases</id>
<name>nexus repository</name>
<url>http://${nexus.maven.url}/repository/releases/</url>
</repository>
</distributionManagement>
</profile>
<!--
由于生成javadoc和源jar以及使用GPG签署组件是一个相当耗时的过程,因此这些执行通常与正常的构建配置隔离并移动到配置文件中。
然后,在通过激活配置文件执行部署时,将使用此配置文件。
-->
<profile>
<id>sonatype-oss-nexus</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
<message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and
checksums respectively.
</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-nexus-release</id>
<name>Sonatype Nexus release</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
<licenses>
<!-- Apache许可证 -->
<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>
<!-- SCM信息 -->
<scm>
<url>https://github.com/watertreestar/nox-boot-parent</url>
<connection>scm:https://github.com/watertreestar/nox-boot-parent.git</connection>
<developerConnection>scm:https://github.com/watertreestar/nox-boot-parent.git</developerConnection>
<tag>HEAD</tag>
</scm>
<!-- 开发者信息 -->
<developers>
<developer>
<name>young</name>
<email>watertreestar@gmail.com</email>
<url>https://github.com/watertreestar</url>
<roles>
<role>software engineer</role>
</roles>
</developer>
</developers>
</project>