forked from spicefactory/Spicelib-Reflect
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
117 lines (107 loc) · 4.3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?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-reflect</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>
<resources>
<resource>
<directory>src/resources</directory>
</resource>
</resources>
<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>Metadata</keepAs3Metadata>
<keepAs3Metadata>Target</keepAs3Metadata>
<keepAs3Metadata>DefaultProperty</keepAs3Metadata>
<keepAs3Metadata>Required</keepAs3Metadata>
<keepAs3Metadata>AssignableTo</keepAs3Metadata>
<keepAs3Metadata>Event</keepAs3Metadata>
</keepAs3Metadatas>
<includeFiles>
<include>metadata.xml</include>
</includeFiles>
<includeTestFiles>
<param>ReflectionSuite.as</param>
</includeTestFiles>
</configuration>
<executions>
<execution>
<id>compile-domain-test</id>
<phase>test-compile</phase>
<goals>
<goal>compile-swf</goal>
</goals>
<configuration>
<sourceDirectory>src/test</sourceDirectory>
<sourceFile>${basedir}/src/test/org/spicefactory/lib/reflect/domain/ClassInChildDomain.as</sourceFile>
<finalName>test-classes/swf/domain</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>add-it-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/src/test/</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.spicefactory.lib</groupId>
<artifactId>spicelib-util</artifactId>
<version>${project.version}</version>
<type>swc</type>
</dependency>
</dependencies>
</project>