1 Star 0 Fork 191

戒个和尚叫三戒/hm-tools-wxmp-adapter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 8.40 KB
一键复制 编辑 原始数据 按行查看 历史
JHybo 提交于 2020-06-06 20:27 . 开始 1.0.1
<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>top.hmtools</groupId>
<artifactId>hm-tools-wxmp-adapter</artifactId>
<version>${reversion}</version>
<name>hm-tools-wxmp-adapter</name>
<description>对微信公众号API接口的封装</description>
<url>https://wadapter.hmtools.top</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>hm-tools</name>
<email>hm-tools@hybomyth.com</email>
<organization>(神奇码农)嗨啵</organization>
<organizationUrl></organizationUrl>
</developer>
</developers>
<!-- 本配置文件中,一些变量及其值,例如依赖jar包版本号 -->
<properties>
<reversion>1.0.1-SNAPSHOT</reversion>
<!-- 文件拷贝时的编码 -->
<hm.encoding>UTF-8</hm.encoding>
<project.build.sourceEncoding>${hm.encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${hm.encoding}</project.reporting.outputEncoding>
<!-- 编译时的编码 -->
<maven.compiler.encoding>${hm.encoding}</maven.compiler.encoding>
<java.version>1.7</java.version>
<jdk.version>${java.version}</jdk.version>
</properties>
<scm>
<connection>https://gitee.com/hm-tools/hm-tools-wxmp-adapter.git</connection>
<url>https://gitee.com/hm-tools/hm-tools-wxmp-adapter.git</url>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.11.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.60</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.jsonzou</groupId>
<artifactId>jmockdata</artifactId>
<version>4.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.9</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- 配置远程发布到中央仓库,mvn deploy -->
<distributionManagement>
<snapshotRepository>
<id>${snapshotRepositoryId}</id><!-- 必须同 setting.xml 中的 server配置项目中的 id
一致,否则会报401错误 -->
<url>${snapshotRepositoryUrl}</url>
</snapshotRepository>
<repository>
<id>${repositoryId}</id><!-- 必须同 setting.xml 中的 server配置项目中的 id 一致,否则会报401错误 -->
<url>${repositoryUrl}</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- 解决maven test命令时console出现中文乱码乱码 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>once</forkMode>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
</plugin>
<!-- 配置编译时所需要的JDK版本,默认是1.5版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<compilerVersion>1.7</compilerVersion>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- 配置发布本工程到私服的插件。执行方式:选择本工程==》鼠标右键==》run as ==》 maven build ==》 deploy
-e ==》右下角的 run -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<!-- 要将源码放上去,需要加入这个插件 deploy -e 执行时,同时发布源代码到nexus私服 -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 生成JavaDoc包(API文档) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--################################# 此段插件代码块禁止发布 gitee.com start############### -->
<!-- maven gpg 自动签名插件,发布jar包到maven中央库,需要对文件进行gpg加密传输,加入此段代码后,先要在本机安装Kleopatra软件,使用Kleopatra先生成一对RSA密钥,
并发布密钥到服务器(gpg服务器)。 执行 verify -Dgpg.passphrase=thephrase 细节参见官方教程:http://maven.apache.org/plugins/maven-gpg-plugin/usage.html -->
<!-- -->
<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>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<properties>
<snapshotRepositoryId>ossrh</snapshotRepositoryId>
<snapshotRepositoryUrl>https://oss.sonatype.org/content/repositories/snapshots/</snapshotRepositoryUrl>
<repositoryId>ossrh</repositoryId>
<repositoryUrl>https://oss.sonatype.org/service/local/staging/deploy/maven2/</repositoryUrl>
</properties>
</profile>
<profile>
<id>local</id>
<properties>
<snapshotRepositoryId>snapshots</snapshotRepositoryId>
<snapshotRepositoryUrl>http://192.168.0.54:8080/nexus/content/repositories/snapshots/</snapshotRepositoryUrl>
<repositoryId>releases</repositoryId>
<repositoryUrl>http://192.168.0.54:8080/nexus/content/repositories/releases/</repositoryUrl>
</properties>
</profile>
</profiles>
<packaging>pom</packaging>
<modules>
<module>wxmp-core</module>
<module>wxmp-menu</module>
<module>wxmp-webpage</module>
<module>wxmp-material</module>
<module>wxmp-user</module>
<module>wxmp-account</module>
<module>wxmp-comment</module>
<module>wxmp-message</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-core</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-account</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-comment</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-material</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-menu</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-message</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-user</artifactId>
<version>${reversion}</version>
</dependency>
<dependency>
<groupId>top.hmtools</groupId>
<artifactId>wxmp-webpage</artifactId>
<version>${reversion}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/LevelCoder/hm-tools-wxmp-adapter.git
git@gitee.com:LevelCoder/hm-tools-wxmp-adapter.git
LevelCoder
hm-tools-wxmp-adapter
hm-tools-wxmp-adapter
master

搜索帮助