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

Add ability to create XML report #93

Closed
sabaka opened this issue Jul 4, 2016 · 6 comments
Closed

Add ability to create XML report #93

sabaka opened this issue Jul 4, 2016 · 6 comments
Assignees
Milestone

Comments

@sabaka
Copy link
Contributor

sabaka commented Jul 4, 2016

Hi,

It would be nice if plugin could create an XML report.
XML is easier to parse than HTML or console output.
Ie: It would allow to use it on CIs in some script that could notify when one of hundred projects has new version of dependency. Also it would allow to use ignore lists for particular dependency on particular project in such scripts, b/c it's not always possible to update something due to broken API or some bugs.

If you can approve this feature I would implement it.

@khmarbaise
Copy link
Member

See #42

@khmarbaise
Copy link
Member

A pull request would be great...

@sabaka
Copy link
Contributor Author

sabaka commented Jul 13, 2016

Hi.

I have draft for xml structure, could you take a look please?


    <summary>
        <usingLastVersion> </usingLastVersion>
        <nextVersionAlailable> </nextVersionAlailable>
        <nextIncremetalAvailable> </nextIncremetalAvailable>
        <nextMinorAvailable> </nextMinorAvailable>
        <nextMajorAvailable> </nextMajorAvailable>
    </summary>

    <dependencyManagements>
        <dependencyManagement>
            <groupId> </groupId>
            <artifactId> </artifactId>
            <scope> </scope>
            <classifier> </classifier>
            <type> </type>
            <currentVersion> </newestVersion>
            <nextVersion> </nextVersion>
            <nextIncremental> </nextIncremental>
            <nextMinor> </nextMinor>
            <nextMajor> </nextMajor>
            <status> </status>
        </dependencyManagement>
    </dependencyManagements>

    <dependencies>
        <dependency>
            <groupId> </groupId>
            <artifactId> </artifactId>
            <scope> </scope>
            <classifier> </classifier>
            <type> </type>
            <currentVersion> </newestVersion>
            <nextVersion> </nextVersion>
            <nextIncremental> </nextIncremental>
            <nextMinor> </nextMinor>
            <nextMajor> </nextMajor>
            <status> </status>
        </dependency>
    </dependencies>
    <dependencyUpdates>
        <dependencyUpdate>
            <status> </status>
            <groupId> </groupId>
            <artifactId> </artifactId>
            <currentVersion> </currentVersion>
            <scope> </scope>
            <classifier> </classifier>
            <type> </type>
            <newerVersions> </newerVersions>
        </dependencyUpdate>
    </dependencyUpdates>

And probably more fields will be included If I find anything useful in domain.
Very similar structure will be created for plugins.
Do we need XSD for XML?
PS: I will be on holidays next 2 weeks and I'm not sure I will be able to contribute until I'm back.

@khmarbaise
Copy link
Member

Looks good so far...XML (may be via modello ?) No problem enjoy your holidays....

@sabaka
Copy link
Contributor Author

sabaka commented Aug 23, 2016

Hi @khmarbaise ,
Sorry for delay.

I was trying to find out how to use modello to generate xml, but didn't find anything useful in google.
Maybe you have an example?

sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Oct 11, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Oct 11, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Oct 11, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Oct 12, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Nov 3, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Nov 3, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Nov 3, 2016
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Feb 5, 2017
sabaka pushed a commit to sabaka/versions-maven-plugin that referenced this issue Apr 20, 2017
@khmarbaise
Copy link
Member

khmarbaise commented May 27, 2017

@sabaka Would you be so nice to make a pull request against versions-maven-plugin project if you like?
Update: Sorry forget about it. Didn't saw that you already made a PR...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants