Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
At the moment, dependencies are downloaded in the get-deps-target. For system dependencies, this is not necessary - the classpath-entries should directly reference the systemPath.
I've added a patch against the 2.2-release.
What does it do:
This allows for the generation of Ant files to be used in environments, where no Maven repository is available.
- for system scope artifacts, the corresponding dependency is looked up and the systemPath is returned as path
- as the systemPath contains no more properties, each property value is replaced by its key, e.g. C:\project\target\archiv.jar becomes {{${basedir}\target\archiv.jar}}
- for system scope artifacts, no get-deps-entry is created
This allows for the generation of Ant files to be used in environments, where no Maven repository is available.