diff --git a/ui/src/main/java/org/eclipse/starter/ui/Project.java b/ui/src/main/java/org/eclipse/starter/ui/Project.java index 046ce0b..1fb5d00 100644 --- a/ui/src/main/java/org/eclipse/starter/ui/Project.java +++ b/ui/src/main/java/org/eclipse/starter/ui/Project.java @@ -400,7 +400,7 @@ public void generate() { LOGGER.info("Downloading zip file."); downloadZip(new File(workingDirectory, artifactId + ".zip")); - // caching makes only sense if defaults weren't changed since otherwise it's unlikely to hit cache + // Caching makes only sense if defaults weren't changed since otherwise it's unlikely to hit cache. if (groupId.equals(DEFAULT_GROUPID) && artifactId.equals(DEFAULT_ARTIFACTID)) { LOGGER.info("Caching output."); cache.put(getCacheKey(), workingDirectory.getAbsolutePath()); @@ -420,7 +420,7 @@ public void generate() { } private String getCacheKey() { - return jakartaVersion + ":" + profile + ":" + javaVersion + ":" + docker + ":" + runtime; + return jakartaVersion + ":" + profile + ":" + javaVersion + ":" + docker + ":" + runtime + ":" + groupId + ":" + artifactId; } private void downloadZip(File zip) {