Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.1.0-M1
-
None
-
None
-
Any
Description
My project use system dependencies pointing to class folders.
<dependency>
<groupId>class-folder</groupId>
<artifactId>class-folder</artifactId>
<version>N</version>
<scope>system</scope>
<systemPath>C:/appli/classes</systemPath>
</dependency>
Such class folders dependencies worked fine with maven 2.0.7
They are needed by my project as it relies on a legacy application not packaged into a jar file.
Root cause is located in file DefaultArtifactResolver.java:
if ( !systemFile.isFile() )
{ throw new ArtifactNotFoundException( "System artifact: " + artifact + " is not a file: " + systemFile, artifact ); }Attachments
Attachments
Issue Links
- is related to
-
MNG-3288 Invalid systemPath allows build to continue--failing in later phase.
- Closed