基于cola 落地DDD

基于 阿里 cola 落地DDD

1. GitHub

https://github.com/alibaba/COLA

2. 生成脚手架

D:\open_source\cola>mvn archetype:generate  -DgroupId=com.alibaba.cola.demo.web  -DartifactId=demo-web -Dversion=1.0.0-SNAPSHOT -Dpackage=com.alibaba.demo   -DarchetypeArtifactId=cola-framework-archetype-web -DarchetypeGroupId=com.alibaba.cola -DarchetypeVersion=4.0.1
[INFO] Scanning for projects...
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/org/codehaus/mojo/maven-metadata.xml
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-metadata.xml
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/com/spotify/maven-metadata.xml
[WARNING] Could not transfer metadata com.spotify/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/com/spotify/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/codehaus/mojo/maven-metadata.xml
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[WARNING] Failure to transfer com.spotify/maven-metadata.xml from http://xx.xx.xx.41:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of chain has elapsed or updates are forced. Original error: Could not transfer metadata com.spotify/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/com/spotify/maven-metadata.xml
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://xx.xx.xx.41:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of chain has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://xx.xx.xx.41:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of chain has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/codehaus/mojo/maven-metadata.xml
[WARNING] Failure to transfer org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from http://xx.xx.xx.41:8081/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of chain has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/to chain (http://xx.xx.xx.41:8081/repository/maven-public/): Transfer failed for http://xx.xx.xx.41:8081/repository/maven-public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml
[INFO]
[INFO] >>> maven-archetype-plugin:3.2.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.2.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO]
[INFO] --- maven-archetype-plugin:3.2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[WARNING] No archetype found in remote catalog. Defaulting to internal catalog
[WARNING] Archetype not found in any catalog. Falling back to central repository.
[WARNING] Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere.
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.pom
Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.pom
Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.pom (2.1 kB at 4.3 kB/s)
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/com/alibaba/cola/cola-archeytpes-parent/4.0.1/cola-archeytpes-parent-4.0.1.pom
Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-archeytpes-parent/4.0.1/cola-archeytpes-parent-4.0.1.pom
Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-archeytpes-parent/4.0.1/cola-archeytpes-parent-4.0.1.pom (12 kB at 31 kB/s)
Downloading from chain: http://xx.xx.xx.41:8081/repository/maven-public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.jar
Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.jar
Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/alibaba/cola/cola-framework-archetype-web/4.0.1/cola-framework-archetype-web-4.0.1.jar (31 kB at 41 kB/s)
[INFO] Using property: gitignore = .gitignore
[INFO] Using property: groupId = com.alibaba.cola.demo.web
[INFO] Using property: artifactId = demo-web
[INFO] Using property: version = 1.0.0-SNAPSHOT
[INFO] Using property: package = com.alibaba.demo
Confirm properties configuration:
gitignore: .gitignore
groupId: com.alibaba.cola.demo.web
artifactId: demo-web
version: 1.0.0-SNAPSHOT
package: com.alibaba.demo
 Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: cola-framework-archetype-web:4.0.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.alibaba.cola.demo.web
[INFO] Parameter: artifactId, Value: demo-web
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: com.alibaba.demo
[INFO] Parameter: packageInPathFormat, Value: com/alibaba/demo
[INFO] Parameter: package, Value: com.alibaba.demo
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.alibaba.cola.demo.web
[INFO] Parameter: gitignore, Value: .gitignore
[INFO] Parameter: artifactId, Value: demo-web
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\demo-web-client\pom.xml
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\demo-web-adapter\pom.xml
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\demo-web-app\pom.xml
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\demo-web-domain\pom.xml
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\demo-web-infrastructure\pom.xml
[INFO] Parent element not overwritten in D:\open_source\cola\demo-web\start\pom.xml
[INFO] Project created from Archetype in dir: D:\open_source\cola\demo-web
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  57:32 min
[INFO] Finished at: 2023-02-26T18:41:03+08:00
[INFO] ------------------------------------------------------------------------

你可能感兴趣的:(maven,java,spring)