[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-264) addPackages does not include package-private classes in child package when called recursively
ebuzer taha kanat (JIRA)
issues at jboss.org
Sat Feb 11 15:15:00 EST 2017
[ https://issues.jboss.org/browse/SHRINKRES-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13362244#comment-13362244 ]
ebuzer taha kanat commented on SHRINKRES-264:
---------------------------------------------
Apologise, TypeNotPresentExceptionProxy exception cause is not from suspected package-private classes ignored. When unrelated issue solved arquillian cruiser clearly shows that recursive package add works as expected. False alarm.
> 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