gnodet commented on issue #12588:
URL: https://github.com/apache/maven/issues/12588#issuecomment-5457538598

   Closing as invalid after investigation.
   
   The file 
`compat/maven-compat/src/main/java/org/apache/maven/artifact/MavenArtifact.java`
 **does not exist** and has never existed in git history.
   
   The only `MavenArtifact.java` in the codebase is at 
`compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java`
 — a completely different class in package `org.apache.maven.repository.legacy` 
that implements `ArtifactTransferResource` (for transfer/download tracking), 
not the Maven `Artifact` interface. It has no `setFile()` method at all.
   
   All actual compat `Artifact` implementations have working `setFile()`:
   - `DefaultArtifact.setFile()` correctly stores `this.file = file`
   - `ActiveProjectArtifact.setFile()` properly delegates to both the wrapped 
artifact and the project's artifact
   - The Maven 4 API handles artifact files through `ArtifactManager.setPath()` 
which correctly propagates to Maven 3 compat


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to