exception if using artifact names with dash
-------------------------------------------
Key: BUILDR-185
URL: https://issues.apache.org/jira/browse/BUILDR-185
Project: Buildr
Issue Type: Bug
Affects Versions: 1.3.2
Reporter: Ittay Dror
Fix For: 1.3.4
i use:
artifact_ns do |ns|
ns.use :'spring-osgi-core' => ....
end
:'spring-osgi-core' is a valid symbol. and i use it since this is the maven
artifact name. the same thing will happen when dots appear in the name
in #fetch, it is tested with /^\w+$/ which is false (dash is a word separator)
and so it tries to call #unversioned_spec which fails (amongst other things, it
assumes that spec is separated with ':').
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.