Obtain ActionScript dependencies via Maven (except as3isolib who don't even
want to publish a swc let alone a Maven artifact). git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1074 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?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>
|
||||
<groupId>com.threerings</groupId>
|
||||
<artifactId>nenyalib</artifactId>
|
||||
<packaging>swc</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<name>nenya</name>
|
||||
<description>Facilities for making networked multiplayer games.</description>
|
||||
<url>http://code.google.com/p/nenya/</url>
|
||||
<issueManagement>
|
||||
<url>http://code.google.com/p/nenya/issues/list</url>
|
||||
</issueManagement>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>flexlib-repo</id>
|
||||
<url>http://maven.ow2.org/maven2</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.threerings</groupId>
|
||||
<artifactId>aspirin</artifactId>
|
||||
<version>1.6</version>
|
||||
<scope>compile</scope>
|
||||
<type>swc</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>flexlib</groupId>
|
||||
<artifactId>flexlib-bin</artifactId>
|
||||
<version>2.4</version>
|
||||
<scope>compile</scope>
|
||||
<type>swc</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.threerings</groupId>
|
||||
<artifactId>naryalib</artifactId>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
<type>swc</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -15,11 +15,6 @@
|
||||
<include name="jogg-0.0.7.jar"/>
|
||||
<include name="jorbis-0.0.15.jar"/>
|
||||
<include name="jl1.0.jar"/>
|
||||
<!-- ActionScript dependencies -->
|
||||
<include name="as3isolib-fp9.swc"/>
|
||||
<include name="aspirin*.swc"/>
|
||||
<include name="flexlib.swc"/>
|
||||
<include name="naryalib.swc"/>
|
||||
</fileset>
|
||||
<!-- end TEMP -->
|
||||
|
||||
@@ -160,6 +155,15 @@
|
||||
|
||||
<target name="aslib" unless="no_rebuild_aslib" depends="-checkaslib"
|
||||
description="Builds ActionScript library.">
|
||||
<!-- obtain our ActionScript dependencies via Maven -->
|
||||
<artifact:pom id="as-pom" file="as-pom.xml"/>
|
||||
<artifact:dependencies filesetId="aslibs.fileset" pomRefId="as-pom" useScope="compile"/>
|
||||
<copy todir="${deploy.dir}/lib">
|
||||
<fileset dir="lib" includes="as3isolib-*.swc"/>
|
||||
<fileset refid="aslibs.fileset"/>
|
||||
<mapper type="flatten"/>
|
||||
</copy>
|
||||
|
||||
<copy file="etc/aslib-config.xml.in" tofile="${deploy.dir}/aslib-config.xml">
|
||||
<filterset>
|
||||
<filter token="flex_sdk_dir" value="${flexsdk.dir}"/>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user