JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-539  -  Location API - Maven central location
Posted Jul 03, 2018 - updated Jul 03, 2018
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Core
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.0
Issue description
We propose to add a new implementation of the Location interface, named MavenCentralLocation. This class inherits from URLLocation and merely add constructors to allow specifying artifacts to download from Maven central in the form "groupId:artifactId:version".

Example:
// create a Maven central location with default "jar" extension/packaging
Location<URL> loc = new MavenCentralLocation("org.jppf:jppf-node:5.2.9");
// download from Maven central and copy to the file lib/jppf-node-5.2.9.jar
loc.copyTo(new FileLocation("lib/jppf-node-5.2.9.jar"));
Additionally, the documentation section on the lcoation API should be moved from the "Development guide > Task objects" page to its own page under "Development guide"