jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Tynamo
  • TYNAMO-5

Move annotations to a separate Maven module

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major 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

Improvement - An improvement or enhancement to an existing feature or task. TRAILS-187 Move annotations to a separate Maven module

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Alejandro Scandroli added a comment - 17/Feb/11 8:16 AM

fixed in rev r1803

Show
Alejandro Scandroli added a comment - 17/Feb/11 8:16 AM fixed in rev r1803

People

  • Assignee:
    Alejandro Scandroli
    Reporter:
    Alejandro Scandroli
Vote (0)
Watch (1)

Dates

  • Created:
    14/Oct/09 10:55 AM
    Updated:
    17/Feb/11 8:16 AM
    Resolved:
    17/Feb/11 8:16 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.