extract-tls-secrets icon indicating copy to clipboard operation
extract-tls-secrets copied to clipboard

Published 4.0.0 package is not installable on Linux

Open p12tic opened this issue 4 years ago • 3 comments

The pom.xml file contains reference to the path of the package that's specific to the system where the package is built.

See https://search.maven.org/artifact/name.neykov/extract-tls-secrets/4.0.0/jar:

<systemPath>/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/../lib/tools.jar</systemPath>

p12tic avatar Jun 29 '21 15:06 p12tic

Maven build reports if extract-tls-secrets used as dependency:

[WARNING] The POM for name.neykov:extract-tls-secrets:jar:4.0.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for name.neykov:extract-tls-secrets:4.0.0
[ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/../lib/tools.jar @

tkeksa avatar Nov 13 '24 10:11 tkeksa

I haven't realised the app could be used as a dependency so haven't given much priority in fixing this. I'll try to look into it. Is there any parts that would make it easier to consume as a library?

neykov avatar Nov 19 '24 20:11 neykov

It makes no sense to use it as library but as Maven dependency downloaded from Maven repository during packaging.

tkeksa avatar Nov 20 '24 06:11 tkeksa