Repository: flex-utilities
Updated Branches:
  refs/heads/mavenizer-refactoring 95be74110 -> 7d6c9f6be


Suppressed an empty dependencies element in generated poms


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/7d6c9f6b
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/7d6c9f6b
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/7d6c9f6b

Branch: refs/heads/mavenizer-refactoring
Commit: 7d6c9f6be5a5179a21184e53e3f4a7911029277b
Parents: 95be741
Author: cdutz <christofer.d...@c-ware.de>
Authored: Thu Jun 26 15:34:37 2014 +0200
Committer: cdutz <christofer.d...@c-ware.de>
Committed: Thu Jun 26 15:34:37 2014 +0200

----------------------------------------------------------------------
 mavenizer/converters/base/src/main/resources/templates/default.vm | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/7d6c9f6b/mavenizer/converters/base/src/main/resources/templates/default.vm
----------------------------------------------------------------------
diff --git a/mavenizer/converters/base/src/main/resources/templates/default.vm 
b/mavenizer/converters/base/src/main/resources/templates/default.vm
index 7af9619..4bfb60e 100644
--- a/mavenizer/converters/base/src/main/resources/templates/default.vm
+++ b/mavenizer/converters/base/src/main/resources/templates/default.vm
@@ -7,6 +7,7 @@
     <version>${artifact.version}</version>
     <packaging>${artifact.packaging}</packaging>
 
+#if ( $artifact.hasDependencies() )
     <dependencies>
 #foreach( $dependency in $artifact.dependencies )
         <dependency>
@@ -17,5 +18,6 @@
         </dependency>
 #end
     </dependencies>
+#end
 
 </project>

Reply via email to