Skip to content

Commit

Permalink
devonfw#1517 Removed java 11 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylesto committed Nov 7, 2022
1 parent 6b81f91 commit 9b66633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ public static Path determineMavenRepositoryPath() {
}

/**
* Returns maven's settings.xml as a string by using maven evaluate
*
* @return the maven's settings.xml as string
*/
public static String determineMavenSettings() {
Expand Down
1 change: 0 additions & 1 deletion cobigen/core-artifact-retriever/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x

<properties>
<skip.deployment>false</skip.deployment>
<java.version>11</java.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private TemplateSetConfiguration generateMavenTemplateSetConfiguration(Path temp

try {
LOG.debug("Trying to read template set artifact file at: {}", templateSetFilePath.toAbsolutePath());
templateSetFileContent = Files.readString(templateSetFilePath);
templateSetFileContent = new String(Files.readAllBytes(templateSetFilePath));
} catch (IOException e) {
throw new CobiGenRuntimeException("Unable to read test template-set.xml file", e);
}
Expand Down

0 comments on commit 9b66633

Please sign in to comment.