Refactor cli properties into single project
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user