Skip to content

Commit 9ed1a5f

Browse files
committed
make version required
1 parent 45b5f6b commit 9ed1a5f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
<groupId>com.findologic</groupId>
55
<artifactId>xml-export</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.6.0-SNAPSHOT</version>
7+
<version>1.7.0-SO-FINDO-9587-SNAPSHOT</version>
88
<name>xml-export</name>
99
<url>http://maven.apache.org</url>
10+
11+
<distributionManagement>
12+
<repository>
13+
<id>github</id>
14+
<name>GitHub FINDOLOGIC Apache Maven Packages</name>
15+
<url>https://maven.pkg.github.com/findologic/maven-packages</url>
16+
</repository>
17+
</distributionManagement>
1018
</project>

src/main/resources/findologic_20.xsd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@
2121
</xs:unique>
2222
</xs:element>
2323
</xs:sequence>
24-
<xs:attribute type="xs:string" name="version"/>
24+
<xs:attribute type="versionType" name="version" use="required"/>
2525
</xs:complexType>
2626
</xs:element>
2727

28+
<xs:simpleType name="versionType">
29+
<xs:restriction base="xs:string">
30+
<xs:enumeration value="2.0"/>
31+
</xs:restriction>
32+
</xs:simpleType>
33+
2834
<!-- Structure of items. -->
2935
<xs:complexType name="itemType">
3036
<xs:all>

0 commit comments

Comments
 (0)