~dholbach/snapcraft/1491303

« back to all changes in this revision

Viewing changes to examples/tomcat-maven-webapp/tomcat-conf/tomcat-users.xsd

  • Committer: Snappy Tarmac
  • Author(s): Loïc Minier
  • Date: 2015-08-20 21:21:30 UTC
  • mfrom: (88.2.15 mvn-plugin)
  • Revision ID: snappy_tarmac-20150820212130-q8ujclwicmxdjlyo
Add initial and trivial mvn plugin; runs "mvn package" and copies resulting *.jar and *.war files. by lool approved by sergiusens

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
 
3
           targetNamespace="http://tomcat.apache.org/xml"
 
4
           xmlns:users="http://tomcat.apache.org/xml"
 
5
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
 
6
           elementFormDefault="qualified"
 
7
           attributeFormDefault="unqualified"
 
8
           version="1.0">
 
9
  <xs:element name="tomcat-users">
 
10
    <xs:complexType>
 
11
      <xs:sequence>
 
12
        <xs:element name="role" minOccurs="0" maxOccurs="unbounded">
 
13
          <xs:complexType>
 
14
            <xs:attribute name="rolename" use="required" type="users:entityname" />
 
15
            <xs:attribute name="description" type="xs:string" />
 
16
          </xs:complexType>
 
17
        </xs:element>
 
18
        <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
 
19
          <xs:complexType>
 
20
            <xs:attribute name="groupname" use="required" type="users:entityname" />
 
21
            <xs:attribute name="description" type="xs:string" />
 
22
            <xs:attribute name="roles" type="xs:string" />
 
23
          </xs:complexType>
 
24
        </xs:element>
 
25
        <xs:element name="user" minOccurs="0" maxOccurs="unbounded">
 
26
          <xs:complexType>
 
27
            <xs:attribute name="username" use="required" type="users:entityname" />
 
28
            <xs:attribute name="fullname" type="xs:string" />
 
29
            <xs:attribute name="password" type="xs:string" />
 
30
            <xs:attribute name="roles" type="xs:string" />
 
31
            <xs:attribute name="groups" type="xs:string" />
 
32
          </xs:complexType>
 
33
        </xs:element>
 
34
      </xs:sequence>
 
35
      <xs:attribute name="version" type="xs:string" />
 
36
    </xs:complexType>
 
37
  </xs:element>
 
38
  <xs:simpleType name="entityname">
 
39
    <xs:restriction base="xs:string">
 
40
      <xs:minLength value="1"/>
 
41
    </xs:restriction>
 
42
  </xs:simpleType>
 
43
</xs:schema>
 
 
b'\\ No newline at end of file'