NAME

App::Git::Workflow::Pom - Tools for maven POM files with git

VERSION

This documentation refers to App::Git::Workflow::Pom version 1.1.20

SYNOPSIS

use App::Git::Workflow::Pom qw/get_pom_versions pom_version next_pom_version/;

# get all branch POM versions
my $versions = $pom->get_pom_versions("pom.xml");
# {
#    1.0 => { "some_branch" => "1.0.0-SNAPSHOT" },
#    ...
# }

# extract the version from the POM
my $version = $pom->pom_version("pom.xml");

# find the next unused POM version.
my $next = $pom->next_pom_version("pom.xml");

DESCRIPTION

This library provides tools for looking at POM files in different branches.

SUBROUTINES/METHODS

new (%params)

Create a new App::Git::Workflow::Pom object

get_pom_versions ($pom_file)

Find all POM versions used in all branches.

pom_version ($xml_text_or_file)

Extract the version number from C$xml_text_or_file>

next_pom_version ($pom, $versions)

Find the next available POM version number.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.