Skip to content
Permalink
Browse files
FLEX-34318 - [Mavenizer] Refactor the Mavenizer in preparation of fut…
…ure mavenized releases of Flex

- Updated the pom generation as the first attempt produced poms that didn't seem to work.
  • Loading branch information
chrisdutz committed Jun 28, 2014
1 parent 4eb49a5 commit 07dc1193924edd780b6ea6d4ca901ace21413c01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
@@ -8,18 +8,6 @@
<packaging>${artifact.packaging}</packaging>

#if ( $artifact.hasDependencies() )
<dependencies>
#foreach( $dependency in $artifact.dependencies )
<dependency>
<groupId>${dependency.groupId}</groupId>
<artifactId>${dependency.artifactId}</artifactId>
#if ($dependency.packaging != "jar")
<type>${dependency.packaging}</type>
#end
</dependency>
#end
</dependencies>

#if ( $artifact.isAtLeastOneDependencyRsl() )
<profiles>
<profile>
@@ -29,7 +17,7 @@
<activeByDefault>true</activeByDefault>
</activation>

<dependencyManagement>
<dependencies>
#foreach( $dependency in $artifact.dependencies )
<dependency>
<groupId>${dependency.groupId}</groupId>
@@ -40,7 +28,7 @@
#end
</dependency>
#end
</dependencyManagement>
</dependencies>
</profile>

<profile>
@@ -53,7 +41,7 @@
</property>
</activation>

<dependencyManagement>
<dependencies>
#foreach( $dependency in $artifact.dependencies )
<dependency>
<groupId>${dependency.groupId}</groupId>
@@ -67,11 +55,11 @@
#end
</dependency>
#end
</dependencyManagement>
</dependencies>
</profile>
</profiles>
#else
<dependencyManagement>
<dependencies>
#foreach( $dependency in $artifact.dependencies )
<dependency>
<groupId>${dependency.groupId}</groupId>
@@ -82,7 +70,7 @@
#end
</dependency>
#end
</dependencyManagement>
</dependencies>
#end
#end

@@ -17,7 +17,6 @@
package org.apache.flex.utilities.converter.core;

import org.apache.flex.utilities.converter.air.AirConverter;
import org.apache.flex.utilities.converter.exceptions.ConverterException;
import org.apache.flex.utilities.converter.flash.FlashConverter;
import org.apache.flex.utilities.converter.flex.FlexConverter;

0 comments on commit 07dc119

Please sign in to comment.