FLEX-34318 - [Mavenizer] Refactor the Mavenizer in preparation of future mavenized releases of Flex - Added the maven assembly plugin to create the fat jar that can be executed from the commandline.
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/908af514 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/908af514 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/908af514 Branch: refs/heads/develop Commit: 908af5143e350a5265701578d83274239dcdd811 Parents: 67ded72 Author: Christofer Dutz <[email protected]> Authored: Sat Jul 12 13:25:41 2014 +0200 Committer: Christofer Dutz <[email protected]> Committed: Sat Jul 12 13:25:41 2014 +0200 ---------------------------------------------------------------------- mavenizer/deployers/aether/pom.xml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/908af514/mavenizer/deployers/aether/pom.xml ---------------------------------------------------------------------- diff --git a/mavenizer/deployers/aether/pom.xml b/mavenizer/deployers/aether/pom.xml index 3d68cea..5e1ffc8 100644 --- a/mavenizer/deployers/aether/pom.xml +++ b/mavenizer/deployers/aether/pom.xml @@ -32,6 +32,40 @@ <version>1.0.0-SNAPSHOT</version> <packaging>jar</packaging> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addClasspath>true</addClasspath> + <mainClass>org.apache.flex.utilities.converter.core.SdkConverter</mainClass> + </manifest> + <manifestEntries> + <Implementation-Build>${project.version}</Implementation-Build> + </manifestEntries> + </archive> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + <finalName>flex-sdk-converter-${project.version}</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <dependencies> <dependency> <groupId>org.eclipse.aether</groupId>
