Repository: flex-tourjs Updated Branches: refs/heads/develop b80dfab05 -> 54708ba63
- Add Maven build to tourjs - Currently it's building one type of project "js" Project: http://git-wip-us.apache.org/repos/asf/flex-tourjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-tourjs/commit/54708ba6 Tree: http://git-wip-us.apache.org/repos/asf/flex-tourjs/tree/54708ba6 Diff: http://git-wip-us.apache.org/repos/asf/flex-tourjs/diff/54708ba6 Branch: refs/heads/develop Commit: 54708ba63ddb40d7c96a1f39c8a619695b12e8fe Parents: b80dfab Author: piotrz <[email protected]> Authored: Tue Jan 24 08:41:42 2017 +0100 Committer: piotrz <[email protected]> Committed: Tue Jan 24 08:41:42 2017 +0100 ---------------------------------------------------------------------- TourJS/pom.xml | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/54708ba6/TourJS/pom.xml ---------------------------------------------------------------------- diff --git a/TourJS/pom.xml b/TourJS/pom.xml new file mode 100644 index 0000000..113ff13 --- /dev/null +++ b/TourJS/pom.xml @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.flex</groupId> + <artifactId>tourjs</artifactId> + <version>0.1.0-SNAPSHOT</version> + <packaging>swf</packaging> + + <name>Apache Flex - Tour de FlexJS</name> + + <properties> + <compiler.debug>true</compiler.debug> + <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir> + </properties> + + <build> + <sourceDirectory>src/main/flex</sourceDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flexjs-maven-plugin</artifactId> + <version>0.8.0-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <flashVersion>20.0</flashVersion> + <debug>${compiler.debug}</debug> + <outputJavaScript>true</outputJavaScript> + <mainClass>TourJS.mxml</mainClass> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-jx</artifactId> + <version>0.8.0-SNAPSHOT</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <executions> + <execution> + <id>package-javascript</id> + <phase>package</phase> + <goals> + <goal>war</goal> + </goals> + </execution> + </executions> + <configuration> + <warSourceDirectory>${compiler.output-dir}</warSourceDirectory> + <failOnMissingWebXml>false</failOnMissingWebXml> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>attach-war</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + </execution> + </executions> + <configuration> + <artifacts> + <artifact> + <file>target/tourjs-0.1.0-SNAPSHOT.war</file> + <type>war</type> + </artifact> + </artifacts> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Core</artifactId> + <version>0.8.0-SNAPSHOT</version> + <type>swc</type> + </dependency> + + <dependency> + <groupId>com.adobe.flash.framework</groupId> + <artifactId>playerglobal</artifactId> + <version>20.0</version> + <type>swc</type> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Express</artifactId> + <version>0.8.0-SNAPSHOT</version> + <type>swc</type> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>HTML</artifactId> + <version>0.8.0-SNAPSHOT</version> + <type>swc</type> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Network</artifactId> + <version>0.8.0-SNAPSHOT</version> + <type>swc</type> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.framework</groupId> + <artifactId>Language</artifactId> + <version>0.8.0-SNAPSHOT</version> + <type>swc</type> + </dependency> + </dependencies> + +</project> \ No newline at end of file
