-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
91 lines (80 loc) · 2.98 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
<?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>
<artifactId>jooflash-app-template</artifactId>
<groupId>net.jangaroo.flash</groupId>
<version>0.9.9-SNAPSHOT</version>
<packaging>war</packaging>
<name>Jangaroo Flash Application Template</name>
<description>
A template project for a Jangaroo Flash Application.
</description>
<developers>
<developer>
<name>Frank Wienberg</name>
<organization>Jangaroo</organization>
<organizationUrl>http://www.jangaroo.net</organizationUrl>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jangaroo_version>0.9.9</jangaroo_version>
<jangaroo_libs_version>0.9.9</jangaroo_libs_version>
<jetty_version>7.2.2.v20101205</jetty_version>
</properties>
<build>
<sourceDirectory>src/main/joo</sourceDirectory>
<outputDirectory>target/jangaroo-output</outputDirectory>
<plugins>
<!-- Use the Jangaroo compiler in "war mode". -->
<plugin>
<groupId>net.jangaroo</groupId>
<artifactId>jangaroo-maven-plugin</artifactId>
<extensions>true</extensions>
<version>${jangaroo_version}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>war-package</goal>
</goals>
<configuration>
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Needed for Maven not to fail because we have no web.xml. -->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty_version}</version>
<configuration>
<webAppConfig>
<defaultsDescriptor>webdefault.xml</defaultsDescriptor>
</webAppConfig>
<webAppSourceDirectory>${project.build.directory}/${project.artifactId}</webAppSourceDirectory>
<stopKey>STOPME</stopKey>
<stopPort>8081</stopPort>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- To use Jangaroo Flash library, all you need is this dependency: -->
<dependency>
<groupId>net.jangaroo</groupId>
<artifactId>jooflash</artifactId>
<version>${jangaroo_libs_version}</version>
<type>jangaroo</type>
</dependency>
</dependencies>
</project>