feilong-core
feilong-core copied to clipboard
:gem: Reduce development, Release ideas
feilong-core 2系列将不在维护, 请移步到 feilong 3版本,地址 https://github.com/ifeilong/feilong
feilong core 让Java开发更简便的工具包

Reduce development, Release ideas (减少开发,释放思想)
focus on J2SE,是 feilong platform 核心项目
详细帮助文档参见 http://feilong-core.mydoc.io/
1.简介:
- 让你从
大量重复的底层代码中脱身,提高工作效率; - 让你的代码
更简炼,易写、易读、易于维护;
2.feilong-core 优点:

对比1:

对比2:

- 有常用的工具类 (如 处理日期的
DateUtil,处理 集合 的CollectionsUtil等) - 有常用的JAVA常量类 (如日期格式
DatePattern, 时间间隔TimeInterval等) - 不必要的
Exception转成了RuntimeException,减少不必要的代码 - 国内
中文注释最完善的API - 有完善的单元测试
3.一图概述:

这里有详细的帮助文档 http://feilong-core.mydoc.io/
4.:dragon: Maven使用配置
feilong-core jar你可以直接在 仓库 浏览
如果你使用 maven, 您可以通过以下方式来配置 pom.xml:
<project>
....
<properties>
<version.feilong-platform>2.1.0</version.feilong-platform>
....
</properties>
....
<repositories>
<repository>
<id>feilong-repository</id>
<url>https://raw.github.com/venusdrogon/feilong-platform/repository</url>
</repository>
</repositories>
....
<dependencies>
....
<dependency>
<groupId>com.feilong.platform</groupId>
<artifactId>feilong-core</artifactId>
<version>${version.feilong-platform}</version>
</dependency>
....
</dependencies>
....
</project>
此外强烈建议你使用 feilong 工具类全家桶(含IO操作,Net操作,Json,XML,自定义标签等等工具类)
<project>
....
<properties>
<version.feilong-platform>2.1.0</version.feilong-platform>
....
</properties>
....
<repositories>
<repository>
<id>feilong-repository</id>
<url>https://raw.github.com/venusdrogon/feilong-platform/repository</url>
</repository>
</repositories>
....
<dependencies>
....
<dependency>
<groupId>com.feilong.platform</groupId>
<artifactId>feilong-util-all</artifactId>
<version>${version.feilong-platform}</version>
</dependency>
....
</dependencies>
....
</project>
5. How to install?
有些小伙伴想下载并 自行install 进行研究, 你需要执行以下 4 个步骤:
git clone https://github.com/venusdrogon/feilong-platform.git --depth 1
mvn install -f feilong-platform/pom.xml
git clone https://github.com/venusdrogon/feilong-core.git --depth 1
mvn install -f feilong-core/pom.xml
详细参考 https://github.com/venusdrogon/feilong-core/wiki/install
6. Proxying feilong Repositories with Nexus
如果你使用 Sonatype's Nexus repository manager, 你可能想要在Nexus configuration配置中将 feilong repositories 添加到 nexus proxy repositories.
下面是注意点:
- 由于 feilong repositories 没有索引. 你需要将
Remote Repository Access > Download Remote Indexes设置为false. - 由于 GitHub 对于
rawrepository url目录不会生成目录列表 , 请将 NexusRemote Repository Access > Auto blocking active设置为false.
上面两步操作之后, 你可以看到 Repository Status 变成了 Attempting to Proxy and Remote Unavailable.
Nexus 在缺失目录列表的情况下仍然可以访问指定的 artifact, pom 和其他文件 .
示例:

7.帮助:
8.sonar 扫描

9.:memo: 说明
- 基于 Apache2 协议,您可以下载代码用于闭源项目,但每个修改的过的文件必须放置版权说明;
- require-jdk-version
- dependencies
10.Q&A
10.1 Q1:这是重复造轮子吗?
A: https://github.com/venusdrogon/feilong-core/wiki/Repeat-the-wheel
11.:cyclone: feilong 即时交流
QQ 群 243306798 |
|---|
![]() |
12:panda_face: About
如果您对本项目有任何建议和批评,可以使用下面的联系方式:
- iteye博客:http://feitianbenyue.iteye.com/
