Skip to content

Commit

Permalink
upgrade to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
funkygao committed Nov 24, 2020
1 parent 591fcb6 commit 8580040
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ 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

``` bash
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/
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.dddplus</groupId>
<artifactId>dddplus-archetype</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.0</version>
<packaging>maven-archetype</packaging>

<name>DDDplus :: Archetype</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="error" monitorInterval="3600">
<properties>
<property name="patternLayout">%d [%t] %-5p [%c] [%L] - %m%n</property>
<property name="root.log.level">info</property>
</properties>
<Appenders>
<Console name="console" target="SYSTEM_OUT" follow="true">
<PatternLayout charset="UTF-8" pattern="${patternLayout}"/>
</Console>
<File name="logFile" fileName="logs/app.log" append="false" immediateFlush="true">
<PatternLayout>
<Pattern>${patternLayout}</Pattern>
</PatternLayout>
</File>
</Appenders>

<Loggers>
<Root level="${root.log.level}" includeLocation="true">
<AppenderRef ref="console"/>
<AppenderRef ref="logFile"/>
</Root>
<logger name="org.springframework" level="error" additivity="false" includeLocation="true">
<AppenderRef ref="console"/>
</logger>
<logger name="com.tngtech.archunit" level="error" additivity="false" includeLocation="true">
<AppenderRef ref="console"/>
</logger>
</Loggers>
</Configuration>
2 changes: 1 addition & 1 deletion src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<spring.version>4.3.12.RELEASE</spring.version>
<mapstruct.version>1.3.1.Final</mapstruct.version>

<dddplus.version>1.1.0-SNAPSHOT</dddplus.version>
<dddplus.version>1.1.0</dddplus.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 8580040

Please sign in to comment.