|
27 | 27 | <password>${env.URM_CREDS_PSW}</password> |
28 | 28 | <id>snapshots</id> |
29 | 29 | </server> |
| 30 | + <server> |
| 31 | + <username>${env.URM_CREDS_USR}</username> |
| 32 | + <password>${env.URM_CREDS_PSW}</password> |
| 33 | + <id>cloudera-repo-fallback</id> |
| 34 | + </server> |
| 35 | + <server> |
| 36 | + <username>${env.URM_CREDS_USR}</username> |
| 37 | + <password>${env.URM_CREDS_PSW}</password> |
| 38 | + <id>apache.snapshots</id> |
| 39 | + </server> |
| 40 | + <server> |
| 41 | + <username>${env.URM_CREDS_USR}</username> |
| 42 | + <password>${env.URM_CREDS_PSW}</password> |
| 43 | + <id>apache.snapshots.https</id> |
| 44 | + </server> |
| 45 | + <server> |
| 46 | + <username>${env.URM_CREDS_USR}</username> |
| 47 | + <password>${env.URM_CREDS_PSW}</password> |
| 48 | + <id>apache-snapshots-repo</id> |
| 49 | + </server> |
| 50 | + <server> |
| 51 | + <username>${env.URM_CREDS_USR}</username> |
| 52 | + <password>${env.URM_CREDS_PSW}</password> |
| 53 | + <id>cloudera-repo</id> |
| 54 | + </server> |
30 | 55 | <server> |
31 | 56 | <id>ossrh</id> |
32 | 57 | <username>${env.SONATYPE_USR}</username> |
|
35 | 60 | </servers> |
36 | 61 | <profiles> |
37 | 62 | <profile> |
| 63 | + <id>artifactory</id> |
38 | 64 | <repositories> |
39 | 65 | <repository> |
40 | | - <snapshots> |
41 | | - <enabled>false</enabled> |
42 | | - </snapshots> |
43 | 66 | <id>central</id> |
44 | 67 | <name>sw-spark-maven</name> |
45 | 68 | <url>${env.URM_URL}</url> |
| 69 | + <snapshots> |
| 70 | + <enabled>false</enabled> |
| 71 | + </snapshots> |
46 | 72 | </repository> |
47 | 73 | <repository> |
48 | | - <snapshots /> |
49 | 74 | <id>snapshots</id> |
50 | 75 | <name>sw-spark-maven</name> |
51 | 76 | <url>${env.URM_URL}</url> |
| 77 | + <snapshots /> |
52 | 78 | </repository> |
53 | 79 | </repositories> |
54 | 80 | <pluginRepositories> |
55 | 81 | <pluginRepository> |
56 | | - <snapshots> |
57 | | - <enabled>false</enabled> |
58 | | - </snapshots> |
59 | 82 | <id>central</id> |
60 | 83 | <name>sw-spark-maven</name> |
61 | 84 | <url>${env.URM_URL}</url> |
| 85 | + <snapshots> |
| 86 | + <enabled>false</enabled> |
| 87 | + </snapshots> |
62 | 88 | </pluginRepository> |
63 | 89 | <pluginRepository> |
64 | | - <snapshots /> |
65 | 90 | <id>snapshots</id> |
66 | 91 | <name>sw-spark-maven</name> |
67 | 92 | <url>${env.URM_URL}</url> |
| 93 | + <snapshots /> |
68 | 94 | </pluginRepository> |
69 | 95 | </pluginRepositories> |
70 | | - <id>artifactory</id> |
71 | 96 | </profile> |
| 97 | + <!-- Maps upstream repo ids (POM mirrors) to URM; id kept for -P mirror-apache-to-urm in Jenkins --> |
72 | 98 | <profile> |
73 | 99 | <id>mirror-apache-to-urm</id> |
74 | 100 | <repositories> |
|
77 | 103 | <name>sw-spark-maven</name> |
78 | 104 | <url>${env.URM_URL}</url> |
79 | 105 | </repository> |
80 | | - </repositories> |
81 | | - </profile> |
82 | | - <profile> |
83 | | - <id>mirror-apache-https-to-urm</id> |
84 | | - <repositories> |
85 | 106 | <repository> |
86 | 107 | <id>apache.snapshots.https</id> |
87 | 108 | <name>sw-spark-maven</name> |
88 | 109 | <url>${env.URM_URL}</url> |
89 | 110 | </repository> |
90 | | - </repositories> |
91 | | - </profile> |
92 | | - <profile> |
93 | | - <id>mirror-apache2-to-urm</id> |
94 | | - <repositories> |
95 | 111 | <repository> |
96 | 112 | <id>apache-snapshots-repo</id> |
97 | 113 | <name>sw-spark-maven</name> |
98 | 114 | <url>${env.URM_URL}</url> |
99 | 115 | </repository> |
100 | | - </repositories> |
101 | | - </profile> |
102 | | - <profile> |
103 | | - <id>mirror-cloudera-to-urm</id> |
104 | | - <repositories> |
105 | 116 | <repository> |
106 | 117 | <id>cloudera-repo</id> |
107 | 118 | <name>sw-spark-maven</name> |
108 | 119 | <url>${env.URM_URL}</url> |
109 | 120 | </repository> |
110 | | - </repositories> |
111 | | - </profile> |
112 | | - <profile> |
113 | | - <id>mirror-cloudera-fallback-to-urm</id> |
114 | | - <repositories> |
115 | 121 | <repository> |
116 | 122 | <id>cloudera-repo-fallback</id> |
117 | 123 | <name>sw-spark-maven</name> |
|
122 | 128 | <profile> |
123 | 129 | <id>deploy-to-urm</id> |
124 | 130 | <properties> |
125 | | - <altDeploymentRepository>snapshots::default::${env.URM_URL}-local</altDeploymentRepository> |
| 131 | + <altDeploymentRepository>snapshots::default::${env.URM_URL}-local</altDeploymentRepository> |
126 | 132 | </properties> |
127 | | - </profile> |
| 133 | + </profile> |
128 | 134 | </profiles> |
129 | 135 | <activeProfiles> |
130 | 136 | <activeProfile>artifactory</activeProfile> |
131 | 137 | <activeProfile>mirror-apache-to-urm</activeProfile> |
132 | | - <activeProfile>mirror-apache-https-to-urm</activeProfile> |
133 | | - <activeProfile>mirror-apache2-to-urm</activeProfile> |
134 | | - <activeProfile>mirror-cloudera-to-urm</activeProfile> |
135 | | - <activeProfile>mirror-cloudera-fallback-to-urm</activeProfile> |
136 | 138 | <activeProfile>deploy-to-urm</activeProfile> |
137 | 139 | </activeProfiles> |
138 | 140 | </settings> |
0 commit comments