Skip to content

Commit

Permalink
Merge pull request #16 from gtudan/15
Browse files Browse the repository at this point in the history
compatibility with nexus 3.19
  • Loading branch information
chenlingmin authored Apr 3, 2020
2 parents d1b3535 + d3291c7 commit 0215b9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ repositories {

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-plugin-api', version: '3.5.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-repository', version: '3.5.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-rest', version: '3.5.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-plugin-api', version: '3.20.1-01'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-repository', version: '3.20.1-01'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-rest', version: '3.20.1-01'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public List<RundeckXO> version(
}

log.debug("rundeck maven version query: {}", query);
SearchResponse result = searchService.search(
SearchResponse result = searchService.searchUnrestricted(
query,
Collections.singletonList(new FieldSortBuilder("assets.attributes.content.last_modified").order(SortOrder.DESC)),
0,
Expand Down

0 comments on commit 0215b9a

Please sign in to comment.