|
5 | 5 | <parent> |
6 | 6 | <groupId>org.jenkins-ci.plugins</groupId> |
7 | 7 | <artifactId>plugin</artifactId> |
8 | | - <version>3.43</version> |
| 8 | + <version>4.2</version> |
9 | 9 | <relativePath /> |
10 | 10 | </parent> |
11 | 11 |
|
|
34 | 34 | <properties> |
35 | 35 | <revision>1.17</revision> |
36 | 36 | <changelist>-SNAPSHOT</changelist> |
37 | | - <jenkins.version>2.150.1</jenkins.version> |
| 37 | + <jenkins.version>2.222.4</jenkins.version> |
38 | 38 | <java.level>8</java.level> |
39 | | - <workflow-step-api.version>2.19</workflow-step-api.version> |
40 | | - <workflow-cps.version>2.67</workflow-cps.version> |
41 | | - <workflow-support.version>3.3</workflow-support.version> |
| 39 | + <pipeline-model-definition-version>1.3.8</pipeline-model-definition-version> |
| 40 | + <jcasc.version>1.41</jcasc.version> |
42 | 41 | </properties> |
43 | 42 |
|
44 | 43 | <repositories> |
|
59 | 58 | <dependency> |
60 | 59 | <groupId>org.jenkins-ci.plugins</groupId> |
61 | 60 | <artifactId>credentials</artifactId> |
62 | | - <version>2.1.18</version> |
63 | 61 | </dependency> |
64 | 62 | <dependency> |
65 | 63 | <groupId>org.jenkins-ci.plugins</groupId> |
66 | 64 | <artifactId>credentials-binding</artifactId> |
67 | | - <version>1.18</version> |
68 | 65 | </dependency> |
69 | 66 | <dependency> |
70 | 67 | <groupId>org.jenkins-ci.plugins</groupId> |
|
74 | 71 | <dependency> |
75 | 72 | <groupId>org.jenkinsci.plugins</groupId> |
76 | 73 | <artifactId>pipeline-model-extensions</artifactId> |
77 | | - <version>1.3.8</version> |
| 74 | + <version>${pipeline-model-definition-version}</version> |
78 | 75 | <!-- optional because the dependency subtree is quite large --> |
79 | 76 | <optional>true</optional> |
80 | 77 | </dependency> |
|
84 | 81 | <artifactId>multiline-secrets-ui</artifactId> |
85 | 82 | <version>1.0</version> |
86 | 83 | </dependency> |
87 | | - |
88 | | - <!-- for Pipeline-based unit tests --> |
89 | 84 | <dependency> |
90 | 85 | <groupId>org.jenkins-ci.plugins</groupId> |
91 | | - <artifactId>scm-api</artifactId> |
92 | | - <version>2.4.1</version> |
93 | | - <scope>test</scope> |
| 86 | + <artifactId>structs</artifactId> |
94 | 87 | </dependency> |
| 88 | + |
| 89 | + <!-- for Pipeline-based unit tests --> |
95 | 90 | <dependency> |
96 | 91 | <groupId>org.jenkins-ci.plugins</groupId> |
97 | | - <artifactId>structs</artifactId> |
98 | | - <version>1.18</version> |
| 92 | + <artifactId>scm-api</artifactId> |
99 | 93 | <scope>test</scope> |
100 | 94 | </dependency> |
101 | 95 | <dependency> |
102 | 96 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
103 | 97 | <artifactId>workflow-api</artifactId> |
104 | | - <version>2.33</version> |
105 | 98 | <scope>test</scope> |
106 | 99 | </dependency> |
107 | 100 | <dependency> |
108 | 101 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
109 | 102 | <artifactId>workflow-step-api</artifactId> |
110 | | - <version>${workflow-step-api.version}</version> |
111 | 103 | <scope>test</scope> |
112 | 104 | </dependency> |
113 | 105 | <dependency> |
114 | 106 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
115 | 107 | <artifactId>workflow-step-api</artifactId> |
116 | | - <version>${workflow-step-api.version}</version> |
117 | 108 | <classifier>tests</classifier> |
118 | 109 | <scope>test</scope> |
119 | 110 | </dependency> |
120 | 111 | <dependency> |
121 | 112 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
122 | 113 | <artifactId>workflow-cps</artifactId> |
123 | | - <version>${workflow-cps.version}</version> |
124 | 114 | <scope>test</scope> |
125 | 115 | </dependency> |
126 | 116 | <dependency> |
127 | 117 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
128 | 118 | <artifactId>workflow-cps</artifactId> |
129 | | - <version>${workflow-cps.version}</version> |
130 | 119 | <classifier>tests</classifier> |
131 | 120 | <scope>test</scope> |
132 | 121 | </dependency> |
133 | 122 | <dependency> |
134 | 123 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
135 | 124 | <artifactId>workflow-job</artifactId> |
136 | | - <version>2.32</version> |
137 | 125 | <scope>test</scope> |
138 | 126 | </dependency> |
139 | 127 | <dependency> |
140 | 128 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
141 | 129 | <artifactId>workflow-durable-task-step</artifactId> |
142 | | - <version>2.30</version> |
143 | 130 | <scope>test</scope> |
144 | 131 | </dependency> |
145 | 132 | <dependency> |
146 | 133 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
147 | 134 | <artifactId>workflow-basic-steps</artifactId> |
148 | | - <version>2.15</version> |
149 | 135 | <scope>test</scope> |
150 | 136 | </dependency> |
151 | 137 | <dependency> |
152 | 138 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
153 | 139 | <artifactId>workflow-support</artifactId> |
154 | | - <version>${workflow-support.version}</version> |
155 | 140 | <scope>test</scope> |
156 | 141 | </dependency> |
157 | 142 | <dependency> |
158 | 143 | <groupId>org.jenkins-ci.plugins.workflow</groupId> |
159 | 144 | <artifactId>workflow-support</artifactId> |
160 | | - <version>${workflow-support.version}</version> |
161 | 145 | <classifier>tests</classifier> |
162 | 146 | <scope>test</scope> |
163 | 147 | </dependency> |
164 | 148 | <dependency> |
165 | 149 | <groupId>org.jenkinsci.plugins</groupId> |
166 | 150 | <artifactId>pipeline-model-definition</artifactId> |
167 | | - <version>1.3.8</version> |
168 | | - <scope>test</scope> |
169 | | - </dependency> |
170 | | - <!-- these dependencies are added to satisfy the enforcer rules --> |
171 | | - <dependency> |
172 | | - <groupId>org.apache.commons</groupId> |
173 | | - <artifactId>commons-lang3</artifactId> |
174 | | - <version>3.7</version> |
| 151 | + <version>${pipeline-model-definition-version}</version> |
175 | 152 | <scope>test</scope> |
176 | 153 | </dependency> |
| 154 | + <!-- Dependencies for testing JCasC compatibility--> |
177 | 155 | <dependency> |
178 | | - <groupId>org.jenkins-ci.plugins</groupId> |
179 | | - <artifactId>mailer</artifactId> |
180 | | - <version>1.20</version> |
| 156 | + <groupId>io.jenkins</groupId> |
| 157 | + <artifactId>configuration-as-code</artifactId> |
| 158 | + <version>${jcasc.version}</version> |
181 | 159 | <scope>test</scope> |
182 | 160 | </dependency> |
183 | 161 | <dependency> |
184 | | - <groupId>org.jenkins-ci.plugins</groupId> |
185 | | - <artifactId>ssh-credentials</artifactId> |
186 | | - <version>1.13</version> |
| 162 | + <groupId>io.jenkins.configuration-as-code</groupId> |
| 163 | + <artifactId>test-harness</artifactId> |
| 164 | + <version>${jcasc.version}</version> |
187 | 165 | <scope>test</scope> |
188 | 166 | </dependency> |
| 167 | + <!-- these dependencies are added to satisfy the enforcer rules --> |
189 | 168 | <dependency> |
190 | | - <groupId>org.jenkins-ci.plugins.workflow</groupId> |
191 | | - <artifactId>workflow-scm-step</artifactId> |
192 | | - <version>2.6</version> |
| 169 | + <groupId>org.apache.commons</groupId> |
| 170 | + <artifactId>commons-lang3</artifactId> |
| 171 | + <version>3.9</version> |
193 | 172 | <scope>test</scope> |
194 | 173 | </dependency> |
195 | | - |
196 | 174 | </dependencies> |
| 175 | + <dependencyManagement> |
| 176 | + <dependencies> |
| 177 | + <dependency> |
| 178 | + <groupId>io.jenkins.tools.bom</groupId> |
| 179 | + <artifactId>bom-2.222.x</artifactId> |
| 180 | + <version>11</version> |
| 181 | + <scope>import</scope> |
| 182 | + <type>pom</type> |
| 183 | + </dependency> |
| 184 | + </dependencies> |
| 185 | + </dependencyManagement> |
197 | 186 |
|
198 | 187 | </project> |
0 commit comments