Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

别浪费时间了,纯粹就是引流的 #41

Open
luobintianya opened this issue Apr 8, 2024 · 1 comment
Open

别浪费时间了,纯粹就是引流的 #41

luobintianya opened this issue Apr 8, 2024 · 1 comment

Comments

@luobintianya
Copy link

别浪费时间了,纯粹就是引流的,下来代码mvn仓库依赖包都找不到, 编译通不过!

@neko-11
Copy link
Contributor

neko-11 commented Apr 8, 2024

编译

开源的HZERO源码若要使用需要进行本地编译打包或上传到私人的maven仓库

  • 本地编译打包

执行hzero-service目录下的install.bat或者install.sh脚本

  • 上传到私人仓库

hzero-service/pom.xml文件中添加仓库声明

<distributionManagement>
    <repository>
        <id>{Repository Id}</id>
        <name>{Repository Name}</name>
        <url>{Repository Url}</url>
    </repository>
</distributionManagement>

修改hzero-service目录下的install.bat或者install.sh脚本,添加deploy,例如:

mvn clean install -Dmaven.springboot.skip=true -Dmaven.test.skip=true -Dfile.encoding=UTF-8
->
mvn clean install deploy -Dmaven.springboot.skip=true -Dmaven.test.skip=true -Dfile.encoding=UTF-8

再执行脚本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants