Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-153

MavenResolverSystemImpl should implement MavenWorkingSessionContainer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.0.1
    • 2.0.0
    • maven

      Given:

      I have MavenResolverSystem instance retrieved via Maven.resolver() call.

      When:

      I want to debug internals of the system.

      Expect:

      Instance can be type-casted to MavenWorkingSessionContainer, which allows to get direct access to the session that can later be investigated - loaded dependency management, dependencies to be resolved and so on.

      Actual behavior:

      Cast fails, as MavenResolverySystemImpl does not implement MavenWorkingSessionContainer, although it internally contains the session.

              kpiwko Karel Piwko
              kpiwko Karel Piwko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: