source: josm/trunk/tools/ivy/ivy.xsd@ 16059

Last change on this file since 16059 was 15977, checked in by simon04, 5 years ago

see #16860, see #18140 - Setup Apache Ivy (patch by wiktorn, modified)

File size: 18.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 https://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
21 <xs:complexType name="configurations-conf">
22 <xs:attribute name="name" type="xs:string" use="required"/>
23 <xs:attribute name="transitive" type="xs:boolean"/>
24 <xs:attribute name="extends" type="xs:string"/>
25 <xs:attribute name="description" type="xs:string"/>
26 <xs:attribute name="deprecated" type="xs:string"/>
27 <xs:attribute name="visibility" default="public">
28 <xs:simpleType>
29 <xs:restriction base="xs:string">
30 <xs:enumeration value="private"/>
31 <xs:enumeration value="public"/>
32 </xs:restriction>
33 </xs:simpleType>
34 </xs:attribute>
35 <xs:anyAttribute namespace="##other" processContents="lax"/>
36 </xs:complexType>
37
38 <xs:complexType name="global-exclude">
39 <xs:sequence>
40 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
41 <xs:complexType>
42 <xs:attribute name="name" type="xs:string" use="required"/>
43 </xs:complexType>
44 </xs:element>
45 </xs:sequence>
46 <xs:attribute name="org" type="xs:string"/>
47 <xs:attribute name="module" type="xs:string"/>
48 <xs:attribute name="artifact" type="xs:string"/>
49 <xs:attribute name="type" type="xs:string"/>
50 <xs:attribute name="ext" type="xs:string"/>
51 <xs:attribute name="conf" type="xs:string"/>
52 <xs:attribute name="matcher" type="xs:string"/>
53 <xs:anyAttribute namespace="##other" processContents="lax"/>
54 </xs:complexType>
55
56 <xs:element name="ivy-module">
57 <xs:complexType>
58 <xs:sequence>
59 <xs:element name="info">
60 <xs:complexType>
61 <xs:sequence>
62 <xs:element name="extends" minOccurs="0" maxOccurs="unbounded">
63 <xs:complexType>
64 <xs:attribute name="organisation" type="xs:string" use="required"/>
65 <xs:attribute name="module" type="xs:string" use="required"/>
66 <xs:attribute name="revision" type="xs:string" use="required"/>
67 <xs:attribute name="location" type="xs:string"/>
68 <xs:attribute name="extendType" type="xs:string"/>
69 </xs:complexType>
70 </xs:element>
71 <xs:element name="license" minOccurs="0" maxOccurs="unbounded">
72 <xs:complexType>
73 <xs:attribute name="name" type="xs:string" use="required"/>
74 <xs:attribute name="url" type="xs:string"/>
75 </xs:complexType>
76 </xs:element>
77 <xs:element name="ivyauthor" minOccurs="0" maxOccurs="unbounded">
78 <xs:complexType>
79 <xs:attribute name="name" type="xs:string" use="required"/>
80 <xs:attribute name="url" type="xs:string"/>
81 </xs:complexType>
82 </xs:element>
83 <xs:element name="repository" minOccurs="0" maxOccurs="unbounded">
84 <xs:complexType>
85 <xs:attribute name="name" type="xs:string" use="required"/>
86 <xs:attribute name="url" type="xs:string"/>
87 <xs:attribute name="pattern" type="xs:string"/>
88 <xs:attribute name="ivys" type="xs:boolean"/>
89 <xs:attribute name="artifacts" type="xs:boolean"/>
90 </xs:complexType>
91 </xs:element>
92 <xs:element name="description" minOccurs="0" maxOccurs="1">
93 <xs:complexType mixed="true">
94 <xs:sequence>
95 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
96 </xs:sequence>
97 <xs:attribute name="homepage" type="xs:string"/>
98 </xs:complexType>
99 </xs:element>
100 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
101 </xs:sequence>
102 <xs:attribute name="organisation" type="xs:string"/>
103 <xs:attribute name="module" type="xs:string" use="required"/>
104 <xs:attribute name="branch" type="xs:string"/>
105 <xs:attribute name="revision" type="xs:string"/>
106 <xs:attribute name="status" type="xs:string"/>
107 <xs:attribute name="publication" type="xs:string"/>
108 <xs:attribute name="resolver" type="xs:string"/>
109 <xs:attribute name="namespace" type="xs:string"/>
110 <xs:attribute name="default" type="xs:boolean"/>
111 <xs:anyAttribute namespace="##other" processContents="lax"/>
112 </xs:complexType>
113 </xs:element>
114 <xs:element name="configurations" minOccurs="0">
115 <xs:complexType>
116 <xs:sequence>
117 <xs:choice minOccurs="0" maxOccurs="unbounded">
118 <xs:element name="conf" type="configurations-conf"/>
119 <xs:element name="include">
120 <xs:complexType>
121 <xs:attribute name="file" type="xs:string"/>
122 <xs:attribute name="url" type="xs:string"/>
123 </xs:complexType>
124 </xs:element>
125 </xs:choice>
126 </xs:sequence>
127 <xs:attribute name="defaultconf" type="xs:string"/>
128 <xs:attribute name="defaultconfmapping" type="xs:string"/>
129 <xs:attribute name="confmappingoverride" type="xs:boolean"/>
130 </xs:complexType>
131 </xs:element>
132 <xs:element name="publications" minOccurs="0">
133 <xs:complexType>
134 <xs:sequence>
135 <xs:element name="artifact" minOccurs="0" maxOccurs="unbounded">
136 <xs:complexType>
137 <xs:sequence>
138 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
139 <xs:complexType>
140 <xs:attribute name="name" type="xs:string" use="required"/>
141 </xs:complexType>
142 </xs:element>
143 </xs:sequence>
144 <xs:attribute name="name" type="xs:string"/>
145 <xs:attribute name="type" type="xs:string"/>
146 <xs:attribute name="ext" type="xs:string"/>
147 <xs:attribute name="conf" type="xs:string"/>
148 <xs:attribute name="url" type="xs:string"/>
149 <xs:attribute name="packaging" type="xs:string"/>
150 <xs:anyAttribute namespace="##other" processContents="lax"/>
151 </xs:complexType>
152 </xs:element>
153 </xs:sequence>
154 <xs:attribute name="defaultconf" type="xs:string"/>
155 </xs:complexType>
156 </xs:element>
157 <xs:element name="dependencies" minOccurs="0">
158 <xs:complexType>
159 <xs:sequence>
160 <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded">
161 <xs:complexType>
162 <xs:sequence>
163 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
164 <xs:complexType>
165 <xs:sequence>
166 <xs:element name="mapped" minOccurs="0" maxOccurs="unbounded">
167 <xs:complexType>
168 <xs:attribute name="name" type="xs:string" use="required"/>
169 </xs:complexType>
170 </xs:element>
171 </xs:sequence>
172 <xs:attribute name="name" type="xs:string" use="required"/>
173 <xs:attribute name="mapped" type="xs:string"/>
174 </xs:complexType>
175 </xs:element>
176 <xs:element name="artifact" minOccurs="0" maxOccurs="unbounded">
177 <xs:complexType>
178 <xs:sequence>
179 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
180 <xs:complexType>
181 <xs:attribute name="name" type="xs:string" use="required"/>
182 </xs:complexType>
183 </xs:element>
184 </xs:sequence>
185 <xs:attribute name="name" type="xs:string" use="required"/>
186 <xs:attribute name="type" type="xs:string"/>
187 <xs:attribute name="ext" type="xs:string"/>
188 <xs:attribute name="conf" type="xs:string"/>
189 <xs:attribute name="url" type="xs:string"/>
190 <xs:anyAttribute namespace="##other" processContents="lax"/>
191 </xs:complexType>
192 </xs:element>
193 <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
194 <xs:complexType>
195 <xs:sequence>
196 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
197 <xs:complexType>
198 <xs:attribute name="name" type="xs:string" use="required"/>
199 </xs:complexType>
200 </xs:element>
201 </xs:sequence>
202 <xs:attribute name="name" type="xs:string"/>
203 <xs:attribute name="type" type="xs:string"/>
204 <xs:attribute name="ext" type="xs:string"/>
205 <xs:attribute name="conf" type="xs:string"/>
206 <xs:attribute name="matcher" type="xs:string"/>
207 <xs:anyAttribute namespace="##other" processContents="lax"/>
208 </xs:complexType>
209 </xs:element>
210 <xs:element name="exclude" minOccurs="0" maxOccurs="unbounded">
211 <xs:complexType>
212 <xs:sequence>
213 <xs:element name="conf" minOccurs="0" maxOccurs="unbounded">
214 <xs:complexType>
215 <xs:attribute name="name" type="xs:string" use="required"/>
216 </xs:complexType>
217 </xs:element>
218 </xs:sequence>
219 <xs:attribute name="org" type="xs:string"/>
220 <xs:attribute name="module" type="xs:string"/>
221 <xs:attribute name="name" type="xs:string"/>
222 <xs:attribute name="type" type="xs:string"/>
223 <xs:attribute name="ext" type="xs:string"/>
224 <xs:attribute name="conf" type="xs:string"/>
225 <xs:attribute name="matcher" type="xs:string"/>
226 <xs:anyAttribute namespace="##other" processContents="lax"/>
227 </xs:complexType>
228 </xs:element>
229 </xs:sequence>
230 <xs:attribute name="org" type="xs:string"/>
231 <xs:attribute name="name" type="xs:string" use="required"/>
232 <xs:attribute name="branch" type="xs:string"/>
233 <xs:attribute name="branchConstraint" type="xs:string"/>
234 <xs:attribute name="rev" type="xs:string" use="required"/>
235 <xs:attribute name="revConstraint" type="xs:string"/>
236 <xs:attribute name="force" type="xs:boolean"/>
237 <xs:attribute name="changing" type="xs:boolean" default="false"/>
238 <xs:attribute name="transitive" type="xs:boolean" default="true"/>
239 <xs:attribute name="conf" type="xs:string"/>
240 <xs:anyAttribute namespace="##other" processContents="lax"/>
241 </xs:complexType>
242 </xs:element>
243 <xs:element name="exclude" type="global-exclude" minOccurs="0" maxOccurs="unbounded"/>
244 <xs:element name="override" minOccurs="0" maxOccurs="unbounded">
245 <xs:complexType>
246 <xs:attribute name="org" type="xs:string"/>
247 <xs:attribute name="module" type="xs:string"/>
248 <xs:attribute name="matcher" type="xs:string"/>
249 <xs:attribute name="rev" type="xs:string"/>
250 <xs:attribute name="branch" type="xs:string"/>
251 </xs:complexType>
252 </xs:element>
253 <xs:element name="conflict" minOccurs="0" maxOccurs="unbounded">
254 <xs:complexType>
255 <xs:attribute name="org" type="xs:string"/>
256 <xs:attribute name="module" type="xs:string"/>
257 <xs:attribute name="manager" type="xs:string"/>
258 <xs:attribute name="rev" type="xs:string"/>
259 <xs:attribute name="matcher" type="xs:string"/>
260 <xs:anyAttribute namespace="##other" processContents="lax"/>
261 </xs:complexType>
262 </xs:element>
263 </xs:sequence>
264 <xs:attribute name="defaultconf" type="xs:string"/>
265 <xs:attribute name="defaultconfmapping" type="xs:string"/>
266 <xs:attribute name="confmappingoverride" type="xs:boolean"/>
267 </xs:complexType>
268 </xs:element>
269 <xs:element name="conflicts" minOccurs="0">
270 <xs:complexType>
271 <xs:sequence>
272 <xs:element name="manager" maxOccurs="unbounded">
273 <xs:complexType>
274 <xs:attribute name="org" type="xs:string"/>
275 <xs:attribute name="module" type="xs:string"/>
276 <xs:attribute name="name" type="xs:string"/>
277 <xs:attribute name="rev" type="xs:string"/>
278 <xs:attribute name="matcher" type="xs:string"/>
279 <xs:anyAttribute namespace="##other" processContents="lax"/>
280 </xs:complexType>
281 </xs:element>
282 </xs:sequence>
283 </xs:complexType>
284 </xs:element>
285 </xs:sequence>
286 <xs:attribute name="version" type="xs:string" use="required"/>
287 </xs:complexType>
288 </xs:element>
289</xs:schema>
Note: See TracBrowser for help on using the repository browser.