CodeLife Leno 4 månader sedan
förälder
incheckning
3f8317d5f0
1 ändrade filer med 39 tillägg och 1 borttagningar
  1. 39 1
      pom.xml

+ 39 - 1
pom.xml

@@ -9,7 +9,7 @@
         <version>3.0.1</version>
     </parent>
     <groupId>com.sundata.project</groupId>
-    <artifactId>CratProject</artifactId>
+    <artifactId>SundataProject</artifactId>
     <version>1.0-SNAPSHOT</version>
     <!--    <packaging>war</packaging>-->
 
@@ -1036,6 +1036,44 @@
             <!--                    </execution>-->
             <!--                </executions>-->
             <!--            </plugin>-->
+            <plugin>
+                <groupId>cn.smallbun.screw</groupId>
+                <artifactId>screw-maven-plugin</artifactId>
+                <version>1.0.5</version>
+
+                <configuration>
+                    <!--username-->
+                    <username>root</username>
+                    <!--password-->
+                    <password>password</password>
+                    <!--driver-->
+                    <driverClassName>com.mysql.cj.jdbc.Driver</driverClassName>
+                    <!--jdbc url-->
+                    <jdbcUrl>jdbc:mysql://127.0.0.1:3306/xxxx</jdbcUrl>
+                    <!--生成文件类型-->
+                    <fileType>HTML</fileType>
+                    <!--打开文件输出目录-->
+                    <openOutputDir>false</openOutputDir>
+                    <!--生成模板-->
+                    <produceType>freemarker</produceType>
+                    <!--文档名称 为空时:将采用[数据库名称-描述-版本号]作为文档名称-->
+                    <fileName>测试文档名称</fileName>
+                    <!--描述-->
+                    <description>数据库文档生成</description>
+                    <!--版本-->
+                    <version>${project.version}</version>
+                    <!--标题-->
+                    <title>数据库文档</title>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         <finalName>${project.name}_${version}_${profiles.active}</finalName>
     </build>