def simple_pom(): return MavenPom( group_id='com.example', artifact_id='foobar', version='1.2.3', parent=None, properties={} )
def grandparent_pom(): return MavenPom( group_id='com.example', artifact_id='foobar-grandparent', version='1.2.3', parent=None, properties={ 'yo': 'yo' } )
def parent_pom(): return MavenPom( group_id='com.example', artifact_id='foobar-parent', version='4.5.6', parent=None, properties={ 'hiThere': 'hi_there', 'omg': 'oh-my-god' } )
def pom(parent_pom): return MavenPom( group_id='com.example.foobar', artifact_id='foobar', version='1.2.3', parent=parent_pom, properties={ 'foo.bar': 'FooBar', 'hello': 'hello-world' } )
def parent_pom(grandparent_pom): return MavenPom( group_id='com.example', artifact_id='foobar-parent', version='1.2.3', parent=grandparent_pom, properties={ 'hiThere': 'hi_there', 'omg': 'oh-my-god' } )