-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpom.xml
More file actions
134 lines (127 loc) · 4.44 KB
/
pom.xml
File metadata and controls
134 lines (127 loc) · 4.44 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<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>net.fproject</groupId>
<artifactId>fprj-core</artifactId>
<version>0.9.5</version>
<packaging>swf</packaging>
<name>F-Project Core Library</name>
<properties >
<flex.sdk.version >4.6.b.23201</flex.sdk.version >
<flexmojos.version >4.0-RC2</flexmojos.version >
<flexunit.version >4.1.0-8</flexunit.version >
<mockito-flex.version>1.4M5</mockito-flex.version>
</properties >
<build >
<sourceDirectory>fprj-core/src</sourceDirectory>
<testSourceDirectory>fprj-core-test/src</testSourceDirectory>
<plugins >
<plugin >
<groupId >org.sonatype.flexmojos</groupId >
<artifactId >flexmojos-maven-plugin</artifactId >
<version >${flexmojos.version}</version >
<extensions >true</extensions >
<configuration >
<includeSources>
<param>fprj-core/src</param>
</includeSources>
<includeTestSources>
<param>fprj-core-test/src</param>
</includeTestSources>
<sourceFile>TestMain.as</sourceFile>
<compilerWarnings>
<warn-no-constructor>false</warn-no-constructor>
</compilerWarnings>
<configurationReport>true</configurationReport>
<headlessServer >true</headlessServer >
<verboseStacktraces >true</verboseStacktraces >
<includeTestFiles >
<includeTestFile >*TestSuite.as</includeTestFile >
</includeTestFiles >
<localesSourcePath>${basedir}/fprj-core/locale/{locale}</localesSourcePath>
<locales>
<param>${flex.compiler.locale}</param>
</locales>
<localesRuntime>
<locale>en_US</locale>
</localesRuntime>
<configurationReport>true</configurationReport>
</configuration >
<dependencies >
<!-- Nice POM bundle available per SDK on Sonatype thanks to Flex-Mojos -->
<dependency >
<groupId >com.adobe.flex</groupId >
<artifactId >compiler</artifactId >
<version >${flex.sdk.version}</version >
<type >pom</type >
</dependency >
</dependencies >
</plugin >
</plugins >
</build >
<dependencies >
<!-- Nice POM bundle available per SDK on Sonatype thanks to Flex-Mojos -->
<dependency >
<groupId >com.adobe.flex.framework</groupId >
<artifactId >flex-framework</artifactId >
<version >${flex.sdk.version}</version >
<type >pom</type >
</dependency >
<dependency>
<groupId>net.fproject.as3commons</groupId>
<artifactId>as3commons-reflect</artifactId>
<version>1.0</version>
<type>swc</type>
</dependency>
<!-- Based on testing library dependency specified, FlexMojos will know how to test your application -->
<dependency >
<groupId >com.adobe.flexunit</groupId >
<artifactId >flexunit</artifactId >
<version >${flexunit.version}</version >
<type >swc</type >
<scope >test</scope >
</dependency >
<!-- Adding Mockito-Flex -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-flex</artifactId>
<version>${mockito-flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<!-- Adding AsUnit, a dependancy of Mockito-Flex -->
<dependency>
<groupId>com.asunit</groupId>
<artifactId>asunit</artifactId>
<version>20071011</version>
<type>swc</type>
<scope>test</scope>
</dependency>
</dependencies >
<!-- Ideally this would go into your ~/.m2/settings.xml file -->
<repositories >
<repository >
<id >flex-mojos-repository</id >
<url >http://repository.sonatype.org/content/groups/flexgroup</url >
<releases >
<enabled >true</enabled >
</releases >
<snapshots >
<enabled >false</enabled >
</snapshots >
</repository >
</repositories >
<pluginRepositories >
<pluginRepository >
<id >flex-mojos-plugin-repository</id >
<url >http://repository.sonatype.org/content/groups/flexgroup</url >
<releases >
<enabled >true</enabled >
</releases >
<snapshots >
<enabled >false</enabled >
</snapshots >
</pluginRepository >
</pluginRepositories >
</project >