diff --git a/scaffold-lite/README.md b/scaffold-lite/README.md index f16df789b15c2df994215489ccc6bf6d19fe307d..728f216aed698cdfdfa20483cff0dba112b08e5d 100644 --- a/scaffold-lite/README.md +++ b/scaffold-lite/README.md @@ -4,10 +4,53 @@ ### 1. 生成 +```shell +md5 ddd-scaffold-lite-1.0.pom > ddd-scaffold-lite-1.0.pom.md5 +shasum ddd-scaffold-lite-1.0.pom > ddd-scaffold-lite-1.0.pom.sha1 +``` + ```shell mvn clean install ``` +```shell +mvn clean install net.ju-n.maven.plugins:checksum-maven-plugin:1.2:artifacts +``` + +```shell +mvn deploy +``` + +```shell +jar -cvf bundle.jar scaffold-lite-1.0.pom scaffold-lite-1.0.pom.asc scaffold-lite-1.0.jar scaffold-lite-1.0.jar.asc scaffold-lite-1.0-javadoc.jar scaffold-lite-1.0-javadoc.jar.asc scaffold-lite-1.0-sources.jar scaffold-lite-1.0-sources.jar.asc +``` + +```shell[archetype-catalog.xml](..%2F..%2F..%2F..%2Fapache-maven-3.8.6%2Frepository%2Farchetype-catalog.xml) +mvn archetype:crawl +``` + +```shell +mvn deploy:deploy-file \ + -DgroupId=cn.bugstack \ + -DartifactId=ascaffold-lite \ + -Dversion=6.0 \ + -Dpackaging=xml \ + -Dfile=/Users/fuzhengwei1/Documents/develop/github/xfg-studio/xfg-frame-archetype-lite/docs/archetype-catalog.xml \ + -Durl=https://packages.aliyun.com/maven/repository/2452122-release-dbuebF \ + -DrepositoryId=2452122-release-dbuebF +``` + +```shell +mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate +-DarchetypeGroupId=cn.bugstack +-DarchetypeArtifactId=scaffold-lite +-DarchetypeCatalog=https://packages.aliyun.com/maven/repository/2452122-release-dbuebF/ +-DarchetypeVersion=6.0 +-DgroupId=com.xfg.testdemo +-DartifactId=testdemo +-Dversion=0.0.1-SNAPSHOT +``` + - 在 IntelliJ IDEA 执行 `mvn clean install` 这样会把脚手架安装到本地仓库中 ### 2. 配置 @@ -140,3 +183,4 @@ mvn clean install └── xfg-ddd-types ``` + diff --git a/scaffold-lite/pom.xml b/scaffold-lite/pom.xml index 3d5442bb9c3cfa7e0067971cbd9ed900bbe41b15..56ab4ea9ba72aa26a950740c8d8356ac98293216 100644 --- a/scaffold-lite/pom.xml +++ b/scaffold-lite/pom.xml @@ -1,54 +1,157 @@ - - 4.0.0 - - cn.bugstack - scaffold-lite - 1.0 - maven-archetype - - xfg-frame-archetype - - - - - org.apache.maven.archetype - archetype-packaging - 3.2.0 - - - - - - - maven-archetype-plugin - 3.2.0 - - - - - - Parent pom providing dependency and plugin management for applications built with Maven - - https://spring.io/projects/spring-boot/xfg-frame-archetype - - - - fuzhengwei - 184172133@qq.com - fuzhengwei - https://github.com/fuzhengwei - - - - - - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 - - - - - https://github.com/spring-projects/spring-boot/xfg-frame-archetype - + + 4.0.0 + + io.github.fuzhengwei + ddd-scaffold-lite + 1.0 + maven-archetype + + ddd-scaffold-lite + + + 1.8 + 3.2.0 + 3.2.1 + 1.6 + 1.10 + + + + + + org.apache.maven.archetype + archetype-packaging + 3.2.0 + + + + + + net.nicoulaj.maven.plugins + checksum-maven-plugin + ${maven-checksum-plugin.version} + + + create-checksums + + artifacts + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + UTF-8 + true + UTF-8 + UTF-8 + + + + attach-javadocs + + jar + + + -Xdoclint:none + + /Library/Java/JavaVirtualMachines/jdk1.8.0_341.jdk/Contents/Home/bin/javadoc + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + true + false + release + deploy + + + + + + + + release + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.1 + + + attach-javadocs + + jar + + + + + + + + + + ddd scaffold lite by xiaofuge + + https://spring.io/projects/spring-boot/xfg-frame-archetype + + + + fuzhengwei + 184172133@qq.com + fuzhengwei + https://github.com/fuzhengwei + + + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 + + + + + https://github.com/spring-projects/spring-boot/xfg-frame-archetype + + diff --git a/scaffold-lite/src/main/resources/archetype-resources/pom.xml b/scaffold-lite/src/main/resources/archetype-resources/pom.xml index f921cf4814ab868d3efb47901fad0377f330a6ec..7b481b2e12d3f0018c5d04ac121ec103bd90180d 100644 --- a/scaffold-lite/src/main/resources/archetype-resources/pom.xml +++ b/scaffold-lite/src/main/resources/archetype-resources/pom.xml @@ -15,6 +15,20 @@ ${rootArtifactId}-types + + + nexus-aliyun + nexus-aliyun + http://maven.aliyun.com/nexus/content/groups/public/ + + true + + + false + + + + 1.8 UTF-8