initial attempt at only configuring JPAPlugin when needed