commons-parent

project-commons parent

License

License

MIT License
GroupId

GroupId

com.yupaits
ArtifactId

ArtifactId

commons-parent
Last Version

Last Version

1.0.12
Release Date

Release Date

Type

Type

pom
Description

Description

commons-parent
project-commons parent

Download commons-parent

Filename Size
commons-parent-1.0.12.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.yupaits/commons-parent/ -->
<dependency>
    <groupId>com.yupaits</groupId>
    <artifactId>commons-parent</artifactId>
    <version>1.0.12</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.yupaits/commons-parent/
implementation 'com.yupaits:commons-parent:1.0.12'
// https://jarcasting.com/artifacts/com.yupaits/commons-parent/
implementation ("com.yupaits:commons-parent:1.0.12")
'com.yupaits:commons-parent:pom:1.0.12'
<dependency org="com.yupaits" name="commons-parent" rev="1.0.12">
  <artifact name="commons-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.yupaits', module='commons-parent', version='1.0.12')
)
libraryDependencies += "com.yupaits" % "commons-parent" % "1.0.12"
[com.yupaits/commons-parent "1.0.12"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

project-commons

Build Status version

项目通用commons模块,主要有以下内容:

子模块 描述
commons-annotation 公共注解模块
commons-jpa 基于JPA的通用orm模块
commons-mybatis 基于MyBatis-Plus的通用orm模块
commons-extension 公共拓展模块
code-generator 代码生成器

使用说明

使用 commons-jpa 和 commons-mybatis

commons-jpa和commons-mybatis模块通过maven依赖方式进行引用。

<dependency>
    <groupId>com.yupaits</groupId>
    <artifactId>commons-jpa</artifactId>
    <version>${version}</version>
</dependency>
<dependency>
    <groupId>com.yupaits</groupId>
    <artifactId>commons-mybatis</artifactId>
    <version>${version}</version>
</dependency>

更详细的使用方式可参考示例:

commons-jpa-sample

commons-mybatis-sample

使用代码生成器

  1. 方式一

    • 下载代码

      git clone https://github.com/yupaits/project-commons.git
      
    • 执行 code-generator 模块 CodeGeneratorApplication 启动类的 main() 方法。

    • 在浏览器中打开链接:http://localhost:10000

  2. 方式二

代码生成器预览

Versions

Version
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2