replace project reference with jar reference in samples