[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-264) addPackages does not include package-private classes in child package when called recursively

Karel Piwko (JIRA) issues at jboss.org
Fri Feb 10 03:47:00 EST 2017


     [ https://issues.jboss.org/browse/SHRINKRES-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko moved SHRINKWRAP-513 to SHRINKRES-264:
--------------------------------------------------

              Project: ShrinkWrap Resolvers  (was: ShrinkWrap)
                  Key: SHRINKRES-264  (was: SHRINKWRAP-513)
          Component/s: api
                           (was: api)
    Affects Version/s:     (was: 1.2.6)


> addPackages does not include package-private classes in child package when called recursively 
> ----------------------------------------------------------------------------------------------
>
>                 Key: SHRINKRES-264
>                 URL: https://issues.jboss.org/browse/SHRINKRES-264
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: api
>            Reporter: ebuzer taha kanat
>
> With package structure of a.b.root.child when arquillian test class is in a.b.root at the phase of deployment archive creation 
> {code:java}
> archive.addPackages(true, "a.b.root");
> {code}
> does  not includes package-private classes in a.b.root.child or possible other child packages. Thus creates class dependency related problems for arquillian testing such as cdi errors in wildfly-arquillian-container-remote  .
> Package-private classes should not be directly usable out of package we know that  but they should be addable to deployment for indirect dependency reasons. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the shrinkwrap-issues mailing list