[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-153) MavenResolverSystemImpl should implement MavenWorkingSessionContainer

Karel Piwko (JIRA) jira-events at lists.jboss.org
Wed Oct 30 08:04:01 EDT 2013


    [ https://issues.jboss.org/browse/SHRINKRES-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825743#comment-12825743 ] 

Karel Piwko commented on SHRINKRES-153:
---------------------------------------

Handy for instance to debug following code: https://github.com/arquillian/arquillian-extension-spring/pull/32
                
> MavenResolverSystemImpl should implement MavenWorkingSessionContainer
> ---------------------------------------------------------------------
>
>                 Key: SHRINKRES-153
>                 URL: https://issues.jboss.org/browse/SHRINKRES-153
>             Project: ShrinkWrap Resolvers
>          Issue Type: Enhancement
>          Components: impl-maven
>    Affects Versions: 2.0.0
>            Reporter: Karel Piwko
>            Assignee: Andrew Rubinger
>              Labels: starter
>
> *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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list