Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: add information on property updates to the change recorder #880

Closed
jarmoniuk opened this issue Dec 24, 2022 · 1 comment · Fixed by #881
Closed

Enhancement: add information on property updates to the change recorder #880

jarmoniuk opened this issue Dec 24, 2022 · 1 comment · Fixed by #881
Milestone

Comments

@jarmoniuk
Copy link
Contributor

jarmoniuk commented Dec 24, 2022

Change recorder only records dependency updates. In this enhancement I'll add property updates. This implies a new version of the XSD and a new namespace:

<schema xmlns="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        xmlns:u="http://www.mojohaus.org/versions-maven-plugin/schema/updates/2.0"
        targetNamespace="http://www.mojohaus.org/versions-maven-plugin/schema/updates/2.0">

    <complexType name="VersionChangeType"/>

    <complexType name="DependencyVersionChangeType">
        <complexContent>
            <extension base="u:VersionChangeType">
                <attribute name="kind" type="string" use="required"/>
                <attribute name="groupId" type="string" use="required"/>
                <attribute name="artifactId" type="string" use="required"/>
                <attribute name="oldVersion" type="string" use="required"/>
                <attribute name="newVersion" type="string" use="required"/>
            </extension>
        </complexContent>
    </complexType>

    <complexType name="PropertyVersionChangeType">
        <complexContent>
            <extension base="u:VersionChangeType">
                <attribute name="property" type="string" use="required"/>
                <attribute name="oldValue" type="string" use="required"/>
                <attribute name="newValue" type="string" use="required"/>
            </extension>
        </complexContent>
    </complexType>

    <element name="updates">
        <complexType>
            <sequence maxOccurs="unbounded">
                <choice>
                    <element name="dependencyUpdate" type="u:DependencyVersionChangeType"/>
                    <element name="propertyUpdate" type="u:PropertyVersionChangeType"/>
                </choice>
            </sequence>
        </complexType>
    </element>

</schema>
@jarmoniuk
Copy link
Contributor Author

Target release: 2.15.0.

jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 24, 2022
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 4, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 4, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 4, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 8, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 8, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 8, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Jan 25, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Feb 2, 2023
…nge recorder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
slawekjaranowski pushed a commit that referenced this issue Feb 12, 2023
…rder

Release notes:
- new version and new namespace for the change recorder
- change recorder also records property changes
@slawekjaranowski slawekjaranowski added this to the 2.15.0 milestone Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants