Commit d4331a6
Fix ArtifactPathInfo to reject non-standard paths
Add validation to ensure filenames follow Maven naming convention
(artifactId-version-...) and reject paths where the regex matches but
produces incorrect parsing results. This prevents mis-parsing of
non-standard paths like RPM artifacts that don't conform to Maven layout.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f8007c3 commit d4331a6
File tree
2 files changed
+18
-2
lines changed- identities/src
- main/java/org/commonjava/atlas/maven/ident/util
- test/java/org/commonjava/atlas/maven/ident/util
2 files changed
+18
-2
lines changedLines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
| |||
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
134 | | - | |
135 | | - | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
| |||
0 commit comments