Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Invalid artifactId generated for child projects #3

Open
ghost opened this issue Feb 8, 2012 · 0 comments
Open

Invalid artifactId generated for child projects #3

ghost opened this issue Feb 8, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 8, 2012

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(":", "-")

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

No branches or pull requests

0 participants