172 lines
5.8 KiB
XML
172 lines
5.8 KiB
XML
<?xml version="1.0"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>net.aimeizi</groupId>
|
|
<artifactId>flex-todolist-example</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
<artifactId>flex-todolist-web-example</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>flex-todolist-web-example Maven Webapp</name>
|
|
<url>http://maven.apache.org</url>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>5.1.31</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>flex-todolist-ria-example</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>swf</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring</artifactId>
|
|
<version>2.5.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>1.5.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>1.5.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate</artifactId>
|
|
<version>3.2.6.ga</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.adobe.blazeds</groupId>
|
|
<artifactId>blazeds-common</artifactId>
|
|
<version>3.0.0.544</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.adobe.blazeds</groupId>
|
|
<artifactId>blazeds-core</artifactId>
|
|
<version>3.0.0.544</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.adobe.blazeds</groupId>
|
|
<artifactId>blazeds-remoting</artifactId>
|
|
<version>3.0.0.544</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>backport-util-concurrent</groupId>
|
|
<artifactId>backport-util-concurrent</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>flex-todolist-config-example</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>resources</classifier>
|
|
<type>zip</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>flex-todolist-web-example</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-config</id>
|
|
<goals>
|
|
<goal>unpack-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/flex
|
|
</outputDirectory>
|
|
<includeArtifacIds>flex-todolist-config-example</includeArtifacIds>
|
|
<includeGroupIds>${project.groupId}</includeGroupIds>
|
|
<includeClassifiers>resources</includeClassifiers>
|
|
<excludeTransitive>true</excludeTransitive>
|
|
<excludeTypes>jar,swf</excludeTypes>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-swf</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
|
|
<includeTypes>swf</includeTypes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>info.rvin.mojo</groupId>
|
|
<artifactId>flex-compiler-mojo</artifactId>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
</project>
|