diff --git a/README.md b/README.md index 8e94ccb..7065c03 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,11 @@ ## 目录结构 ```bash -|-- testable-core ➜ 核心组件,提供注解和工具类 -|-- testable-processor ➜ 编译期代码预处理组件,提供测试辅助功能 -|-- testable-agent ➜ JavaAgent组件,提供Mock测试相关功能 -|-- testable-maven-plugin ➜ Maven插件组件,用于简化JavaAgent注入 +|-- testable-all ➜ 依赖聚合,便于一次性引用所有子模块功能 +|-- testable-processor ➜ 编译期代码预处理模块,提供测试辅助功能 +|-- testable-agent ➜ JavaAgent模块,提供Mock测试相关功能 +|-- testable-core ➜ 基础功能模块,提供Mock相关注解和工具类 +|-- testable-maven-plugin ➜ Maven插件模块,用于简化JavaAgent注入 |-- demo | |-- java-demo ➜ Java语言的示例代码 | `-- kotlin-demo ➜ Kotlin语言的示例代码 diff --git a/demo/java-demo/pom.xml b/demo/java-demo/pom.xml index 3ead314..1b239ca 100644 --- a/demo/java-demo/pom.xml +++ b/demo/java-demo/pom.xml @@ -11,26 +11,21 @@ 1.8 1.8 + 5.6.2 0.3.3-SNAPSHOT com.alibaba.testable - testable-processor - ${testable.version} - provided - - - com.alibaba.testable - testable-agent + testable-all ${testable.version} provided org.junit.jupiter junit-jupiter-api - 5.6.2 + ${junit.version} test diff --git a/demo/kotlin-demo/pom.xml b/demo/kotlin-demo/pom.xml index b17b4e6..57ad248 100644 --- a/demo/kotlin-demo/pom.xml +++ b/demo/kotlin-demo/pom.xml @@ -13,6 +13,7 @@ 1.3.72 1.8 1.8 + 5.6.2 0.3.3-SNAPSHOT @@ -30,20 +31,14 @@ com.alibaba.testable - testable-processor - ${testable.version} - provided - - - com.alibaba.testable - testable-agent + testable-all ${testable.version} provided org.junit.jupiter junit-jupiter-api - 5.6.2 + ${junit.version} test diff --git a/pom.xml b/pom.xml index f5f7ae3..fcf12b7 100755 --- a/pom.xml +++ b/pom.xml @@ -9,9 +9,11 @@ pom - testable-core + testable-parent testable-processor + testable-core testable-agent + testable-all testable-maven-plugin demo diff --git a/testable-all/pom.xml b/testable-all/pom.xml new file mode 100644 index 0000000..08e66e9 --- /dev/null +++ b/testable-all/pom.xml @@ -0,0 +1,125 @@ + + + 4.0.0 + com.alibaba.testable + testable-all + 0.3.3-SNAPSHOT + jar + testable-all + Unit test enhancement toolkit + https://github.com/alibaba/testable-mock + + + MIT License + https://github.com/alibaba/testable-mock/blob/master/LICENSE + repo + + + + + 金戟 + jinji.lf@alibaba-inc.com + + + + scm:git:git@github.com:alibaba/testable-mock.git + git@github.com:alibaba/testable-mock.git + HEAD + + + + 0.3.3-SNAPSHOT + + + + + com.alibaba.testable + testable-processor + ${testable.version} + + + com.alibaba.testable + testable-core + ${testable.version} + + + com.alibaba.testable + testable-agent + ${testable.version} + + + + + + release + + + + org.apache.maven.plugins + maven-source-plugin + ${plugin.source.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${plugin.javadoc.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${plugin.gpg.version} + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${plugin.staging.version} + true + + oss + https://oss.sonatype.org/ + true + + + + + + + oss + https://oss.sonatype.org/content/repositories/snapshots/ + + + oss + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + diff --git a/testable-processor/pom.xml b/testable-processor/pom.xml index c18a63d..592bb0b 100644 --- a/testable-processor/pom.xml +++ b/testable-processor/pom.xml @@ -34,7 +34,6 @@ 1.6 UTF-8 5.6.2 - 0.3.3-SNAPSHOT 3.8.1 3.0.0-M5 3.2.0 @@ -44,11 +43,6 @@ - - com.alibaba.testable - testable-core - ${testable.version} - org.junit.jupiter junit-jupiter-api