代码生成支持带减号的工程模块名生成工程和微服务工程
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
No deletion without permission, or be held responsible to law. -->
|
No deletion without permission, or be held responsible to law. -->
|
||||||
<template>
|
<template>
|
||||||
<name>package</name>
|
<name>package</name>
|
||||||
<filePath>${baseDir}/${moduleCode}/src/main/java/com/jeesite/modules/${moduleCode}</filePath>
|
<filePath>${baseDir}/${moduleCode}/src/main/java/com/jeesite/modules/${@StringUtils.replace(moduleCode, '-', '/')}</filePath>
|
||||||
<fileName></fileName>
|
<fileName></fileName>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
# 温馨提示:不建议直接修改此文件,为了平台升级方便,建议将需要修改的参数值,复制到application.yml里进行覆盖该参数值。
|
# 温馨提示:不建议直接修改此文件,为了平台升级方便,建议将需要修改的参数值,复制到application.yml里进行覆盖该参数值。
|
||||||
|
|
||||||
#${moduleCode}:
|
#${@StringUtils.camelCase(moduleCode)}:
|
||||||
# enabled: true
|
# enabled: true
|
||||||
|
|
||||||
]]>
|
]]>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
No deletion without permission, or be held responsible to law. -->
|
No deletion without permission, or be held responsible to law. -->
|
||||||
<template>
|
<template>
|
||||||
<name>static</name>
|
<name>static</name>
|
||||||
<filePath>${baseDir}/${moduleCode}/src/main/resources/static/modules/${moduleCode}</filePath>
|
<filePath>${baseDir}/${moduleCode}/src/main/resources/static/modules/${@StringUtils.replace(moduleCode, '-', '/')}</filePath>
|
||||||
<fileName></fileName>
|
<fileName></fileName>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
No deletion without permission, or be held responsible to law. -->
|
No deletion without permission, or be held responsible to law. -->
|
||||||
<template>
|
<template>
|
||||||
<name>package</name>
|
<name>package</name>
|
||||||
<filePath>${baseDir}/${moduleCode}/${moduleCode}-client/src/main/java/com/jeesite/modules/${moduleCode}</filePath>
|
<filePath>${baseDir}/${moduleCode}/${moduleCode}-client/src/main/java/com/jeesite/modules/${@StringUtils.replace(moduleCode, '-', '/')}</filePath>
|
||||||
<fileName></fileName>
|
<fileName></fileName>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
|
|
||||||
|
|||||||
@@ -21,14 +21,14 @@
|
|||||||
<artifactId>jeesite-cloud-module-${moduleCode}-web</artifactId>
|
<artifactId>jeesite-cloud-module-${moduleCode}-web</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<name>JeeSite Cloud Module ${moduleName} Web</name>
|
<name>JeeSite Cloud Module ${@StringUtils.capCamelCase(moduleCode)} Web</name>
|
||||||
<url>http://jeesite.com</url>
|
<url>http://jeesite.com</url>
|
||||||
<inceptionYear>2013-Now</inceptionYear>
|
<inceptionYear>2013-Now</inceptionYear>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
||||||
<finalName>web</finalName><!-- war包的名称 -->
|
<finalName>web</finalName><!-- war包的名称 -->
|
||||||
<start-class>com.jeesite.modules.${@StringUtils.cap(module.moduleCode)}Application</start-class>
|
<start-class>com.jeesite.modules.${@StringUtils.capCamelCase(moduleCode)}Application</start-class>
|
||||||
|
|
||||||
<!-- docker setting -->
|
<!-- docker setting -->
|
||||||
<docker.run.port>8989:8989</docker.run.port>
|
<docker.run.port>8989:8989</docker.run.port>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
No deletion without permission, or be held responsible to law. -->
|
No deletion without permission, or be held responsible to law. -->
|
||||||
<template>
|
<template>
|
||||||
<name>package</name>
|
<name>package</name>
|
||||||
<filePath>${baseDir}/${moduleCode}/${moduleCode}/src/main/java/com/jeesite/modules/${moduleCode}</filePath>
|
<filePath>${baseDir}/${moduleCode}/${moduleCode}/src/main/java/com/jeesite/modules/${@StringUtils.replace(moduleCode, '-', '/')}</filePath>
|
||||||
<fileName></fileName>
|
<fileName></fileName>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
No deletion without permission, or be held responsible to law. -->
|
No deletion without permission, or be held responsible to law. -->
|
||||||
<template>
|
<template>
|
||||||
<name>static</name>
|
<name>static</name>
|
||||||
<filePath>${baseDir}/${moduleCode}/${moduleCode}/src/main/resources/static/modules/${moduleCode}</filePath>
|
<filePath>${baseDir}/${moduleCode}/${moduleCode}/src/main/resources/static/modules/${@StringUtils.replace(moduleCode, '-', '/')}</filePath>
|
||||||
<fileName></fileName>
|
<fileName></fileName>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user