自定义assembly,在weixin4j-mp-api打包时也把weixin4j-base工程一起包含
This commit is contained in:
parent
ef39c25f66
commit
f93719de2f
@ -52,7 +52,7 @@ weixin4j
|
|||||||
|
|
||||||
+ **weixin-base**: 删除`WeixinConfig`类只保留`WeixinAccount`类
|
+ **weixin-base**: 删除`WeixinConfig`类只保留`WeixinAccount`类
|
||||||
|
|
||||||
+ **weixin-mp**: 新增`退款接口`
|
+ **weixin-mp**: 新增V3版本`退款接口`
|
||||||
|
|
||||||
* 2014-11-08
|
* 2014-11-08
|
||||||
|
|
||||||
@ -60,6 +60,10 @@ weixin4j
|
|||||||
|
|
||||||
+ **weixin-mp**: 新增一个简单的`语义理解`接口
|
+ **weixin-mp**: 新增一个简单的`语义理解`接口
|
||||||
|
|
||||||
|
* 2014-11-11
|
||||||
|
|
||||||
|
+ **weixin-mp**: 自定义`assembly`将`weixin4j-base`工程也一起打包(`weixin4j-mp-api-full.jar`)
|
||||||
|
|
||||||
接下来
|
接下来
|
||||||
------
|
------
|
||||||
* 公众号智能接口
|
* 公众号智能接口
|
||||||
|
|||||||
56
pom.xml
56
pom.xml
@ -53,22 +53,54 @@
|
|||||||
<commons.lang.version>3.3.2</commons.lang.version>
|
<commons.lang.version>3.3.2</commons.lang.version>
|
||||||
<commons.codec.version>1.9</commons.codec.version>
|
<commons.codec.version>1.9</commons.codec.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<maven.source.plugin.version>2.4</maven.source.plugin.version>
|
||||||
|
<maven.compiler.plugin.version>3.0</maven.compiler.plugin.version>
|
||||||
|
<maven.resources.plugin.version>2.6</maven.resources.plugin.version>
|
||||||
|
<maven.jar.plugin.version>2.5</maven.jar.plugin.version>
|
||||||
|
<maven.assembly.plugin.version>2.5.1</maven.assembly.plugin.version>
|
||||||
|
<maven.javadoc.plugin.version>2.10.1</maven.javadoc.plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>${maven.compiler.plugin.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.7</source>
|
<source>1.7</source>
|
||||||
<target>1.7</target>
|
<target>1.7</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<version>3.0</version>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>${maven.resources.plugin.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -76,7 +108,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven.jar.plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-jar</id>
|
<id>default-jar</id>
|
||||||
@ -99,6 +131,24 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/java</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.md</include>
|
||||||
|
<include>**/*.xml</include>
|
||||||
|
<include>**/*.properties</include>
|
||||||
|
<include>**/*.pem</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*.xml</include>
|
||||||
|
<include>*.properties</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -52,10 +52,14 @@ weixin4j-mp
|
|||||||
|
|
||||||
* 2014-11-06
|
* 2014-11-06
|
||||||
|
|
||||||
+ **weixin-mp-api**: 新增`退款接口`
|
+ **weixin-mp-api**: 新增V3版本`退款接口`
|
||||||
|
|
||||||
* 2014-11-08
|
* 2014-11-08
|
||||||
|
|
||||||
+ **weixin-mp-api**: 新增V2版本`退款申请`、`退款查询`、`对账单下载`三个接口
|
+ **weixin-mp-api**: 新增V2版本`退款申请`、`退款查询`、`对账单下载`三个接口
|
||||||
|
|
||||||
+ **weixin-mp-api**: 新增一个简单的`语义理解`接口
|
+ **weixin-mp-api**: 新增一个简单的`语义理解`接口
|
||||||
|
|
||||||
|
* 2014-11-11
|
||||||
|
|
||||||
|
+ **weixin-mp-api**: 自定义`assembly`将`weixin4j-base`工程也一起打包(`weixin4j-mp-api-full.jar`)
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.5.1</version>
|
<version>${maven.assembly.plugin.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>src/main/assembly.xml</descriptor>
|
<descriptor>src/main/assembly.xml</descriptor>
|
||||||
|
|||||||
@ -93,10 +93,14 @@ weixin.properties说明
|
|||||||
|
|
||||||
* 2014-11-06
|
* 2014-11-06
|
||||||
|
|
||||||
+ 新增`退款申请`接口
|
+ 新增V3版本`退款申请`接口
|
||||||
|
|
||||||
* 2014-11-08
|
* 2014-11-08
|
||||||
|
|
||||||
+ 新增V2版本`退款申请`、`退款查询`、`对账单下载`三个接口
|
+ 新增V2版本`退款申请`、`退款查询`、`对账单下载`三个接口
|
||||||
|
|
||||||
+ 新增一个简单的`语义理解`接口
|
+ 新增一个简单的`语义理解`接口
|
||||||
|
|
||||||
|
* 2014-11-11
|
||||||
|
|
||||||
|
+ 自定义`assembly`将`weixin4j-base`工程也一起打包(`weixin4j-mp-api-full.jar`)
|
||||||
@ -14,6 +14,12 @@
|
|||||||
<description>微信公众号API</description>
|
<description>微信公众号API</description>
|
||||||
<build>
|
<build>
|
||||||
<finalName>weixin4j-mp-api</finalName>
|
<finalName>weixin4j-mp-api</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
31
weixin4j-mp/weixin4j-mp-api/src/main/assembly.xml
Normal file
31
weixin4j-mp/weixin4j-mp-api/src/main/assembly.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<assembly
|
||||||
|
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||||
|
<id>full</id>
|
||||||
|
<formats>
|
||||||
|
<format>jar</format>
|
||||||
|
</formats>
|
||||||
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<directory>target/classes</directory>
|
||||||
|
<outputDirectory>/</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>/**</include>
|
||||||
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exclude>*.properties</exclude>
|
||||||
|
<exclude>*.xml</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
<dependencySets>
|
||||||
|
<dependencySet>
|
||||||
|
<unpack>true</unpack>
|
||||||
|
<includes>
|
||||||
|
<include>com.foxinmy.weixin4j:weixin4j-base</include>
|
||||||
|
</includes>
|
||||||
|
</dependencySet>
|
||||||
|
</dependencySets>
|
||||||
|
</assembly>
|
||||||
@ -9,12 +9,12 @@
|
|||||||
<dependencySets>
|
<dependencySets>
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<useProjectArtifact>true</useProjectArtifact>
|
<useProjectArtifact>true</useProjectArtifact>
|
||||||
<outputDirectory>lib</outputDirectory>
|
<outputDirectory>/lib</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>com.foxinmy.weixin4j.mp</directory>
|
<directory>com/foxinmy/weixin4j/mp</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.md</include>
|
<include>**/*.md</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user