adjust maven build
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/6a885214 Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/6a885214 Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/6a885214 Branch: refs/heads/master Commit: 6a885214815e9be0b9038179b15e1d2e76f48c0b Parents: 2658a72 Author: Alex Harui <[email protected]> Authored: Tue May 2 23:22:40 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Tue May 2 23:22:40 2017 -0700 ---------------------------------------------------------------------- createjs/pom.xml | 101 +++----------------------------------------------- 1 file changed, 6 insertions(+), 95 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/6a885214/createjs/pom.xml ---------------------------------------------------------------------- diff --git a/createjs/pom.xml b/createjs/pom.xml index 6e09003..ddc313f 100644 --- a/createjs/pom.xml +++ b/createjs/pom.xml @@ -40,83 +40,6 @@ <build> <plugins> <plugin> - <groupId>com.googlecode.maven-download-plugin</groupId> - <artifactId>download-maven-plugin</artifactId> - <version>1.2.1</version> - <executions> - <!-- Download easejs/createjs form GitHub and unpack it into the target directory --> - <execution> - <id>get-createjs</id> - <phase>validate</phase> - <goals> - <goal>wget</goal> - </goals> - <configuration> - <url>https://github.com/CreateJS/EaselJS/archive/${createjs.version}.zip</url> - <unpack>true</unpack> - <outputFileName>createjs-${createjs.version}.zip</outputFileName> - <outputDirectory>${project.build.directory}/downloads</outputDirectory> - </configuration> - </execution> - <!-- Download TweenJS form GitHub and unpack it into the target directory --> - <execution> - <id>get-tweenjs</id> - <phase>validate</phase> - <goals> - <goal>wget</goal> - </goals> - <configuration> - <url>https://github.com/CreateJS/TweenJS/archive/${tweenjs.version}.zip</url> - <unpack>true</unpack> - <outputFileName>tweenjs-${tweenjs.version}.zip</outputFileName> - <outputDirectory>${project.build.directory}/downloads</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.5.0</version> - <configuration> - <executable>${git.executable}</executable> - <workingDirectory>${basedir}/..</workingDirectory> - <arguments> - <argument>apply</argument> - <argument>--ignore-whitespace</argument> - <argument>--whitespace=nowarn</argument> - </arguments> - </configuration> - <executions> - <execution> - <id>patch-easeljs</id> - <phase>validate</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <arguments combine.children="append"> - <argument>${basedir}/src/main/patch/easeljs.patch</argument> - </arguments> - </configuration> - </execution> - <execution> - <id>patch-tweenjs</id> - <phase>validate</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <arguments combine.children="append"> - <argument>${basedir}/src/main/patch/tweenjs.patch</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> <groupId>org.apache.flex.flexjs.compiler</groupId> <artifactId>flexjs-maven-plugin</artifactId> <version>${flexjs.compiler.version}</version> @@ -130,24 +53,6 @@ <include>**/*.js</include> </includes> </fileSet> - <fileSet> - <directory>${project.basedir}/target/downloads/EaselJS-${createjs.version}/src</directory> - <includes> - <include>**/*.js</include> - </includes> - <excludes> - <exclude>easeljs/version.js</exclude> - <exclude>easeljs/version_movieclip.js</exclude> - </excludes> - </fileSet> - <fileSet> - <directory>${project.basedir}/target/downloads/TweenJS-${tweenjs.version}/src</directory> - <includes> - <include>tweenjs/Ease.js</include> - <include>tweenjs/Timeline.js</include> - <include>tweenjs/Tween.js</include> - </includes> - </fileSet> </externcInput> <externcConfig> <class-excludes> @@ -171,6 +76,11 @@ <path>../src/main/javascript/missing.js</path> </include-file> <include-file> + <name>externs/createjs.js</name> + <path>../src/main/javascript/createjs.js</path> + </include-file> + <!-- + <include-file> <name>externs/AlphaMapFilter.js</name> <path>downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path> </include-file> @@ -310,6 +220,7 @@ <name>externs/Ticker.js</name> <path>downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path> </include-file> + --> </includeFiles> <skipSwc>true</skipSwc> </configuration>
