sigstore / sigstore-maven

sigstore maven plugin
Other
8 stars 4 forks source link

Error signing artifact /Users/m/w/projects/finos-parent-pom/target/finos-5-SNAPSHOT.pom.: java.net.SocketException: No such file or directory; errno=2 #7

Open maoo opened 2 years ago

maoo commented 2 years ago

Description

When trying to use the sigstore-maven-plugin I get java.net.SocketException: No such file or directory, referring to the .pom file; it seems that there is a trailing . char, which shouldn't probably be there. You can find the full log on https://github.com/finos/finos-parent-pom/issues/9#issuecomment-1164151349

Before digging into the plugin code, I was wondering if anyone have already experienced this issue. Please let me know if you need more info; thanks in advance!

Version

Steps to reproduce

git clone git@github.com:finos/finos-parent-pom.git
cd finos-parent-pom
mvn deploy -Psigstore-release -DrepoServerHost=oss.sonatype.org
Rogier718 commented 2 years ago

How do I install the maven plugin?

maoo commented 2 years ago

How do I install the maven plugin?

Hi @Rogier718 - I don't think that your question is relevant to this issue, but I'll try to help you out. I'd suggest to read the following, in this order:

For further questions, please open a new issue, as this one aims to answer a different question. Hope this helps!

maoo commented 2 years ago

Any update on this?

I tried to read the code, but I couldn't find anything obvious. Did anyone encounter this issue?