代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.coderliu</groupId>
<artifactId>liuyang-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.8</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<includes>
<include>**/*.vm</include>
</includes>
<targetPath>${project.build.outputDirectory}</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
<configuration>
<goalPrefix>mp</goalPrefix>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>generated-helpmojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.baomidou</groupId>
<artifactId>mybatisplus-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<!-- 输出目录(默认java.io.tmpdir) -->
<outputDir>C:\Users\Administrator\Desktop\mytest</outputDir>
<!-- 是否覆盖同名文件(默认false) -->
<fileOverride>true</fileOverride>
<!-- 是否打开输出目录(默认true) -->
<open>true</open>
<!-- mapper.xml 中添加二级缓存配置(默认true) -->
<enableCache>false</enableCache>
<!-- 开发者名称 -->
<author>tangguo</author>
<!-- 是否开启 ActiveRecord 模式(默认true) -->
<activeRecord>false</activeRecord>
<!-- 数据源配置,( **必配** ) -->
<!-- <dataSource> -->
<!-- <driverName>oracle.jdbc.driver.OracleDriver</driverName> -->
<!-- <url>jdbc:oracle:thin:@localhost:1521:orcl</url> -->
<!-- <username>etu_dsjx3</username> -->
<!-- <password>etu_dsjx3</password> -->
<!-- </dataSource> -->
<dataSource>
<driverName>com.mysql.jdbc.Driver</driverName>
<url>jdbc:mysql://localhost:3306/mybatis-plus</url>
<username>root</username>
<password>521</password>
</dataSource>
<strategy>
<!-- 字段生成策略,四种类型,从名称就能看出来含义:
nochange(默认),
underline_to_camel,(下划线转驼峰)
remove_prefix,(去除第一个下划线的前部分,后面保持不变)
remove_prefix_and_camel(去除第一个下划线的前部分,后面转驼峰) -->
<naming>remove_prefix_and_camel</naming>
<!-- 表前缀 -->
<tablePrefix>bmd_</tablePrefix>
<!--Entity中的ID生成策略(默认 id_worker) -->
<idGenType>uuid</idGenType>
<!--自定义超类 -->
<!--<superServiceClass>com.baomidou.base.BaseService</superServiceClass> -->
<!-- 要包含的表 与 exclude 二选一配置 -->
<!--<include> -->
<!--<property>sec_user</property> -->
<!--<property>table1</property> -->
<!--</include> -->
<!-- 要排除的表 -->
<!--<exclude> -->
<!--<property>schema_version</property> -->
<!--</exclude> -->
</strategy>
<packageInfo>
<!-- 父级包名称,如果不写,下面的service等就需要写全包名(默认com.baomidou) -->
<parent>com.baomidou</parent>
<!--service包名(默认service) -->
<service>service</service>
<!--serviceImpl包名(默认service.impl) -->
<serviceImpl>service.impl</serviceImpl>
<!--entity包名(默认entity) -->
<entity>entity</entity>
<!--mapper包名(默认mapper) -->
<mapper>mapper</mapper>
<!--xml包名(默认mapper.xml) -->
<xml>mapper.xml</xml>
</packageInfo>
<template>
<!-- <controller>/template/controller.java.vm</controller> -->
</template>
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
</dependency>
<!-- <dependency> -->
<!-- <groupId>com.oracle</groupId> -->
<!-- <artifactId>ojdbc14</artifactId> -->
<!-- <version>10.2.0.5.0</version> -->
<!-- </dependency> -->
</dependencies>
</plugin>
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。