mirror of
https://github.com/rgl/nexus-vagrant.git
synced 2026-09-30 00:31:11 +02:00
upgrade to nexus 3.70.3-01
This commit is contained in:
@@ -17,7 +17,7 @@ binaries: binaries-download
|
||||
|
||||
binaries-download:
|
||||
mkdir -p binaries
|
||||
wget -qO- https://download.sonatype.com/nexus/3/nexus-3.58.1-02-unix.tar.gz \
|
||||
wget -qO- https://download.sonatype.com/nexus/3/nexus-3.70.3-01-unix.tar.gz \
|
||||
| tar xzf - --strip-components 1 -C binaries
|
||||
|
||||
clean:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<nx-version>3.58.1-02</nx-version>
|
||||
<nx-version>3.70.3-01</nx-version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@@ -111,7 +111,7 @@ taskConfiguration.setString("snapshotRetentionDays", "30")
|
||||
taskScheduler.scheduleTask(taskConfiguration, new Daily(new Date().clearTime().next()))
|
||||
|
||||
|
||||
// NB you can list the available realms with realmManager.availableRealms.
|
||||
// enable the required realms.
|
||||
realmManager = container.lookup(RealmManager.class.name)
|
||||
// enable the NuGet API-Key Realm.
|
||||
realmManager.enableRealm("NuGetApiKey")
|
||||
@@ -155,7 +155,6 @@ addDeployerUser("Jenkins", "Doe", "jenkins@example.com", "jenkins", "password")
|
||||
addDeployerUser("Alice", "Doe", "alice.doe@example.com", "alice.doe", "password")
|
||||
addDeployerUser("Bob", "Doe", "bob.doe@example.com", "bob.doe", "password")
|
||||
|
||||
realms = realmManager.configuration.realmNames
|
||||
users = security.securitySystem.searchUsers(new UserSearchCriteria())
|
||||
repositories = repository.repositoryManager.browse().collect { [name:it.name,type:it.type.value] }
|
||||
|
||||
@@ -174,7 +173,6 @@ return JsonOutput.toJson([
|
||||
initialValue: it.initialValue,
|
||||
] }
|
||||
] },*/
|
||||
realms: realms.sort { it },
|
||||
users: users.sort { it.userId },
|
||||
repositories: repositories.sort { it.name },
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user