maven-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>cn.torna</groupId> <artifactId>maven-test</artifactId> <version>0.0.1</version> </dependency>
<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>cn.torna</groupId> <artifactId>maven-test</artifactId> <version>0.0.1</version> <packaging>jar</packaging> <name>maven-test</name> <description>test push maven</description> <url>http://gitee.com/durcframework/maven-test</url> <licenses> <license> <name>MIT</name> <url>https://mit-license.org/</url> </license> </licenses> <developers> <developer> <name>durcframework</name> <email>thc8719@163.com</email> <organization>oschina</organization> <organizationUrl>https://gitee.com/durcframework/maven-test</organizationUrl> </developer> </developers> <scm> <connection>scm:git:https://gitee.com/durcframework/maven-test.git</connection> <developerConnection>scm:git:https://gitee.com/durcframework/maven-test.git</developerConnection> <url>https://gitee.com/durcframework/maven-test.git</url> <tag>HEAD</tag> </scm> <properties> <!-- Generic properties --> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- Spring --> <spring-framework.version>4.3.2.RELEASE</spring-framework.version> <!-- Logging --> <logback.version>1.0.13</logback.version> <slf4j.version>1.7.5</slf4j.version> <!-- Test --> <junit.version>4.11</junit.version> <fastjson.version>1.2.15</fastjson.version> <commons-io.version>2.5</commons-io.version> <commons-fileupload.version>1.3.3</commons-fileupload.version> <xstream.version>1.4.7</xstream.version> <velocity.version>1.7</velocity.version> <hibernate-validator.version>6.0.10.Final</hibernate-validator.version> <oltu.version>0.31</oltu.version> <jwt.version>3.2.0</jwt.version> <guava.version>18.0</guava.version> <spring-data-redis.version>1.8.8.RELEASE</spring-data-redis.version> <netty.version>4.1.25.Final</netty.version> <jboss-marshalling-serial.version>2.0.5.Final</jboss-marshalling-serial.version> <itextpdf.version>5.5.12</itextpdf.version> <xmlworker.version>5.5.8</xmlworker.version> <itext-asian.version>5.2.0</itext-asian.version> <asm.version>6.2</asm.version> <commons-codec.version>1.11</commons-codec.version> </properties> <dependencies> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>${fastjson.version}</version> </dependency> </dependencies> <!-- https://oss.sonatype.org/content/repositories/releases/net/oschina/durcframework/maven-test/ --> <!-- 本地构建注释这个distributionManagement --> <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-surefire-plugin</artifactId> <version>2.18.1</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.version}</source> <target>${java.version}</target> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- 以下都为上传jar默认配置不做修改, 本地构建注释这些plugin--> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.3</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- 以上都为上传jar默认配置不做修改, 本地构建注释这些plugin--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</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>2.9</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <!-- JDK8必须使用下面的配置 --> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>