-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnexus-initial-example.hcl
57 lines (53 loc) · 1.11 KB
/
nexus-initial-example.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
repository "apache-snapshots" {
_state = "absent"
}
repository "central-m1" {
_state = "absent"
}
repository "thirdparty" {
name = "Third Party"
_state = "present"
}
repository "scm-releases" {
name = "SCM-Manager Releases"
format = "maven2"
provider = "maven2"
artifactMaxAge = -1
autoBlockActive = true
browseable = true
checksumPolicy = "WARN"
downloadRemoteIndexes = true
exposed = true
fileTypeValidation = true
indexable = true
itemMaxAge = 1440
metadataMaxAge = 1440
notFoundCacheTTL = 1440
providerRole = "org.sonatype.nexus.proxy.repository.Repository"
remoteStorage = {
remoteStorageUrl = "https://maven.scm-manager.org/nexus/content/repositories/releases/"
}
repoPolicy = "RELEASE"
repoType = "proxy"
writePolicy = "READ_ONLY"
_state = "present"
}
repository_group "public" {
name = "Public Repositories"
format = "maven2"
provider = "maven2"
repoType = "group"
exposed = true
repositories = [{
id = "releases"
}, {
id = "snapshots"
},{
id = "central"
}, {
id = "scm-releases"
}, {
id = "thirdparty"
}]
_state = "present"
}