[
https://issues.jboss.org/browse/SHRINKDESC-75?page=com.atlassian.jira.plu...
]
Andrew Rubinger commented on SHRINKDESC-75:
-------------------------------------------
Packages are bound to schema type to provide isolation. For consistency, just rename the
"spec" packages to be named after the descriptor type. Then we can also remove
the descriptor version from the Class names.
Come to naming scheme and refactor
----------------------------------
Key: SHRINKDESC-75
URL:
https://issues.jboss.org/browse/SHRINKDESC-75
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
Currently we have:
org.jboss.shrinkwrap.descriptor.api.webapp30.WebApp30Descriptor
...which is essentially:
org.jboss.shrinkwrap.descriptor.api.{descriptorName}{version}.{DescriptorName}{version}Descriptor
Here we're repeating the descriptor name and version in both the package and class
name, probably redundant. Also, some descriptors live in a package named after the
Specification (ie. "cdi10" for "Beans10Descriptor").
Arrive at a consistent scheme and refactor all to match.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira