File tree Expand file tree Collapse file tree
src/main/resources/archetype-resources
__rootArtifactId__-test/src/test/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,16 +5,17 @@ A maven archetype that generates a complete [DDDplus](https://github.com/funkyga
55
66[ ![ Mavenn Central] ( https://img.shields.io/maven-central/v/io.github.dddplus/dddplus-archetype.svg?label=Maven%20Central )] ( https://search.maven.org/search?q=a:dddplus-archetype )
77![ Requirement] ( https://img.shields.io/badge/JDK-8+-green.svg )
8+ [ ![ DDDplus version] ( https://img.shields.io/badge/DDDplus-1.1.0-blue )] ( https://github.com/funkygao/cp-ddd-framework )
89
910## Usage
1011
1112``` bash
1213mvn archetype:generate \
1314 -DarchetypeGroupId=io.github.dddplus \
1415 -DarchetypeArtifactId=dddplus-archetype \
15- -DarchetypeVersion=1.0.3 \
16+ -DarchetypeVersion=1.1.0 \
1617 -DgroupId=com.foo -DartifactId=demo \
17- -Dpackage=com.foo -Dversion=1. 0.0-SNAPSHOT \
18+ -Dpackage=com.foo -Dversion=0.0.1 -SNAPSHOT \
1819 -B
1920cd demo/
2021```
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >io.github.dddplus</groupId >
66 <artifactId >dddplus-archetype</artifactId >
7- <version >1.1.0-SNAPSHOT </version >
7+ <version >1.1.0</version >
88 <packaging >maven-archetype</packaging >
99
1010 <name >DDDplus :: Archetype</name >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <Configuration status =" error" monitorInterval =" 3600" >
3+ <properties >
4+ <property name =" patternLayout" >%d [%t] %-5p [%c] [%L] - %m%n</property >
5+ <property name =" root.log.level" >info</property >
6+ </properties >
7+ <Appenders >
8+ <Console name =" console" target =" SYSTEM_OUT" follow =" true" >
9+ <PatternLayout charset =" UTF-8" pattern =" ${patternLayout}" />
10+ </Console >
11+ <File name =" logFile" fileName =" logs/app.log" append =" false" immediateFlush =" true" >
12+ <PatternLayout >
13+ <Pattern >${patternLayout}</Pattern >
14+ </PatternLayout >
15+ </File >
16+ </Appenders >
17+
18+ <Loggers >
19+ <Root level =" ${root.log.level}" includeLocation =" true" >
20+ <AppenderRef ref =" console" />
21+ <AppenderRef ref =" logFile" />
22+ </Root >
23+ <logger name =" org.springframework" level =" error" additivity =" false" includeLocation =" true" >
24+ <AppenderRef ref =" console" />
25+ </logger >
26+ <logger name =" com.tngtech.archunit" level =" error" additivity =" false" includeLocation =" true" >
27+ <AppenderRef ref =" console" />
28+ </logger >
29+ </Loggers >
30+ </Configuration >
Original file line number Diff line number Diff line change 2323 <spring .version>4.3.12.RELEASE</spring .version>
2424 <mapstruct .version>1.3.1.Final</mapstruct .version>
2525
26- <dddplus .version>1.1.0-SNAPSHOT </dddplus .version>
26+ <dddplus .version>1.1.0</dddplus .version>
2727 </properties >
2828
2929 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments