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

ebuzer taha kanat (JIRA) issues at jboss.org
Thu Feb 9 22:41:00 EST 2017


ebuzer taha kanat created SHRINKWRAP-513:
--------------------------------------------

             Summary: addPackages does not include package-private classes in child package when called recursively 
                 Key: SHRINKWRAP-513
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-513
             Project: ShrinkWrap
          Issue Type: Bug
          Components: api
    Affects Versions: 1.2.6
            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