http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/createjs/pom.xml ---------------------------------------------------------------------- diff --git a/externs/createjs/pom.xml b/externs/createjs/pom.xml new file mode 100644 index 0000000..c9cc721 --- /dev/null +++ b/externs/createjs/pom.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-createjs</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: CreateJS</name> + + <properties> + <createjs.version>0.8.0</createjs.version> + </properties> + + <build> + <plugins> + <!-- Download easejs/createjs form GitHub and unpack it into the target directory --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>get-createjs</id> + <phase>generate-resources</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}</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-build-tools</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <execution> + <id>pre-process-sources</id> + <phase>generate-resources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <operations> + <replace-regexp-operation><match>this\.createjs = this\.createjs(\s)*\|\|(\s)*\{\};</match><replace/></replace-regexp-operation> + <!-- Remove the opening brackets at the beginning --> + <replace-regexp-operation><match>(\n|\r){1,2}\(function(\s)*\(\)(\s)*\{(\s)*(\n|\r)*</match><replace/></replace-regexp-operation> + <!-- Remove the "use strict" output --> + <replace-regexp-operation><match>\s*"use strict";(\n\r)*</match><replace/></replace-regexp-operation> + <!-- Rewrite the way the functions are declared --> + <replace-regexp-operation><match>function §{file.base}\(</match><replace>createjs.§{file.base} = function(</replace></replace-regexp-operation> + <!-- Replace the way the type is referenced --> + <replace-regexp-operation><match>var p = §{file.base}\.prototype;</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>\sp\.</match><replace>_createjs.§{file.base}.prototype.</replace></replace-regexp-operation> + <replace-regexp-operation><match>(?<!createjs\.)§{file.base}\.</match><replace>createjs.§{file.base}.</replace></replace-regexp-operation> + <replace-regexp-operation><match>var p = createjs\.extend\(§{file.base}, createjs\..*\);</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>createjs\.§{file.base} = createjs\.promote\(§{file.base}, ".*"\);</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>createjs\.§{file.base} = §{file.base};</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>\s@extends\s(.*)</match><replace>_@extends createjs.$1</replace></replace-regexp-operation> + <!-- Add the package to the JavaScript Doc types that are not naive JavaScript --> + <replace-regexp-operation><match>\s@(param|type|return)\s\{(Sprite|SpriteSheet|DisplayObject|Container|Shadow|Rectangle|Matrix2D|Stage|Point|DisplayProps|Graphics|MovieClip|ColorMatrix|Filter)(\}|\s)</match><replace>_@$1 {createjs.$2$3</replace></replace-regexp-operation> + <!-- Remove the "[time]" that sometimes accompanies Number parameters and place it after the type --> + <replace-regexp-operation><match>@param \[time\] \{Number\}</match><replace>@param {Number} time</replace></replace-regexp-operation> + <!-- + Replace the try-catch + (Had to limit the number of chars as other wise I get Stack Overflows) + --> + <replace-regexp-operation><match>\stry \{\s*Object\.defineProperties\(p, \{\s*(.*): \{\s(.|\n|\r){0,200} *\} catch \(e\) \{\}</match><replace>createjs.§{file.base}.prototype.$1;</replace></replace-regexp-operation> + <!-- In MouseEvent and MovieClip the try-cach was completely removed --> + <replace-regexp-operation><match>createjs.MouseEvent.prototype.localX; // TODO: use Log</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>createjs.MovieClip.prototype.labels;</match><replace/></replace-regexp-operation> + <!-- Remove the closing brackets at the end --> + <replace-regexp-operation><match>\}(\)\(|\(\))\);</match><replace/></replace-regexp-operation> + </operations> + </configuration> + </execution> + <execution> + <id>pre-process-sources-ticker</id> + <phase>generate-resources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <includes> + <include>createjs/utils/Ticker.js</include> + </includes> + <operations> + <cut-operation> + <start-cutting-line>355</start-cutting-line> + <stop-cutting-line>378</stop-cutting-line> + </cut-operation> + </operations> + </configuration> + </execution> + <!-- Cut off the end of Graphics.js --> + <execution> + <id>pre-process-sources-graphics</id> + <phase>generate-resources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <includes> + <include>easeljs/display/Graphics.js</include> + </includes> + <operations> + <cut-operation> + <start-cutting-line>1560</start-cutting-line> + <stop-cutting-line>2163</stop-cutting-line> + </cut-operation> + </operations> + </configuration> + </execution> + <!-- It seems that excluding the files doesn't work, so we have to delete them --> + <execution> + <id>pre-process-delete-unused</id> + <phase>generate-resources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <includes> + <include>easeljs/version.js</include> + <include>easeljs/version_movieclip.js</include> + </includes> + <operations> + <delete-file-operation/> + </operations> + </configuration> + </execution> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <phase>generate-resources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <!-- Take the JavaScript from the previously downloaded and unpacked distribution --> + <downloadesSourceDirectory>${project.build.directory}/EaselJS-${createjs.version}/src</downloadesSourceDirectory> + <includes> + <include>**/*.js</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + </dependencies> + +</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/createjs/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/createjs/src/main/config/compile-config.xml b/externs/createjs/src/main/config/compile-config.xml new file mode 100644 index 0000000..ffcf29b --- /dev/null +++ b/externs/createjs/src/main/config/compile-config.xml @@ -0,0 +1,102 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + + <locale/> + + <library-path/> + + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <external-library-path> + <path-element>../js/out/bin/js.swc</path-element> + </external-library-path> + + <source-path> + <path-element>out/as/classes</path-element> + <!-- + <path-element>out/as/constants</path-element> + <path-element>out/as/functions</path-element> + <path-element>out/as/interfaces</path-element> + <path-element>out/as/typedefs</path-element> + --> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>out/as/classes</path-element> + <!-- + <path-element>out/as/constants</path-element> + <path-element>out/as/functions</path-element> + <path-element>out/as/interfaces</path-element> + <path-element>out/as/typedefs</path-element> + --> + </include-sources> + + <include-file> + <name>externs/*</name> + <path>out/externs/*</path> + </include-file> + <!-- + <include-file> + <name>assets/ErrorIndicator.png</name> + <path>assets/ErrorIndicator.png</path> + </include-file> + <include-file> + <name>assets/RequiredIndicator.png</name> + <path>assets/RequiredIndicator.png</path> + </include-file> + + <include-namespaces> + <uri>library://ns.adobe.com/flex/spark</uri> + </include-namespaces> + + <resource-bundle-list>bundles.properties</resource-bundle-list> + + <target-player>${playerglobal.version}</target-player> + --> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/createjs/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/createjs/src/main/config/generate-config.xml b/externs/createjs/src/main/config/generate-config.xml new file mode 100644 index 0000000..199ee96 --- /dev/null +++ b/externs/createjs/src/main/config/generate-config.xml @@ -0,0 +1,130 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + --> + + <locale/> + + <library-path/> + + <!-- + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <source-path> + <path-element>../javascript</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/events/Event.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/utils/extend.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/utils/indexof.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/utils/promote.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Bitmap.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/BitmapText.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Container.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/DOMElement.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Graphics.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/MovieClip.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Shadow.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Shape.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Sprite.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Stage.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/display/Text.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/ColorFilter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/ColorMatrixFilter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/filters/Filter.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/geom/Point.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/ui/Touch.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetUtils.js</path-element> + <path-element>../../../target/EaselJS-0.8.0/src/easeljs/utils/UID.js</path-element> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + + <class-exclude> + <class>MovieClipPlugin</class> + </class-exclude> + <class-exclude> + <class>createjs.Text.V_OFFSETS</class> + </class-exclude> + <class-exclude> + <class>createjs.Text.H_OFFSETS</class> + </class-exclude> + <class-exclude> + <class>createjs.Graphics.BASE_64</class> + </class-exclude> + + <!-- + <field-exclude> + <class>Window</class> + <field>focus</field> + </field-exclude> + + <exclude> + <class>Array</class> + <name>toSource</name> + </exclude> + --> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/google_maps/pom.xml ---------------------------------------------------------------------- diff --git a/externs/google_maps/pom.xml b/externs/google_maps/pom.xml new file mode 100644 index 0000000..fe23c37 --- /dev/null +++ b/externs/google_maps/pom.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-goolemaps</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: GoogleMaps</name> + + <properties> + <googlemaps.version>v3_11</googlemaps.version> + </properties> + + <build> + <plugins> + <!-- Download JavaScript form GitHub --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>get-createjs</id> + <phase>generate-resources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/maps/google_maps_api_${googlemaps.version}.js</url> + <outputFileName>google_maps_api_${googlemaps.version}.js</outputFileName> + <outputDirectory>${project.build.directory}/downloads</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-build-tools</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <execution> + <id>pre-process-sources</id> + <phase>generate-resources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <operations> + <replace-regexp-operation><match>\/\/ Namespace</match><replace>/** @const */</replace></replace-regexp-operation> + <replace-regexp-operation><match>google\.maps = \{\};</match><replace><![CDATA[ +/** @const */ +var google = {}; + +/** @const */ +google.maps = {};]]></replace></replace-regexp-operation> + </operations> + </configuration> + </execution> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <phase>generate-resources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <includes> + <include>**/*.js</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + </dependencies> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/google_maps/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/google_maps/src/main/config/compile-config.xml b/externs/google_maps/src/main/config/compile-config.xml new file mode 100644 index 0000000..ff0d4fc --- /dev/null +++ b/externs/google_maps/src/main/config/compile-config.xml @@ -0,0 +1,97 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + + <locale/> + + <library-path/> + + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <external-library-path> + <path-element>../js/out/bin/js.swc</path-element> + </external-library-path> + + <source-path> + <path-element>out/as/classes</path-element> + <path-element>out/as/interfaces</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>out/as/classes</path-element> + <path-element>out/as/interfaces</path-element> + </include-sources> + + <include-file> + <name>externs/google_maps_api_v3_11.js</name> + <path>externs/google_maps_api_v3_11.js</path> + </include-file> + + <!-- + <include-file> + <name>defaults.css</name> + <path>defaults.css</path> + </include-file> + <include-file> + <name>assets/ErrorIndicator.png</name> + <path>assets/ErrorIndicator.png</path> + </include-file> + <include-file> + <name>assets/RequiredIndicator.png</name> + <path>assets/RequiredIndicator.png</path> + </include-file> + + <include-namespaces> + <uri>library://ns.adobe.com/flex/spark</uri> + </include-namespaces> + + <resource-bundle-list>bundles.properties</resource-bundle-list> + + <target-player>${playerglobal.version}</target-player> + --> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/google_maps/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/google_maps/src/main/config/generate-config.xml b/externs/google_maps/src/main/config/generate-config.xml new file mode 100644 index 0000000..c728055 --- /dev/null +++ b/externs/google_maps/src/main/config/generate-config.xml @@ -0,0 +1,39 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <locale/> + + <source-path> + <path-element>../javascript</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + <path-element>../../../target/downloads/google_maps_api_v3_11.js</path-element> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jasmine/pom.xml ---------------------------------------------------------------------- diff --git a/externs/jasmine/pom.xml b/externs/jasmine/pom.xml new file mode 100644 index 0000000..e4e732d --- /dev/null +++ b/externs/jasmine/pom.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-jasmine</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: Jasmine</name> + + <properties> + <jasmine.version>2.0</jasmine.version> + </properties> + + <build> + <plugins> + <!-- Download JavaScript form GitHub --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>get-createjs</id> + <phase>generate-resources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jasmine-${jasmine.version}.js</url> + <outputFileName>jasmine-${jasmine.version}.js</outputFileName> + <outputDirectory>${project.build.directory}/downloads</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>externc-maven-plugin</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <phase>generate-resources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jasmine/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/jasmine/src/main/config/compile-config.xml b/externs/jasmine/src/main/config/compile-config.xml new file mode 100644 index 0000000..2af1e2a --- /dev/null +++ b/externs/jasmine/src/main/config/compile-config.xml @@ -0,0 +1,97 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + + <locale/> + + <library-path/> + + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <external-library-path> + <path-element>../js/out/bin/js.swc</path-element> + </external-library-path> + + <source-path> + <path-element>out/as/classes</path-element> + <path-element>out/as/functions</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>out/as/classes</path-element> + <path-element>out/as/functions</path-element> + </include-sources> + + <include-file> + <name>externs/jasmine-2.0.js</name> + <path>externs/jasmine-2.0.js</path> + </include-file> + + <!-- + <include-file> + <name>defaults.css</name> + <path>defaults.css</path> + </include-file> + <include-file> + <name>assets/ErrorIndicator.png</name> + <path>assets/ErrorIndicator.png</path> + </include-file> + <include-file> + <name>assets/RequiredIndicator.png</name> + <path>assets/RequiredIndicator.png</path> + </include-file> + + <include-namespaces> + <uri>library://ns.adobe.com/flex/spark</uri> + </include-namespaces> + + <resource-bundle-list>bundles.properties</resource-bundle-list> + + <target-player>${playerglobal.version}</target-player> + --> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jasmine/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/jasmine/src/main/config/generate-config.xml b/externs/jasmine/src/main/config/generate-config.xml new file mode 100644 index 0000000..e5474ba --- /dev/null +++ b/externs/jasmine/src/main/config/generate-config.xml @@ -0,0 +1,45 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <locale/> + + <source-path> + <path-element>../javascript</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + <path-element>../../../target/downloads/jasmine-2.0.js</path-element> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + + <field-exclude> + <class>jasmine.Spec</class> + <field>$injector</field> + </field-exclude> + <exclude><class>jasmine.Matchers</class><name>actual</name></exclude><!-- TODO returns T --> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jquery/pom.xml ---------------------------------------------------------------------- diff --git a/externs/jquery/pom.xml b/externs/jquery/pom.xml new file mode 100644 index 0000000..cb289b5 --- /dev/null +++ b/externs/jquery/pom.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-jquery</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: JQuery</name> + + <properties> + <jquery.version>1.9</jquery.version> + </properties> + + <build> + <plugins> + <!-- Download JavaScript form GitHub --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>get-createjs</id> + <phase>generate-resources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jquery-${jquery.version}.js</url> + <outputFileName>jquery-${jquery.version}.js</outputFileName> + <outputDirectory>${project.build.directory}/downloads</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>externc-maven-plugin</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <phase>generate-resources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jquery/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/jquery/src/main/config/compile-config.xml b/externs/jquery/src/main/config/compile-config.xml new file mode 100644 index 0000000..c290bdf --- /dev/null +++ b/externs/jquery/src/main/config/compile-config.xml @@ -0,0 +1,101 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + + <locale/> + + <library-path/> + + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <external-library-path> + <path-element>../js/out/bin/js.swc</path-element> + </external-library-path> + + <source-path> + <path-element>out/as/classes</path-element> + <path-element>out/as/constants</path-element> + <path-element>out/as/interfaces</path-element> + <path-element>out/as/typedefs</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>out/as/classes</path-element> + <path-element>out/as/constants</path-element> + <path-element>out/as/interfaces</path-element> + <path-element>out/as/typedefs</path-element> + </include-sources> + + <include-file> + <name>externs/jquery-1.9.js</name> + <path>externs/jquery-1.9.js</path> + </include-file> + + <!-- + <include-file> + <name>defaults.css</name> + <path>defaults.css</path> + </include-file> + <include-file> + <name>assets/ErrorIndicator.png</name> + <path>assets/ErrorIndicator.png</path> + </include-file> + <include-file> + <name>assets/RequiredIndicator.png</name> + <path>assets/RequiredIndicator.png</path> + </include-file> + + <include-namespaces> + <uri>library://ns.adobe.com/flex/spark</uri> + </include-namespaces> + + <resource-bundle-list>bundles.properties</resource-bundle-list> + + <target-player>${playerglobal.version}</target-player> + --> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/jquery/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/jquery/src/main/config/generate-config.xml b/externs/jquery/src/main/config/generate-config.xml new file mode 100644 index 0000000..5728fe5 --- /dev/null +++ b/externs/jquery/src/main/config/generate-config.xml @@ -0,0 +1,59 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <locale/> + + <source-path> + <path-element>../javascript</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + <path-element>../../../target/downloads/jquery-1.9.js</path-element> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + + <!-- JQuery --> + <class-to-function><class>$</class></class-to-function> + + <exclude><class>jQuery</class><name>is</name></exclude> + <exclude><class>jQuery</class><name>promise</name></exclude> + <exclude><class>jQuery</class><name>getJSON</name></exclude> + <exclude><class>jQuery</class><name>ajax</name></exclude> + <exclude><class>jQuery</class><name>when</name></exclude> + <exclude><class>jQuery</class><name>post</name></exclude> + <exclude><class>jQuery</class><name>getScript</name></exclude> + <exclude><class>jQuery</class><name>Callbacks</name></exclude> + + <class-exclude><class>Deferred</class></class-exclude> + <class-exclude><class>jQuery.deferred</class></class-exclude> + <class-exclude><class>jQuery.Event</class></class-exclude> + <class-exclude><class>jQuery.Deferred</class></class-exclude> + <class-exclude><class>$.Event</class></class-exclude> + <class-exclude><class>$.Deferred</class></class-exclude> + <class-exclude><class>$.deferred</class></class-exclude> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/pom.xml ---------------------------------------------------------------------- diff --git a/externs/js/pom.xml b/externs/js/pom.xml new file mode 100644 index 0000000..96f95b8 --- /dev/null +++ b/externs/js/pom.xml @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-js</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: JS</name> + + <build> + <plugins> + <!-- Download JavaScript form GitHub --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>get-createjs</id> + <phase>generate-sources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>https://closureidl.googlecode.com/files/svg.js</url> + <outputFileName>svg.js</outputFileName> + <outputDirectory>${project.build.directory}/downloads</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-build-tools</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <execution> + <id>unpack-closure-externs</id> + <goals> + <goal>unpack-resources</goal> + </goals> + <configuration> + <resource>externs.zip</resource> + </configuration> + </execution> + <execution> + <id>pre-process-javascript-sources-svg</id> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <operations> + <replace-regexp-operation><match>@type \{function\(new:.*</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>Window\.prototype\..*</match><replace/></replace-regexp-operation> + <replace-regexp-operation><match>EventListener\|\(function\(Event\)</match><replace>EventListener|(function(!Event)</replace></replace-regexp-operation> + </operations> + <includes> + <include>svg.js</include> + </includes> + </configuration> + </execution> + <execution> + <id>pre-process-javascript-sources-es3</id> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <operations> + <replace-regexp-operation><match>(The constructor of the current object\.\n.*)@type\s\{Function\}</match><replace>$1@type {Class}</replace></replace-regexp-operation> + <replace-regexp-operation><match>Object\.prototype\.constructor\s=\sfunction\(\)\s\{\};</match><replace>Object.prototype.constructor;</replace></replace-regexp-operation> + <replace-regexp-operation><match>(Transposes the elements of an array in place.*\n.*\n.*)(\n.*\s@this)</match><replace>$1 @return {!Array<?>}$2</replace></replace-regexp-operation> + </operations> + <includes> + <include>es3.js</include> + </includes> + </configuration> + </execution> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <goals> + <goal>generate</goal> + </goals> + </execution> + <execution> + <id>pre-process-actionscript-sources</id> + <phase>process-sources</phase> + <goals> + <goal>pre-process-sources</goal> + </goals> + <configuration> + <operations> + <replace-regexp-operation><match>base\:Number\)</match><replace>base:Number = 10)</replace></replace-regexp-operation> + </operations> + <downloadesSourceDirectory>target/generated-sources/externc</downloadesSourceDirectory> + <includes> + <include>functions/parseInt.as</include> + </includes> + </configuration> + </execution> + <execution> + <id>compile</id> + <goals> + <goal>compile</goal> + </goals> + </execution> + </executions> + <!-- + Dependency to the closure compiler externs artifact so + the "unpack-resources" goal can find the externs.zip + --> + <dependencies> + <dependency> + <groupId>com.google.javascript</groupId> + <artifactId>closure-compiler-externs</artifactId> + <version>v20151015</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/js/src/main/config/compile-config.xml b/externs/js/src/main/config/compile-config.xml new file mode 100644 index 0000000..15c9d59 --- /dev/null +++ b/externs/js/src/main/config/compile-config.xml @@ -0,0 +1,93 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + + <locale/> + + <library-path/> + + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + <source-path> + <path-element>../../../target/generated-sources/externc/classes</path-element> + <path-element>../../../target/generated-sources/externc/constants</path-element> + <path-element>../../../target/generated-sources/externc/functions</path-element> + <path-element>../../../target/generated-sources/externc/interfaces</path-element> + <path-element>../../../target/generated-sources/externc/typedefs</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>../../../target/generated-sources/externc/classes</path-element> + <path-element>../../../target/generated-sources/externc/constants</path-element> + <path-element>../../../target/generated-sources/externc/functions</path-element> + <path-element>../../../target/generated-sources/externc/interfaces</path-element> + <path-element>../../../target/generated-sources/externc/typedefs</path-element> + </include-sources> + + <include-file> + <name>externs/svg.js</name> + <path>../../../target/downloads/svg.js</path> + </include-file> + <!-- + <include-file> + <name>assets/ErrorIndicator.png</name> + <path>assets/ErrorIndicator.png</path> + </include-file> + <include-file> + <name>assets/RequiredIndicator.png</name> + <path>assets/RequiredIndicator.png</path> + </include-file> + + <include-namespaces> + <uri>library://ns.adobe.com/flex/spark</uri> + </include-namespaces> + + <resource-bundle-list>bundles.properties</resource-bundle-list> + + <target-player>${playerglobal.version}</target-player> + --> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/js/src/main/config/generate-config.xml b/externs/js/src/main/config/generate-config.xml new file mode 100644 index 0000000..f4a3b20 --- /dev/null +++ b/externs/js/src/main/config/generate-config.xml @@ -0,0 +1,173 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <!-- + <external-library-path> + <path-element>${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc</path-element> + <path-element>../../libs/framework.swc</path-element> + <path-element>../../libs/mx/mx.swc</path-element> + <path-element>../../libs/osmf.swc</path-element> + <path-element>../../libs/textLayout.swc</path-element> + </external-library-path> + + <keep-as3-metadata> + <name>SkinPart</name> + </keep-as3-metadata> + + <mxml> + <minimum-supported-version>4.0.0</minimum-supported-version> + </mxml> + --> + + <locale/> + + <library-path/> + + <!-- + <namespaces> + <namespace> + <uri>library://ns.adobe.com/flex/spark</uri> + <manifest>manifest.xml</manifest> + </namespace> + </namespaces> + --> + + <source-path> + <path-element>src</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + <path-element>../javascript/missing.js</path-element> + <path-element>../../../target/downloads/es3.js</path-element> + <path-element>../../../target/downloads/es5.js</path-element> + <path-element>../../../target/downloads/es6.js</path-element> + <path-element>../../../target/downloads/browser/w3c_anim_timing.js</path-element> + <path-element>../../../target/downloads/browser/w3c_audio.js</path-element> + <path-element>../../../target/downloads/browser/w3c_batterystatus.js</path-element> + <path-element>../../../target/downloads/browser/w3c_css.js</path-element> + <path-element>../../../target/downloads/browser/w3c_css3d.js</path-element> + <path-element>../../../target/downloads/browser/w3c_device_sensor_event.js</path-element> + <path-element>../../../target/downloads/browser/w3c_dom1.js</path-element> + <path-element>../../../target/downloads/browser/w3c_dom2.js</path-element> + <path-element>../../../target/downloads/browser/w3c_dom3.js</path-element> + <path-element>../../../target/downloads/browser/w3c_elementtraversal.js</path-element> + <path-element>../../../target/downloads/browser/w3c_encoding.js</path-element> + <path-element>../../../target/downloads/browser/w3c_event.js</path-element> + <path-element>../../../target/downloads/browser/w3c_event3.js</path-element> + <path-element>../../../target/downloads/browser/w3c_geolocation.js</path-element> + <path-element>../../../target/downloads/browser/w3c_indexeddb.js</path-element> + <path-element>../../../target/downloads/browser/w3c_navigation_timing.js</path-element> + <path-element>../../../target/downloads/browser/w3c_range.js</path-element> + <path-element>../../../target/downloads/browser/w3c_rtc.js</path-element> + <path-element>../../../target/downloads/browser/w3c_selectors.js</path-element> + <!-- path-element>../../../target/downloads/browser/w3c_serviceworker.js</path-element> --> + <!-- path-element>../../../target/downloads/browser/w3c_webcrypto.js</path-element> --> + <path-element>../../../target/downloads/browser/w3c_xml.js</path-element> + + <!-- path-element>externs/fetchapi</path-element> --> + + <path-element>../../../target/downloads/browser/window.js</path-element> + + <path-element>../../../target/downloads/browser/ie_dom.js</path-element> + <path-element>../../../target/downloads/browser/gecko_dom.js</path-element> + <path-element>../../../target/downloads/browser/gecko_xml.js</path-element> + <path-element>../../../target/downloads/browser/gecko_event.js</path-element> + + <path-element>../../../target/downloads/browser/webkit_css.js</path-element> + <path-element>../../../target/downloads/browser/webkit_dom.js</path-element> + <path-element>../../../target/downloads/browser/webkit_event.js</path-element> + <!-- path-element>externs/webkit_notifications.js</path-element> --> + + <path-element>../../../target/downloads/browser/iphone.js</path-element> + <path-element>../../../target/downloads/browser/chrome.js</path-element> + <path-element>../../../target/downloads/browser/flash.js</path-element> + + <path-element>../../../target/downloads/browser/page_visibility.js</path-element> + <path-element>../../../target/downloads/browser/fileapi.js</path-element> + <path-element>../../../target/downloads/browser/html5.js</path-element> + + <path-element>../../../target/downloads/browser/webgl.js</path-element> + <path-element>../../../target/downloads/browser/webstorage.js</path-element> + + <path-element>../../../target/downloads/svg.js</path-element> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + + <field-exclude> + <class>Window</class> + <field>focus</field> + </field-exclude> + + <class-exclude> + <class>controlRange</class> + </class-exclude> + + <exclude> + <class>Array</class> + <name>toSource</name> + </exclude> + <exclude> + <class>Date</class> + <name>valueOf</name> + </exclude> + <exclude> + <class>String</class> + <name>valueOf</name> + </exclude> + <exclude><class>FontFaceSet</class><name>delete</name></exclude> + + <exclude><class>CSSStyleDeclaration</class><name>cssText</name></exclude> + <exclude><class>CSSStyleRule</class><name>style</name></exclude> + <exclude><class>CSSFontFaceRule</class><name>style</name></exclude> + <exclude><class>CSSPageRule</class><name>style</name></exclude> + + <exclude><class>Generator</class><name>throw</name></exclude> + <exclude><class>Generator</class><name>return</name></exclude> + <exclude><class>HTMLMenuItemElement</class><name>default</name></exclude> + <exclude><class>MessageEvent</class><name>data</name></exclude><!-- TODO returns T --> + <exclude><class>MessageEvent</class><name>initMessageEventNS</name></exclude> <!-- TODO param T --> + <exclude><class>MessageEvent</class><name>initMessageEvent</name></exclude> <!-- TODO param T --> + <exclude><class>MessageEvent</class><name>default</name></exclude> + <exclude><class>Object</class><name>is</name></exclude> + <exclude><class>Promise</class><name>catch</name></exclude> + + <exclude><class>IDBCursor</class><name>continue</name></exclude> + <exclude><class>IDBCursor</class><name>delete</name></exclude> + <exclude><class>IDBObjectStore</class><name>delete</name></exclude> + + <!-- TODO method treated like field --> + <field-exclude><class>Iterator</class><field>next</field></field-exclude> + <exclude><class>Generator</class><name>next</name></exclude> + <exclude><class>LinkStyle</class><name>sheet</name></exclude> + + <!-- SVG --> + <exclude><class>SVGStylable</class><name>className</name></exclude> + <exclude><class>SVGStylable</class><name>style</name></exclude> + <exclude><class>SVGLocatable</class><name>farthestViewportElement</name></exclude> + <exclude><class>SVGLocatable</class><name>nearestViewportElement</name></exclude> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/src/main/flex/__AS3__/vec/Vector$int.as ---------------------------------------------------------------------- diff --git a/externs/js/src/main/flex/__AS3__/vec/Vector$int.as b/externs/js/src/main/flex/__AS3__/vec/Vector$int.as new file mode 100644 index 0000000..37681cb --- /dev/null +++ b/externs/js/src/main/flex/__AS3__/vec/Vector$int.as @@ -0,0 +1,81 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// + +package __AS3__.vec +{ + +/** + * The compiler appears to expect these internal implementations + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +internal class Vector$int +{ + public function Vector$int(length:uint = 0, fixed:Boolean = false) {} + + public var fixed:Boolean; + + public var length:uint; + + public function concat(...args):Vector$int { return null } + + public function every(callback:Function, thisObject:Object):Boolean { return false } + + public function filter(callback:Function, thisObject:Object = null):Vector$int { return null } + + public function forEach(callback:Function, thisObject:Object = null):void {} + + public function indexOf(searchElement:int, fromIndex:int = 0):int { return -1 } + + public function insertAt(index:int, element:int):void {} + + public function join(sep:String = ","):String { return null } + + public function lastIndexOf(searchElement:int, fromIndex:int = 0x7fffffff):int { return -1 } + + public function map(callback:Function, thisObject:Object = null):Vector$int { return null } + + public function pop():int { return null } + + public function push(... args):uint { return 0 } + + public function removeAt(index:int):int { return null } + + public function reverse():Vector$int { return null } + + public function shift():int { return null } + + public function slice(startIndex:int = 0, endIndex:int = 16777215):Vector$int { return null } + + public function some(callback:Function, thisObject:Object = null):Boolean { return false } + + public function sort(sortBehavior:Object):Vector$int { return null } + + public function splice(startIndex:int, deleteCount:uint = 4294967295, ... items):Vector$int { return null } + + override public function toLocaleString():String { return null } + + public function toString():String { return null } + + public function unshift(... args):uint { return 0 } +} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/src/main/flex/__AS3__/vec/Vector$object.as ---------------------------------------------------------------------- diff --git a/externs/js/src/main/flex/__AS3__/vec/Vector$object.as b/externs/js/src/main/flex/__AS3__/vec/Vector$object.as new file mode 100644 index 0000000..7ae7703 --- /dev/null +++ b/externs/js/src/main/flex/__AS3__/vec/Vector$object.as @@ -0,0 +1,81 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// + +package __AS3__.vec +{ + +/** + * The compiler appears to expect these internal implementations + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +internal class Vector$object +{ + public function Vector$object(length:uint = 0, fixed:Boolean = false) {} + + public var fixed:Boolean; + + public var length:uint; + + public function concat(...args):Vector$object { return null } + + public function every(callback:Function, thisObject:Object):Boolean { return false } + + public function filter(callback:Function, thisObject:Object = null):Vector$object { return null } + + public function forEach(callback:Function, thisObject:Object = null):void {} + + public function indexOf(searchElement:Object, fromIndex:int = 0):int { return -1 } + + public function insertAt(index:int, element:Object):void {} + + public function join(sep:String = ","):String { return null } + + public function lastIndexOf(searchElement:Object, fromIndex:int = 0x7fffffff):int { return -1 } + + public function map(callback:Function, thisObject:Object = null):Vector$object { return null } + + public function pop():Object { return null } + + public function push(... args):uint { return 0 } + + public function removeAt(index:int):Object { return null } + + public function reverse():Vector$object { return null } + + public function shift():Object { return null } + + public function slice(startIndex:int = 0, endIndex:int = 16777215):Vector$object { return null } + + public function some(callback:Function, thisObject:Object = null):Boolean { return false } + + public function sort(sortBehavior:Object):Vector$object { return null } + + public function splice(startIndex:int, deleteCount:uint = 4294967295, ... items):Vector$object { return null } + + override public function toLocaleString():String { return null } + + public function toString():String { return null } + + public function unshift(... args):uint { return 0 } +} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/js/src/main/flex/__AS3__/vec/Vector$uint.as ---------------------------------------------------------------------- diff --git a/externs/js/src/main/flex/__AS3__/vec/Vector$uint.as b/externs/js/src/main/flex/__AS3__/vec/Vector$uint.as new file mode 100644 index 0000000..6540728 --- /dev/null +++ b/externs/js/src/main/flex/__AS3__/vec/Vector$uint.as @@ -0,0 +1,81 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// + +package __AS3__.vec +{ + +/** + * The compiler appears to expect these internal implementations + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +internal class Vector$unit +{ + public function Vector$unit(length:uint = 0, fixed:Boolean = false) {} + + public var fixed:Boolean; + + public var length:uint; + + public function concat(...args):Vector$unit { return null } + + public function every(callback:Function, thisObject:Object):Boolean { return false } + + public function filter(callback:Function, thisObject:Object = null):Vector$unit { return null } + + public function forEach(callback:Function, thisObject:Object = null):void {} + + public function indexOf(searchElement:unit, fromIndex:int = 0):int { return -1 } + + public function insertAt(index:int, element:unit):void {} + + public function join(sep:String = ","):String { return null } + + public function lastIndexOf(searchElement:unit, fromIndex:int = 0x7fffffff):int { return -1 } + + public function map(callback:Function, thisObject:Object = null):Vector$unit { return null } + + public function pop():unit { return null } + + public function push(... args):uint { return 0 } + + public function removeAt(index:int):unit { return null } + + public function reverse():Vector$unit { return null } + + public function shift():unit { return null } + + public function slice(startIndex:int = 0, endIndex:int = 16777215):Vector$unit { return null } + + public function some(callback:Function, thisObject:Object = null):Boolean { return false } + + public function sort(sortBehavior:Object):Vector$unit { return null } + + public function splice(startIndex:int, deleteCount:uint = 4294967295, ... items):Vector$unit { return null } + + override public function toLocaleString():String { return null } + + public function toString():String { return null } + + public function unshift(... args):uint { return 0 } +} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/node/pom.xml ---------------------------------------------------------------------- diff --git a/externs/node/pom.xml b/externs/node/pom.xml new file mode 100644 index 0000000..9765bcf --- /dev/null +++ b/externs/node/pom.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs-node</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs: Node</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>externc-maven-plugin</artifactId> + <version>0.6.0-SNAPSHOT</version> + <executions> + <!-- Generate the ActionScript interface --> + <execution> + <id>generate</id> + <phase>generate-resources</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/node/src/main/config/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/node/src/main/config/compile-config.xml b/externs/node/src/main/config/compile-config.xml new file mode 100644 index 0000000..66ae820 --- /dev/null +++ b/externs/node/src/main/config/compile-config.xml @@ -0,0 +1,43 @@ +<!-- + + 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <external-library-path> + <path-element>../js/out/bin/js.swc</path-element> + </external-library-path> + + <source-path> + <path-element>out/as/functions</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <include-sources> + <path-element>out/as/functions</path-element> + </include-sources> + + <include-file> + <name>externs/node.js</name> + <path>externs/node.js</path> + </include-file> +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/node/src/main/config/generate-config.xml ---------------------------------------------------------------------- diff --git a/externs/node/src/main/config/generate-config.xml b/externs/node/src/main/config/generate-config.xml new file mode 100644 index 0000000..c09741b --- /dev/null +++ b/externs/node/src/main/config/generate-config.xml @@ -0,0 +1,38 @@ +<!-- + + 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</name></exclude> 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. + +--> +<flex-config> + + <compiler> + <accessible>true</accessible> + + <locale/> + + <source-path> + <path-element>../javascript</path-element> + </source-path> + + <warn-no-constructor>false</warn-no-constructor> + </compiler> + + <external> + </external> + + <as-root>../../../target/generated-sources/externc</as-root> + +</flex-config> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/externs/pom.xml ---------------------------------------------------------------------- diff --git a/externs/pom.xml b/externs/pom.xml new file mode 100644 index 0000000..ecd084f --- /dev/null +++ b/externs/pom.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-parent</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flex-compiler-externs</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex - FlexJS Compiler: Externs</name> + + <modules> + <module>cordova</module> + <module>createjs</module> + <module>GCL</module> + <module>google_maps</module> + <module>jasmine</module> + <!--module>jquery</module--> + <module>js</module> + <module>node</module> + </modules> + +</project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/dec07727/flexjs-maven-plugin/pom.xml ---------------------------------------------------------------------- diff --git a/flexjs-maven-plugin/pom.xml b/flexjs-maven-plugin/pom.xml new file mode 100644 index 0000000..321d8e1 --- /dev/null +++ b/flexjs-maven-plugin/pom.xml @@ -0,0 +1,100 @@ +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-parent</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + + <artifactId>flexjs-maven-plugin</artifactId> + <version>0.6.0-SNAPSHOT</version> + <packaging>maven-plugin</packaging> + + <name>Apache Flex: FlexJS Maven Plugin</name> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + <version>3.0.4</version> + <exclusions> + <exclusion> + <groupId>org.sonatype.sisu</groupId> + <artifactId>sisu-guava</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-compiler-api</artifactId> + <version>2.2</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>2.0</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>3.1</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>3.0.3</version> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler</artifactId> + <version>0.6.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.compiler</groupId> + <artifactId>flex-tool-api</artifactId> + <version>4.15.0</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.10</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>3.1</version> + <configuration> + <goalPrefix>externc</goalPrefix> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + </configuration> + <executions> + <execution> + <id>mojo-descriptor</id> + <goals> + <goal>descriptor</goal> + </goals> + </execution> + <execution> + <id>help-goal</id> + <goals> + <goal>helpmojo</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project>
