FLEX-34318 - [Mavenizer] Refactor the Mavenizer in preparation of future 
mavenized releases of Flex
- Fixed a problem in the dependencyManagement generation.


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

Branch: refs/heads/develop
Commit: b3e70ac74662ffc00b8781af7eb71a14c37ca237
Parents: 7583e96
Author: Christofer Dutz <[email protected]>
Authored: Sat Jul 12 14:43:09 2014 +0200
Committer: Christofer Dutz <[email protected]>
Committed: Sat Jul 12 14:43:09 2014 +0200

----------------------------------------------------------------------
 .../converters/base/src/main/resources/templates/pom.vm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3e70ac7/mavenizer/converters/base/src/main/resources/templates/pom.vm
----------------------------------------------------------------------
diff --git a/mavenizer/converters/base/src/main/resources/templates/pom.vm 
b/mavenizer/converters/base/src/main/resources/templates/pom.vm
index 6287cbe..405ada1 100644
--- a/mavenizer/converters/base/src/main/resources/templates/pom.vm
+++ b/mavenizer/converters/base/src/main/resources/templates/pom.vm
@@ -22,13 +22,15 @@
     </dependencies>
 
     <dependencyManagement>
+        <dependencies>
 #foreach( $dependency in $artifact.dependencies )
-        <dependency>
-            <groupId>${dependency.groupId}</groupId>
-            <artifactId>${dependency.artifactId}</artifactId>
-            <version>${dependency.version}</version>
-        </dependency>
+            <dependency>
+                <groupId>${dependency.groupId}</groupId>
+                <artifactId>${dependency.artifactId}</artifactId>
+                <version>${dependency.version}</version>
+            </dependency>
 #end
+        </dependencies>
     </dependencyManagement>
 #end
 

Reply via email to