100101102103104105106107108109110
ArtifactVersion current = new DefaultArtifactVersion(getVersion()); if (rec != null) { ArtifactVersion recommended = new DefaultArtifactVersion(rec); int diff = recommended.compareTo(current); if (diff == 0) status = UP_TO_DATE; else if (diff < 0) {