diff --git a/README.md b/README.md index 6893b5d..81ca341 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ A maven archetype that generates a complete [DDDplus](https://github.com/funkyga [![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) ![Requirement](https://img.shields.io/badge/JDK-8+-green.svg) +[![DDDplus version](https://img.shields.io/badge/DDDplus-1.1.0-blue)](https://github.com/funkygao/cp-ddd-framework) ## Usage @@ -12,9 +13,9 @@ A maven archetype that generates a complete [DDDplus](https://github.com/funkyga mvn archetype:generate \ -DarchetypeGroupId=io.github.dddplus \ -DarchetypeArtifactId=dddplus-archetype \ - -DarchetypeVersion=1.0.3 \ + -DarchetypeVersion=1.1.0 \ -DgroupId=com.foo -DartifactId=demo \ - -Dpackage=com.foo -Dversion=1.0.0-SNAPSHOT \ + -Dpackage=com.foo -Dversion=0.0.1-SNAPSHOT \ -B cd demo/ ``` diff --git a/pom.xml b/pom.xml index f8cdeea..2a0d0c5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 io.github.dddplus dddplus-archetype - 1.1.0-SNAPSHOT + 1.1.0 maven-archetype DDDplus :: Archetype diff --git a/src/main/resources/archetype-resources/__rootArtifactId__-test/src/test/resources/log4j2.xml b/src/main/resources/archetype-resources/__rootArtifactId__-test/src/test/resources/log4j2.xml new file mode 100644 index 0000000..9cbd6cc --- /dev/null +++ b/src/main/resources/archetype-resources/__rootArtifactId__-test/src/test/resources/log4j2.xml @@ -0,0 +1,30 @@ + + + + %d [%t] %-5p [%c] [%L] - %m%n + info + + + + + + + + ${patternLayout} + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml index 2aad593..9509564 100644 --- a/src/main/resources/archetype-resources/pom.xml +++ b/src/main/resources/archetype-resources/pom.xml @@ -23,7 +23,7 @@ 4.3.12.RELEASE 1.3.1.Final - 1.1.0-SNAPSHOT + 1.1.0