diff --git a/cli/pom.xml b/cli/pom.xml index c2624a8fe..9f47e2369 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -152,17 +152,17 @@ - target/${project.artifactId}-linux-x64.tar.gz + ${project.build.directory}/${project.artifactId}-linux-x64.tar.gz tar.gz linux - target/${project.artifactId}-windows-x64.tar.gz + ${project.build.directory}/${project.artifactId}-windows-x64.tar.gz tar.gz windows - target/${project.artifactId}-mac-x64.tar.gz + ${project.build.directory}/${project.artifactId}-mac-x64.tar.gz tar.gz mac @@ -206,9 +206,7 @@ true - - ${imageName} - + ${imageName} --enable-url-protocols=https -H:IncludeResources="nls/.*" @@ -216,6 +214,34 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-documentation + prepare-package + + copy + + + + + + + ${project.groupId} + ide-doc + ${project.version} + pdf + IDEasy-documentation.pdf + + + ${project.build.directory}/package + false + true + + org.apache.maven.plugins maven-assembly-plugin @@ -230,7 +256,7 @@ ${releaseName} false - /src/main/assembly/exec.xml + /src/main/assembly/release.xml diff --git a/cli/src/main/assembly/exec.xml b/cli/src/main/assembly/release.xml similarity index 100% rename from cli/src/main/assembly/exec.xml rename to cli/src/main/assembly/release.xml diff --git a/cli/src/main/java/com/devonfw/tools/ide/repo/CustomToolRepositoryImpl.java b/cli/src/main/java/com/devonfw/tools/ide/repo/CustomToolRepositoryImpl.java index 29fb8172d..584535d7f 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/repo/CustomToolRepositoryImpl.java +++ b/cli/src/main/java/com/devonfw/tools/ide/repo/CustomToolRepositoryImpl.java @@ -164,7 +164,7 @@ public static CustomToolRepository of(IdeContext context) { String url = getString(jsonToolObject, "url", defaultUrl); boolean osAgnostic = getBoolean(jsonToolObject, "os-agnostic", Boolean.FALSE); boolean archAgnostic = getBoolean(jsonToolObject, "arch-agnostic", Boolean.TRUE); - if (defaultUrl.isEmpty()) { + if (url.isEmpty()) { throw new IllegalStateException("Missing 'url' property for tool '" + name + "'!"); } // TODO