In a medium saucepan, bring 1 cup water and sugar to a boil over medium heat, stirring frequently until sugar dissolves. Remove from heat, and add cloves, star anise, cinnamon, and juniper. Let cool completely. Refrigerate in an airtight container up to 2 weeks.