Refactor cli properties into single project

This commit is contained in:
Dave Syer
2013-10-08 13:12:44 -04:00
parent b5f0f97110
commit a72ab9eb7d
6 changed files with 80 additions and 573 deletions

View File

@@ -0,0 +1,12 @@
#set( $artifacts = $project.getReference('maven.project').dependencyManagement.dependencies )
#foreach( $artifact in $artifacts )
#if ( $artifact.type == 'jar' )
${artifact.artifactId}.version: $artifact.version
${artifact.artifactId}.groupId: $artifact.groupId
#end
#end
#foreach( $entry in $project.getReference('maven.project').properties.entrySet() )
#if ( $entry.key.endsWith('.version') )
$entry.key: $entry.value
#end
#end