fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 133 forks source link

Do all dependent jar packages have to be obtained from Maven? #359

Closed Xiaobaishushu25 closed 1 year ago

Xiaobaishushu25 commented 1 year ago

I'm submitting a…

Short description of the issue/suggestion:

Do all dependent jar packages have to be obtained from Maven?My project has many jar which obtained from Maven,and a jar manually introduced by me.

What is the current behavior?

now use JavaPackager it report a error: RQTLI4 OAN5EW GEX0 }2GH The main idea is that I couldn't find the jar package that I manually imported. I flipped through several pages of the issue and couldn't find any similar issues, so I opened this issue.

Please tell us about your environment:

lhDream commented 1 year ago

@Xiaobaishushu25 使用的本地导入方式是什么

Xiaobaishushu25 commented 1 year ago

@Xiaobaishushu25 使用的本地导入方式是什么

我已经知道怎么处理了,只需在pom.xml中添加jar包路径: `

eawtstub
        <artifactId>eawtstub</artifactId>
        <version>1.0.0</version>
        <scope>system</scope>
        <systemPath>${project.basedir}/lib/eawtstub.jar</systemPath>
    </dependency>`

已经成功打包,感谢您的回复