build resources before packages in CompositeKnowledgeBuilder