diff --git a/jigsaw-rpc-example-client/pom.xml b/jigsaw-rpc-example-client/pom.xml
index eb14d4c..a6c018f 100644
--- a/jigsaw-rpc-example-client/pom.xml
+++ b/jigsaw-rpc-example-client/pom.xml
@@ -20,7 +20,7 @@
2.7.9
protoc
thrift
- ${basedir}/src/main/resources
+ ${basedir}/src/test/resources
@@ -53,24 +53,24 @@
generate-sources
- Delete folder : ${basedir}/src/main/gen
-
- Create folder : ${basedir}/src/main/gen
-
+ Delete folder : ${basedir}/src/test/gen
+
+ Create folder : ${basedir}/src/test/gen
+
Compiling **/*.thrift files...
-
+
Compiling **/*.proto files...
-
+
@@ -83,17 +83,16 @@
org.codehaus.mojo
build-helper-maven-plugin
- 1.7
- add-source
- generate-sources
+ add-test-source
+ generate-test-sources
- add-source
+ add-test-source
- src/main/gen
+ src/test/gen
diff --git a/jigsaw-rpc-example-client/src/main/gen/org/jigsaw/payment/Hello.java b/jigsaw-rpc-example-client/src/test/gen/org/jigsaw/payment/Hello.java
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/gen/org/jigsaw/payment/Hello.java
rename to jigsaw-rpc-example-client/src/test/gen/org/jigsaw/payment/Hello.java
diff --git a/jigsaw-rpc-example-client/src/main/java/org/jigsaw/payment/rpc/hello/HelloClient.java b/jigsaw-rpc-example-client/src/test/java/org/jigsaw/payment/rpc/hello/HelloClient.java
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/java/org/jigsaw/payment/rpc/hello/HelloClient.java
rename to jigsaw-rpc-example-client/src/test/java/org/jigsaw/payment/rpc/hello/HelloClient.java
diff --git a/jigsaw-rpc-example-client/src/main/java/org/jigsaw/payment/rpc/hello/HelloClientConfig.java b/jigsaw-rpc-example-client/src/test/java/org/jigsaw/payment/rpc/hello/HelloClientConfig.java
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/java/org/jigsaw/payment/rpc/hello/HelloClientConfig.java
rename to jigsaw-rpc-example-client/src/test/java/org/jigsaw/payment/rpc/hello/HelloClientConfig.java
diff --git a/jigsaw-rpc-example-client/src/main/resources/hello.client.properties b/jigsaw-rpc-example-client/src/test/resources/hello.client.properties
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/resources/hello.client.properties
rename to jigsaw-rpc-example-client/src/test/resources/hello.client.properties
diff --git a/jigsaw-rpc-example-client/src/main/resources/hello.proto b/jigsaw-rpc-example-client/src/test/resources/hello.proto
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/resources/hello.proto
rename to jigsaw-rpc-example-client/src/test/resources/hello.proto
diff --git a/jigsaw-rpc-example-client/src/main/resources/log4j.properties b/jigsaw-rpc-example-client/src/test/resources/log4j.properties
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/resources/log4j.properties
rename to jigsaw-rpc-example-client/src/test/resources/log4j.properties
diff --git a/jigsaw-rpc-example-client/src/main/resources/logback-test.xml b/jigsaw-rpc-example-client/src/test/resources/logback-test.xml
similarity index 100%
rename from jigsaw-rpc-example-client/src/main/resources/logback-test.xml
rename to jigsaw-rpc-example-client/src/test/resources/logback-test.xml
diff --git a/jigsaw-rpc-payment/pom.xml b/jigsaw-rpc-payment/pom.xml
index 78c6e96..b6a384c 100644
--- a/jigsaw-rpc-payment/pom.xml
+++ b/jigsaw-rpc-payment/pom.xml
@@ -10,7 +10,7 @@
jigsaw-rpc-payment
jar
1.0.0-SNAPSHOT
- 支付账户和订单管理
+ jigsaw-rpc-payment
3.3.1
1.2
diff --git a/jigsaw-rpc-user/pom.xml b/jigsaw-rpc-user/pom.xml
index 2d4552f..9b27c47 100644
--- a/jigsaw-rpc-user/pom.xml
+++ b/jigsaw-rpc-user/pom.xml
@@ -10,7 +10,7 @@
jigsaw-rpc-user
jar
1.0.0-SNAPSHOT
- 用户管理
+ jigsaw-rpc-user
3.3.1
1.2
diff --git a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/BaseService.java b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/BaseService.java
index fabaa71..4a2bd58 100644
--- a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/BaseService.java
+++ b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/BaseService.java
@@ -7,7 +7,7 @@
package org.jigsaw.payment.rpc;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-30")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-09-14")
public class BaseService {
/**
diff --git a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/NotFoundException.java b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/NotFoundException.java
index 6852d9f..6bdbf07 100644
--- a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/NotFoundException.java
+++ b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/NotFoundException.java
@@ -20,7 +20,7 @@ package org.jigsaw.payment.rpc;
* key: The value passed from the client in the identifier, which was not
* found. For example, the GUID that was not found.
*/
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-30")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-09-14")
public class NotFoundException extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotFoundException");
diff --git a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/SystemException.java b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/SystemException.java
index 5adcf71..aa1dce4 100644
--- a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/SystemException.java
+++ b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/SystemException.java
@@ -21,7 +21,7 @@ package org.jigsaw.payment.rpc;
* API requests for the user until at least this many seconds have passed. Present only
* when errorCode is RATE_LIMIT_REACHED,
*/
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-30")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-09-14")
public class SystemException extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SystemException");
diff --git a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/UserException.java b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/UserException.java
index 99c58b4..1856fb7 100644
--- a/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/UserException.java
+++ b/jigsaw-thrift-protobuf/src/main/gen/org/jigsaw/payment/rpc/UserException.java
@@ -23,7 +23,7 @@ package org.jigsaw.payment.rpc;
*
* message: This may contain additional information about the error.
*/
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-30")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-09-14")
public class UserException extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserException");
diff --git a/pom.xml b/pom.xml
index 0574c8a..c037dc2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -292,7 +292,7 @@
org.codehaus.mojo
build-helper-maven-plugin
- 1.11
+ 3.0.0