Maven is a tool for managing software projects and builds. It uses a Project Object Model (POM) to manage a project's build process, reporting, and documentation from a central location. The document discusses how Maven works based on the POM, which specifies artifact coordinates, modules, and build configuration. It also describes how to configure a Maven project for releases, including the Maven Release plugin and release process of preparing, performing, and cleaning a release. Potential issues that may occur during the release process are also outlined.
1. Releasing Projects
Using Maven
Deng Ching
Senior Software Engineer – G2iX
2. Maven is a software project
management and build comprehension
tool. Based on the concept of a
project object model (POM), Maven
can manage a project's build,
reporting and documentation from a
central piece of information.
13. Maven Release Process
release:prepare
check for SNAPSHOTs
versioning
check for build errors
create tag
release:perform
deploy project
release cleanup
14. Troubleshooting Releases
Common errors during release:
local modifications
current version is not a SNAPSHOT
SNAPSHOT dependencies and plugins
missing <scm> configuration
tag already exists
15. Troubleshooting Releases
Common errors during release:
unable to deploy project to the
repository
connection problems