From 2fbdf151682187392bc00d5437f3b9f4889ecb14 Mon Sep 17 00:00:00 2001 From: bwcx_jzy Date: Sun, 18 Dec 2022 15:30:25 +0800 Subject: [PATCH] Prepare transport --- CHANGELOG.2.10.md | 3 +- .../agent-transport-common/pom.xml | 45 +++++ .../top/jpom/transport/TransportServer.java | 30 +++ modules/agent-transport/pom.xml | 185 ++++++++++++++++++ pom.xml | 1 + 5 files changed, 263 insertions(+), 1 deletion(-) create mode 100644 modules/agent-transport/agent-transport-common/pom.xml create mode 100644 modules/agent-transport/agent-transport-common/src/main/java/top/jpom/transport/TransportServer.java create mode 100644 modules/agent-transport/pom.xml diff --git a/CHANGELOG.2.10.md b/CHANGELOG.2.10.md index 9da28d559..6b3475544 100644 --- a/CHANGELOG.2.10.md +++ b/CHANGELOG.2.10.md @@ -67,4 +67,5 @@ 6. 复制项目 7. 测命令行参数 8. 资产管理 -9. ~~标签页缓存问题(定时器未清空)~~ \ No newline at end of file +9. ~~标签页缓存问题(定时器未清空)~~ +10. 发布到指定目录 \ No newline at end of file diff --git a/modules/agent-transport/agent-transport-common/pom.xml b/modules/agent-transport/agent-transport-common/pom.xml new file mode 100644 index 000000000..5f18fc64f --- /dev/null +++ b/modules/agent-transport/agent-transport-common/pom.xml @@ -0,0 +1,45 @@ + + + + 4.0.0 + + io.jpom.agent-transport + jpom-agent-transport-parent + 2.9.21 + ../pom.xml + + + agent-transport-common + + + 8 + 8 + UTF-8 + + + diff --git a/modules/agent-transport/agent-transport-common/src/main/java/top/jpom/transport/TransportServer.java b/modules/agent-transport/agent-transport-common/src/main/java/top/jpom/transport/TransportServer.java new file mode 100644 index 000000000..9a76a20bf --- /dev/null +++ b/modules/agent-transport/agent-transport-common/src/main/java/top/jpom/transport/TransportServer.java @@ -0,0 +1,30 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2019 Code Technology Studio + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + * the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +package top.jpom.transport; + +/** + * @author bwcx_jzy + * @since 2022/12/18 + */ +public interface TransportServer { +} diff --git a/modules/agent-transport/pom.xml b/modules/agent-transport/pom.xml new file mode 100644 index 000000000..fadfdeaed --- /dev/null +++ b/modules/agent-transport/pom.xml @@ -0,0 +1,185 @@ + + + + + jpom-parent + io.jpom + 2.9.21 + ../../pom.xml + + pom + + agent-transport-common + + 4.0.0 + 2.9.21 + io.jpom.agent-transport + jpom-agent-transport-parent + Jpom Agent Transport + + Jpom java 插件传输模块 + + + UTF-8 + 1.8 + + true + true + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.0 + + once + -Dfile.encoding=UTF-8 + + + + + + + + release + + + maven-repo + https://oss.sonatype.org/content/repositories/snapshots/ + + + maven-repo + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + attach-sources + + jar + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.0 + + + attach-javadoc + package + + jar + + + + + + + date + a + 创建时间 + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + verify-gpg + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + sonatype-nexus-staging + https://oss.sonatype.org/ + true + + + + + + + + + + master + git@gitee.com:dromara/Jpom.git + scm:git:git@gitee.com:dromara/Jpom.git + scm:git:git@gitee.com:dromara/Jpom.git + + + + jiangzeyin + bwcx_jzy@163.com + bwcx_jzy + + + + diff --git a/pom.xml b/pom.xml index d8854d52d..6dee5d0ef 100644 --- a/pom.xml +++ b/pom.xml @@ -33,6 +33,7 @@ modules/server modules/common modules/sub-plugin + modules/agent-transport org.springframework.boot