To make the gingerbread: preheat the oven to 350 degrees and grease and flour an 8-inch square baking dish.
In a blender, combine the molasses, maple syrup, applesauce and coconut oil. Blend until smooth.
In a large bowl, whisk together the flour, baking soda, sea salt and spices.
Pour the wet ingredients into the dry and mix until just combined. Stir in the hot water. Pour into the prepared pan.
Bake 45-55 minutes (ovens vary wildly) until a cake tester inserted in the center comes out clean. Cool for 15 minutes, remove from pan and place on wire rack and allow to cool completely. You can freeze this or make this several days ahead. Cut into 1/2 –inch cubes and set aside.
To make the pastry cream: in a medium saucepan whisk the sugar, egg yolks and cornstarch together until thick and pale.
Meanwhile, in a small saucepan over medium heat bring the milk and vanilla bean (if using) just to a boil (just until milk starts to foam up). Remove from heat and add about ½ cup slowly to egg mixture, whisking constantly to prevent curdling (if you get a few pieces of egg (curdling) in the mixture, pour through a strainer). –continued-
If using vanilla bean, remove from mixture and scrape out seeds and add the seeds to the egg mixture.
Pour the remaining milk into the egg mixture, whisking constantly. Bring the egg-milk mixture to a boil over medium heat whisking constantly. When it boils, whisk mixture constantly for another 30-60 seconds until it becomes thick. Remove from heat and whisk in vanilla extract if you are using that instead of the bean. Immediately transfer the pastry cream to a clean bowl, whisk in the butter and allow to cool on the countertop for a few minutes.
Press a piece of plastic wrap directly on the cream to prevent a skin from forming. Refrigerate. You can make this up to 2 days in advance.
To poach the pears: place the white wine, water, sugar, scraped vanilla beans, vanilla pod, clove, cinnamon and star anise into a saucepan large enough to hold all the pears. Bring to a boil, stirring to dissolve the sugar.
Decrease the heat to medium low and place the pears into the liquid. Cover and cook for 20-25 minutes or until tender and easily pierced with a knife. Remove the pears from the liquid and chop into ½-inch pieces.
Remove the vanilla bean from the saucepan, increase the heat to high and reduce the syrup to approximately 1 cup of liquid, approximately 20 to 25 minutes. Do not allow the syrup to turn brown. Pour the syrup over the diced pears and refrigerate until cool, at least 1 hour. You can do this up to 2 days in advance.
About 30 minutes before assembling the trifle, make the whipped cream: If you can think about it ahead of time, place your mixing bowl and whisk in the freezer. In a deep bowl or electric mixer, whisk the cream, sugar and vanilla together until soft peaks from. Refrigerate until ready to use.
To assemble the trifle: place half the gingerbread on the bottom of a 7 ½ or 8 inch trifle bowl or other deep bowl. (You can also do individual trifles in glass jars.) Spread half the pastry cream on top, then half the pears (remove with a slotted spoon,) then half the whipped cream, then half the pomegranates. Repeat layers, ending with the whipped cream and then the pomegranate seeds. Or don’t add the whipped cream until the top.