jvshahid/buildr-dependency-extensions — Issue #3: Invalid artifactId generated for child projects
Author: Rallydev
Created: 2012-02-08 18:26:55+00:00
State: open

We have a buildfile that specifies 2 child projects, lets call them foo:client and foo:server. When I do a buildr package and have specified extend PomGenerator for the child projects the artifactIds are invalid. They look like "foo:client" instead of "foo-client". The ":" is invalid as a artifactId.

The fix is probably pretty easy. In the pom_hash, you could do this instead

'artifactId' => project.name.gsub(":", "-")