LPS-52169 Remove redundant target calls
LPS-52169 Use a more reliable chain of dependency uptodate checks (deploy will not be considered uptodate unless jar is, which will not be considered uptodate unless compile is)