Apply the Maven plugin to all subprojects

To allow easy installation of the built artifacts into the local Maven
repository, this commit applies the Maven plugin to all Gradle
subprojects.