Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ target/
*.iml
*.iws
/out
dependency-reduced-pom.xml
.flattened-pom.xml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? I tried to make sure flatten-maven-plugin always outputs to target, have I missed something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not, I just replaced dependency-reduced-pom.xml with .flattened-pom.xml. Didn't check if this applies.

# Eclipse
.project
.classpath
.settings/
82 changes: 82 additions & 0 deletions log4j-changelog/src/main/resources/log4j-changelog.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://logging.apache.org/log4j/changelog"
xmlns:cl="https://logging.apache.org/log4j/changelog" elementFormDefault="qualified">

<element name="release">
<complexType>
<simpleContent>
<extension base="string">
<attribute name="version" use="required"/>
<attribute name="date" type="date" use="required"/>
<attribute name="schemaVersion" use="required" fixed="1.0"/>
</extension>
</simpleContent>
</complexType>
</element>

<element name="entry">
<complexType>
<sequence>
<element name="issue" type="cl:issueType" minOccurs="0" maxOccurs="unbounded"/>
<element name="author" type="cl:authorType" maxOccurs="unbounded"/>
<element name="description" type="cl:descriptionType"/>
</sequence>
<attribute name="type" type="cl:changeType" use="required"/>
<attribute name="schemaVersion" use="required" fixed="1.0"/>
</complexType>
</element>

<complexType name="issueType">
<simpleContent>
<extension base="string">
<attribute name="id" type="string" use="required"/>
<attribute name="link" type="anyURI" use="required"/>
</extension>
</simpleContent>
</complexType>

<simpleType name="changeType">
<restriction base="string">
<enumeration value="added"/>
<enumeration value="changed"/>
<enumeration value="deprecated"/>
<enumeration value="removed"/>
<enumeration value="fixed"/>
<enumeration value="security"/>
</restriction>
</simpleType>

<complexType name="authorType">
<simpleContent>
<extension base="string">
<attribute name="id" type="string"/>
<attribute name="name"/>
</extension>
</simpleContent>
</complexType>

<complexType name="descriptionType">
<simpleContent>
<extension base="string">
<attribute name="format" type="string" use="required" fixed="asciidoc"/>
</extension>
</simpleContent>
</complexType>
</schema>