Tynamo
  1. Tynamo
  2. TYNAMO-5

Move annotations to a separate Maven module

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: model-0.3.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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

          Activity

          Hide
          Alejandro Scandroli added a comment -

          fixed in rev r1803

          Show
          Alejandro Scandroli added a comment - fixed in rev r1803

            People

            • Assignee:
              Alejandro Scandroli
              Reporter:
              Alejandro Scandroli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: