Skip to content

Commit

Permalink
deegree#1173 - fixed download of workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoltz committed Aug 16, 2021
1 parent f57a6a8 commit 646fcfd
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -372,14 +372,12 @@ public List<String> getRemoteWorkspaces() {
}

private void addWorkspaceLocation( String wsArtifactName, List<String> list ) {
String repo = getVersion().endsWith( "SNAPSHOT" ) ? "snapshots" : "releases";
String version = getVersion().endsWith( "SNAPSHOT" ) ? "LATEST" : getVersion();
String url = "https://repo.deegree.org/service/rest/v1/search/assets/download?"
+ "repository=" + repo
+ "repository=releases"
+ "&maven.groupId=org.deegree"
+ "&maven.artifactId=" + wsArtifactName
+ "&version=" + version
+ "&maven.extension=deegree-workspace";
+ "&version=LATEST"
+ "&maven.extension=zip";
workspaceLocations.put( wsArtifactName, url );
list.add( wsArtifactName );
}
Expand Down

0 comments on commit 646fcfd

Please sign in to comment.