We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Copied from discussion in [30568] - originally for a different issue and now closed with pending PR.
Gitea made a poor descision (IMHO) to use the separator '-' between groupID and artifactID.
Consider the following:
<groupId>foo</groupId> <artifactId>bar-jdbc</artifactId> <version>1-SNAPSHOT</version> <groupId>foo-bar</groupId> <artifactId>jdbc</artifactId> <version>1-SNAPSHOT</version>
Both result in the same URL: packages/maven/foo-bar-jdbc/1-SNAPSHOT
Although a '-' in a groupID is not "good-practice", it is not forbidden and perfectly valid and in common use.
For example:
<dependency> <groupId>commons-lang.wso2</groupId> <artifactId>commons-lang</artifactId> <version>2.6.0.wso2v1</version> </dependency>
1.22.6
Yes
No response
Linux
PostgreSQL
The text was updated successfully, but these errors were encountered:
Will fix it in 1.24 (could try to backport but I can't promise)
Sorry, something went wrong.
Now here it is Refactor maven package registry #33049
e5c576e
Successfully merging a pull request may close this issue.
Description
Copied from discussion in [30568] - originally for a different issue and now closed with pending PR.
Gitea made a poor descision (IMHO) to use the separator '-' between groupID and artifactID.
Consider the following:
Both result in the same URL:
packages/maven/foo-bar-jdbc/1-SNAPSHOT
Although a '-' in a groupID is not "good-practice", it is not forbidden and perfectly valid and in common use.
For example:
Gitea Version
1.22.6
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Linux
How are you running Gitea?
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: