Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
普蓝开源社区
盘古开发框架
提交
686a6184
盘古开发框架
项目概览
普蓝开源社区
/
盘古开发框架
通知
25
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
盘古开发框架
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
686a6184
编写于
9月 21, 2021
作者:
X
xiongchun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增maven插件
上级
0f95d92a
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
24 addition
and
11 deletion
+24
-11
pangu-framework-base/pom.xml
pangu-framework-base/pom.xml
+13
-1
pangu-framework-generator-maven-plugin/LICENSE
pangu-framework-generator-maven-plugin/LICENSE
+0
-0
pangu-framework-generator-maven-plugin/README.md
pangu-framework-generator-maven-plugin/README.md
+0
-0
pangu-framework-generator-maven-plugin/pom.xml
pangu-framework-generator-maven-plugin/pom.xml
+3
-3
pangu-framework-generator-maven-plugin/src/main/java/com/gitee/pulanos/pangu/framework/generator/PanGuGeneratorMojo.java
...pulanos/pangu/framework/generator/PanGuGeneratorMojo.java
+4
-4
pangu-framework-generator-maven-plugin/src/main/resources/about.properties
...enerator-maven-plugin/src/main/resources/about.properties
+0
-0
pangu-framework-generator-maven-plugin/src/test/java/com/gitee/pulanos/pangu/framework/package-info.java
.../java/com/gitee/pulanos/pangu/framework/package-info.java
+0
-0
pangu-framework-parent/pom.xml
pangu-framework-parent/pom.xml
+2
-1
pom.xml
pom.xml
+2
-2
未找到文件。
pangu-framework-base/pom.xml
浏览文件 @
686a6184
...
...
@@ -6,7 +6,7 @@
<groupId>
com.gitee.pulanos.pangu
</groupId>
<artifactId>
pangu-framework-base
</artifactId>
<version>
5.0.
1
</version>
<version>
5.0.
2
</version>
<packaging>
jar
</packaging>
<name>
pangu-framework-base
</name>
<description>
pangu development framework
</description>
...
...
@@ -118,6 +118,18 @@
</build>
<profiles>
<profile>
<id>
default
</id>
<repositories>
<repository>
<id>
aliyun
</id>
<url>
https://maven.aliyun.com/repository/public
</url>
</repository>
</repositories>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
<profile>
<id>
release
</id>
<build>
...
...
pangu-framework-
builde
r-maven-plugin/LICENSE
→
pangu-framework-
generato
r-maven-plugin/LICENSE
浏览文件 @
686a6184
文件已移动
pangu-framework-
builde
r-maven-plugin/README.md
→
pangu-framework-
generato
r-maven-plugin/README.md
浏览文件 @
686a6184
文件已移动
pangu-framework-
builde
r-maven-plugin/pom.xml
→
pangu-framework-
generato
r-maven-plugin/pom.xml
浏览文件 @
686a6184
...
...
@@ -6,10 +6,10 @@
<groupId>
com.gitee.pulanos.pangu
</groupId>
<artifactId>
pangu-framework-builder-maven-plugin
</artifactId>
<version>
5.0.
2
</version>
<version>
5.0.
4
</version>
<packaging>
maven-plugin
</packaging>
<name>
pangu-framework-
builde
r-maven-plugin
</name>
<description>
pangu framework code
builde
r maven-plugin
</description>
<name>
pangu-framework-
generato
r-maven-plugin
</name>
<description>
pangu framework code
generato
r maven-plugin
</description>
<url>
https://gitee.com/pulanos/pangu-framework
</url>
<licenses>
...
...
pangu-framework-
builder-maven-plugin/src/main/java/com/gitee/pulanos/pangu/framework/builder/PanGuBuilde
rMojo.java
→
pangu-framework-
generator-maven-plugin/src/main/java/com/gitee/pulanos/pangu/framework/generator/PanGuGenerato
rMojo.java
浏览文件 @
686a6184
package
com.gitee.pulanos.pangu.framework.
builde
r
;
package
com.gitee.pulanos.pangu.framework.
generato
r
;
import
cn.hutool.json.JSONUtil
;
import
lombok.SneakyThrows
;
...
...
@@ -19,8 +19,8 @@ import java.util.Map;
*
* @author xiongchun
*/
@Mojo
(
name
=
"
builder
"
)
public
class
PanGu
Builde
rMojo
extends
AbstractMojo
{
@Mojo
(
name
=
"
generate
"
)
public
class
PanGu
Generato
rMojo
extends
AbstractMojo
{
@Parameter
(
property
=
"url"
)
private
String
url
;
...
...
@@ -35,7 +35,7 @@ public class PanGuBuilderMojo extends AbstractMojo {
Connection
conn
=
DriverManager
.
getConnection
(
url
,
user
,
password
);
QueryRunner
run
=
new
QueryRunner
();
List
<
Map
<
String
,
Object
>>
result
=
run
.
query
(
conn
,
"SELECT * FROM user WHERE name = ?"
,
new
MapListHandler
(),
"
XC
"
);
"SELECT * FROM user WHERE name = ?"
,
new
MapListHandler
(),
"
熊春
"
);
System
.
out
.
println
(
JSONUtil
.
toJsonStr
(
result
));
DbUtils
.
closeQuietly
(
conn
);
}
...
...
pangu-framework-
builde
r-maven-plugin/src/main/resources/about.properties
→
pangu-framework-
generato
r-maven-plugin/src/main/resources/about.properties
浏览文件 @
686a6184
文件已移动
pangu-framework-
builde
r-maven-plugin/src/test/java/com/gitee/pulanos/pangu/framework/package-info.java
→
pangu-framework-
generato
r-maven-plugin/src/test/java/com/gitee/pulanos/pangu/framework/package-info.java
浏览文件 @
686a6184
文件已移动
pangu-framework-parent/pom.xml
浏览文件 @
686a6184
...
...
@@ -13,7 +13,7 @@
<groupId>
com.gitee.pulanos.pangu
</groupId>
<artifactId>
pangu-framework-parent
</artifactId>
<version>
5.0.
1
</version>
<version>
5.0.
2
</version>
<packaging>
pom
</packaging>
<name>
pangu-framework-parent
</name>
<description>
pangu development framework
</description>
...
...
@@ -55,6 +55,7 @@
<commons-collections4.version>
4.4
</commons-collections4.version>
<hutool-all.version>
5.7.11
</hutool-all.version>
<lombok.version>
1.18.20
</lombok.version>
<spring-boot-maven-plugin.version>
2.5.4
</spring-boot-maven-plugin.version>
<maven-compiler-plugin.version>
3.8.1
</maven-compiler-plugin.version>
<maven-source-plugin.version>
3.2.1
</maven-source-plugin.version>
<maven-javadoc-plugin.version>
3.3.0
</maven-javadoc-plugin.version>
...
...
pom.xml
浏览文件 @
686a6184
...
...
@@ -7,12 +7,12 @@
<groupId>
com.gitee.pulanos.pangu
</groupId>
<artifactId>
pangu-framework
</artifactId>
<packaging>
pom
</packaging>
<version>
5.0.
1
</version>
<version>
5.0.
2
</version>
<modules>
<module>
pangu-framework-parent
</module>
<module>
pangu-framework-base
</module>
<module>
pangu-framework-
builde
r-maven-plugin
</module>
<module>
pangu-framework-
generato
r-maven-plugin
</module>
</modules>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录