Move definition of published projects out of a loop.

Was mistakenly there.
Declare :pluginUse as a plugin project.

+review REVIEW-4947