10000 GitHub - PiFind/common: PiFind 公共库
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PiFind/common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiFind 通用库

所有 PiFind 的web服务相关项目都要引入该项目

注意: 该版本为快照版本

包介绍

  • annotation : 注解包。
  • i18n : 国际化包,提供了标注的国际化工具类。
  • response : Web标准响应包,规定了标准响应的包装类。
  • util : 通用的工具类。

Maven 引入方式

第一步 请在 Maven 的 setting.xml 中添加如下服务器配置

<servers>
    <server>
      <id>pifind-maven-releases</id>
      <username>subscriber</username>
      <password>PiFind@2023$</password>
    </server>
    <server>
      <id>pifind-maven-snapshots</id>
      <username>subscriber</username>
      <password>PiFind@2023$</password>
    </server>
</servers>

第二步 在项目中增加 pifind 仓库

<repositories>
    <repository>
        <id>pifind-maven-releases</id>
        <url>https://pifind.mvn.pub/repository/maven-releases/</url>
    </repository>
    <repository>
        <id>pifind-maven-snapshots</id>
        <url>https://pifind.mvn.pub/repository/maven-snapshots/</url>
    </repository>
</repositories>

第三步 在项目的 pom.xml 中加入如下依赖

<!-- PiFind 公共仓库 -->
<dependency>
    <groupId>io.pifind</groupId>
    <artifactId>common</artifactId>
    <version>0.0.2-snapshot</version>
</dependency>
0