Skip to content

Commit

Permalink
Changing build system from ant to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
fdecampredon committed Jun 19, 2013
1 parent 73bf5ac commit ef7e295
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 104 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.settings
/bin
/.project
/release
build.properties
/.actionScriptProperties
/.flexLibProperties
/target
11 changes: 0 additions & 11 deletions build/build.properties.tmpl

This file was deleted.

53 changes: 0 additions & 53 deletions build/build.xml

This file was deleted.

28 changes: 0 additions & 28 deletions build/config.xml

This file was deleted.

10 changes: 0 additions & 10 deletions build/metadata.xml

This file was deleted.

80 changes: 80 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.spicefactory.lib</groupId>
<artifactId>spicelib</artifactId>
<version>3.1.1-SNAPSHOT</version>
</parent>

<artifactId>spicelib-commands</artifactId>
<packaging>swc</packaging>
<name>${project.groupId} ${project.artifactId} ${project.version}</name>
<description>${project.groupId} ${project.artifactId} ${project.version}</description>


<build>
<sourceDirectory>src/main</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flex-mojos.version}</version>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
</dependencies>

<extensions>true</extensions>

<configuration>
<debug>${flex-debug}</debug>
<optimize>${flex-optimize}</optimize>
<verboseStacktraces>${flex-verbose-stacktraces}</verboseStacktraces>
<targetPlayer>${player.version}</targetPlayer>
<includeSources>
<param>${project.build.sourceDirectory}</param>
</includeSources>
<allowSourcePathOverlap>true</allowSourcePathOverlap>
<showWarnings>true</showWarnings>
<compilerWarnings>
<warn-no-constructor>false</warn-no-constructor>
</compilerWarnings>
<keepAs3Metadatas>
<keepAs3Metadata>Inject</keepAs3Metadata>
</keepAs3Metadatas>
<includeTestFiles>
<param>CommandDataTest.as</param>
<param>CommandExecutionTest.as</param>
<param>CommandFlowTest.as</param>
<param>CommandGroupTest.as</param>
<param>LightCommandTest.as</param>
</includeTestFiles>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.spicefactory.lib</groupId>
<artifactId>spicelib-util</artifactId>
<version>${project.version}</version>
<type>swc</type>
</dependency>

<dependency>
<groupId>org.spicefactory.lib</groupId>
<artifactId>spicelib-reflect</artifactId>
<version>${project.version}</version>
<type>swc</type>
</dependency>

</dependencies>
</project>

0 comments on commit ef7e295

Please sign in to comment.