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

maven upload regex bug #660

Open
fekal0id opened this issue Jul 27, 2024 · 1 comment
Open

maven upload regex bug #660

fekal0id opened this issue Jul 27, 2024 · 1 comment
Labels
bug Something isn't working pinned

Comments

@fekal0id
Copy link

What happened:
Some artifacts with specified groupId and artifactId can't upload to Nexus Maven repo
Probably wrong regex parsing

All upload errors in logfiles

upload.log

Environment:

  • nexus version: 3
  • n3dr version (use n3dr -v): 7.5.2
  • OS (e.g: cat /etc/os-release): Windows
  • Kernel (e.g. uname -a):
  • Others:
@fekal0id fekal0id added the bug Something isn't working label Jul 27, 2024
@030 030 added the pinned label Aug 4, 2024
@renjfk
Copy link

renjfk commented Sep 3, 2024

I ran into a similar problem and this time it was because the file extension didn't match the regex on upload.go#L136. And unfortunately I couldn't fix it with N3DR_MAVEN_UPLOAD_REGEX_VERSION or N3DR_MAVEN_UPLOAD_REGEX_CLASSIFIER because it's hardcoded.

I'm wondering if the program should be this strict because all I've done is export from one Nexus instance and import into another and some Maven releases have files that end with .lastUpdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

3 participants