Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: model-0.2.0
-
Component/s: None
-
Labels:None
Description
Andreas Veithen:
I'm using Trails with a model that is also used by another application. Since I use some Trails annotations, the Maven module that contains the entities must have a dependency on trails-core. This introduces lots of transitive dependencies that are not used by the other application. Of course I can use exclusions to get exactly the dependencies I want, but this is fairly ugly.
Ideally the annotations defined by Trails should be in their own Maven artifact that has no dependencies on other Trails modules. I think this could be easily done, except for an issue with @DescriptorAnnotation which links the annotation to the annotation handler (which obviously should stay in trails-core). This could be solved by using the class name instead of the class.
Issue Links
- is duplicated by
-
TRAILS-187
Move annotations to a separate Maven module
-
fixed in rev r1803