You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/09/06 08:07:29 UTC

[royale-asjs] branch develop updated: maven-archetypes: new royale-jewel-application-archetype. (Example usage : mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework -DarchetypeArtifactId=royale-jewel-application-archetype -DarchetypeVersion=0.9.8-SNAPSHOT)

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 53a53e7  maven-archetypes: new royale-jewel-application-archetype. (Example usage : mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework -DarchetypeArtifactId=royale-jewel-application-archetype -DarchetypeVersion=0.9.8-SNAPSHOT)
53a53e7 is described below

commit 53a53e759e68ddace389e37bbda6c4567b4c0a44
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 6 10:06:08 2020 +0200

    maven-archetypes: new royale-jewel-application-archetype. (Example usage : mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework -DarchetypeArtifactId=royale-jewel-application-archetype -DarchetypeVersion=0.9.8-SNAPSHOT)
---
 archetypes/pom.xml                                 |   1 +
 .../royale-jewel-application-archetype/pom.xml     |  35 +++++
 .../main/resources/META-INF/maven/archetype.xml    |  34 ++++
 .../archetype-resources/.vscode/launch.json        |  74 +++++++++
 .../archetype-resources/.vscode/tasks.json         |  73 +++++++++
 .../resources/archetype-resources/App.mxml.as3proj | 117 ++++++++++++++
 .../resources/archetype-resources/asconfig.json    |  37 +++++
 .../src/main/resources/archetype-resources/pom.xml | 173 +++++++++++++++++++++
 .../resources/jewel-example-index-template.html    |  30 ++++
 .../archetype-resources/src/main/royale/App.mxml   |  36 +++++
 .../archetype-resources/src/main/sass/_global.sass |  25 +++
 .../archetype-resources/src/main/sass/default.sass |  25 +++
 12 files changed, 660 insertions(+)

diff --git a/archetypes/pom.xml b/archetypes/pom.xml
index 9cb206e..3d86a5d 100644
--- a/archetypes/pom.xml
+++ b/archetypes/pom.xml
@@ -38,6 +38,7 @@
   
   <modules>
     <module>royale-simple-application-archetype</module>
+    <module>royale-jewel-application-archetype</module>
     <module>royale-simple-application-pure-js-archetype</module>
     <module>royale-simple-application-pure-swf-archetype</module>
     <module>royale-simple-library-archetype</module>
diff --git a/archetypes/royale-jewel-application-archetype/pom.xml b/archetypes/royale-jewel-application-archetype/pom.xml
new file mode 100644
index 0000000..1876ac8
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/pom.xml
@@ -0,0 +1,35 @@
+<?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>
+
+  <parent>
+    <groupId>org.apache.royale.framework</groupId>
+    <artifactId>royale-maven-archetypes</artifactId>
+    <version>0.9.8-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>royale-jewel-application-archetype</artifactId>
+  <version>0.9.8-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Apache Royale: Framework: Archetypes: Jewel Royale Application</name>
+  <description>Maven archetype for creating Royale Maven project for building a Jewel Royale application for JavaScript output.</description>
+
+</project>
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/META-INF/maven/archetype.xml b/archetypes/royale-jewel-application-archetype/src/main/resources/META-INF/maven/archetype.xml
new file mode 100644
index 0000000..3a09ac7
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/META-INF/maven/archetype.xml
@@ -0,0 +1,34 @@
+<?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.
+
+-->
+<archetype xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype/1.0.0 http://maven.apache.org/xsd/archetype-1.0.0.xsd">
+  <id>royale-simple-application-archetype</id>
+  <resources>
+    <resource>.vscode/launch.json</resource>
+    <resource>.vscode/tasks.json</resource>
+    <resource>asconfig.json</resource>
+    <resource>App.mxml.as3proj</resource>
+    <resource>src/main/resources/jewel-example-index-template.html</resource>
+    <resource>src/main/sass/default.sass</resource>
+    <resource>src/main/sass/_global.sass</resource>
+    <resource>src/main/royale/App.mxml</resource>
+  </resources>
+</archetype>
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
new file mode 100644
index 0000000..34beed6
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/launch.json
@@ -0,0 +1,74 @@
+{
+    "version": "0.2.0",
+    "configurations": [
+        //CHROME - DEBUG
+        {
+            "name": "Launch Chrome (Debug)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            "sourceMaps": true,
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+        },
+        //CHROME - RELEASE
+        {
+            "name": "Launch Chrome (Release)",
+            "type": "chrome",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            "sourceMaps": true,
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+        },
+        
+        //FIREFOX - DEBUG
+        {
+            "name": "Launch Firefox (Debug)",
+            "type": "firefox",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug"
+        },
+        //FIREFOX - RELEASE
+        {
+            "name": "Launch Firefox (Release)",
+            "type": "firefox",
+            "request": "launch",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release"
+        },
+        
+        //BRAVE - DEBUG
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Brave (Debug)",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--auto-ssl-client-auth"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            // "file": "${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            //"preLaunchTask": "mvn",
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-debug/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-debug",
+            "sourceMaps": true
+        },
+        //BRAVE - RELEASE
+        {
+            "type": "chrome",
+            "request": "launch",
+            "name": "Launch Brave (Release)",
+            "runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
+            "runtimeArgs": ["--auto-ssl-client-auth", "--profile-directory=debug-profile"],
+            "userDataDir": true,
+            // "url": "http://localhost:8080",
+            // "webRoot": "${workspaceFolder}"
+            "url": "file:///${workspaceRoot}/target/javascript/bin/js-release/index.html",
+            "webRoot": "${workspaceRoot}/target/javascript/bin/js-release",
+            //"preLaunchTask": "mvn",
+            "sourceMaps": true
+        }
+    ]
+}
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
new file mode 100644
index 0000000..f442989
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/.vscode/tasks.json
@@ -0,0 +1,73 @@
+#set($dollar = '$')
+{
+    // See https://go.microsoft.com/fwlink/?LinkId=733558
+    // for the documentation about the tasks.json format
+    "version": "2.0.0",
+    "tasks": [
+        // MAVEN
+        {
+            "label": "Build with Maven",
+            "type": "shell",
+            "command": "mvn",
+            "args": [
+                "clean",
+                "install",
+                "-P option-with-swf",
+                "-DskipTests"
+            ],
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
+        },
+        // AS3&MXML (Debug)
+        {
+            "label": "Build with AS3&MXML (Debug)",
+            "type": "actionscript",
+            "debug": true,
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
+        },
+        // AS3&MXML (Release)
+        {
+            "label": "Build with AS3&MXML (Release)",
+            "type": "actionscript",
+            "debug": false,
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
+        },
+        // ASCONFIGC
+        {
+            "label": "build with asconfigc",
+            "type": "shell",
+            "command": "asconfigc",
+            "args": [
+                "--sdk=${dollar}{config:as3mxml.sdk.framework}"
+            ],
+            "group": "build",
+            "presentation": {
+                "echo": true,
+                "reveal": "always",
+                "focus": true,
+                "panel": "dedicated"
+            },
+            "problemMatcher": []
+        }
+    ]
+}
\ No newline at end of file
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/App.mxml.as3proj b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/App.mxml.as3proj
new file mode 100644
index 0000000..fce3894
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/App.mxml.as3proj
@@ -0,0 +1,117 @@
+<!--
+
+  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.
+
+-->
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+  <output>
+    <movie width="800"/>
+    <movie disabled="False"/>
+    <movie path="bin-debug/App.swf"/>
+    <movie platform="Flash Player"/>
+    <movie fps="60"/>
+    <movie version="11"/>
+    <movie height="600"/>
+    <movie background="#FFFFFF"/>
+    <movie input=""/>
+  </output>
+  &lt;!-- Other classes to be compiled into your SWF --&gt;
+  <jsOutput>
+    <option path="/Users/christofer.dutz/Library/Containers/com.moonshine-ide/Data/Documents/NewJavaScriptBrowserProject"/>
+  </jsOutput>
+  <classpaths>
+    <class path="src"/>
+  </classpaths>
+  <moonshineResourcePaths></moonshineResourcePaths>
+  <moonshineNativeExtensionPaths></moonshineNativeExtensionPaths>
+  <build>
+    <option compilerConstants=""/>
+    <option strict="True"/>
+    <option useResourceBundleMetadata="True"/>
+    <option allowSourcePathOverlap="False"/>
+    <option sourceMap="True"/>
+    <option showDeprecationWarnings="True"/>
+    <option benchmark="False"/>
+    <option showBindingWarnings="True"/>
+    <option warnings="True"/>
+    <option customSDK="/Users/christofer.dutz/Downloads/MoonshineSDKs/Royale_SDK/apache-royale-0.9.6-bin-js/royale-asjs"/>
+    <option showActionScriptWarnings="True"/>
+    <option antBuildPath="build/build.xml"/>
+    <option verboseStackTraces="False"/>
+    <option loadConfig=""/>
+    <option additional="-theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css -html-template=src/resources/jewel-index-template.html"/>
+    <option linkReport=""/>
+    <option optimize="False"/>
+    <option locale=""/>
+    <option accessible="False"/>
+    <option staticLinkRSL="False"/>
+    <option showUnusedTypeSelectorWarnings="True"/>
+    <option useNetwork="True"/>
+    <option es="False"/>
+  </build>
+  <mavenBuild>
+    <option settingsFilePath=""/>
+    <option mavenBuildPath="/Users/christofer.dutz/Library/Containers/com.moonshine-ide/Data/Documents/NewJavaScriptBrowserProject"/>
+    <option commandLine=""/>
+    <actions>
+      <action action="install" actionName="Build"/>
+      <action action="clean package" actionName="Clean and package"/>
+      <action action="clean" actionName="Clean"/>
+      <action action="clean install" actionName="Clean and Build"/>
+      <action action="war:exploded" actionName="Exploded"/>
+    </actions>
+  </mavenBuild>
+  <includeLibraries></includeLibraries>
+  <libraryPaths></libraryPaths>
+  <externalLibraryPaths></externalLibraryPaths>
+  <rslPaths></rslPaths>
+  <intrinsics>
+    <element path="Library/AS3/frameworks/Flex4"/>
+    <element path="Library\AS3\frameworks\Flex4"/>
+    <element path="Library\AS3\frameworks\Flex4"/>
+  </intrinsics>
+  <library></library>
+  <compileTargets>
+    <compile path="src/NewJavaScriptBrowserProject.mxml"/>
+  </compileTargets>
+  <hiddenPaths></hiddenPaths>
+  <preBuildCommand>null</preBuildCommand>
+  <postBuildCommand alwaysRun="False">null</postBuildCommand>
+  <trustSVNCertificate>False</trustSVNCertificate>
+  <options>
+    <option testMovieCommand=""/>
+    <option defaultBuildTargets=""/>
+    <option isRoyale="True"/>
+    <option isExportedToExistingSource="False"/>
+    <option showHiddenPaths="False"/>
+    <option isPrimeFacesVisualEditor="False"/>
+    <option testMovie=""/>
+    <option visualEditorExportPath=""/>
+  </options>
+  <moonshineRunCustomization>
+    <option launchMethod="Simulator"/>
+    <option urlToLaunch="/Users/christofer.dutz/Library/Containers/com.moonshine-ide/Data/Documents/NewJavaScriptBrowserProject/bin/js-debug/index.html"/>
+    <option targetPlatform="5"/>
+    <option projectType="2"/>
+    <option customUrlToLaunch=""/>
+    <option deviceSimulator="null"/>
+    <deviceSimulator>null</deviceSimulator>
+    <certAndroid>null</certAndroid>
+    <certIos>null</certIos>
+    <certIosProvisioning>null</certIosProvisioning>
+  </moonshineRunCustomization>
+</project>
\ No newline at end of file
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/asconfig.json b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/asconfig.json
new file mode 100644
index 0000000..1570950
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/asconfig.json
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+{
+    "config": "royale",
+    "compilerOptions": {
+        "debug": false,
+        "targets": ["JSRoyale"],
+        "source-path": [
+            "src/main/resources"
+        ],
+        "source-map": true,
+        "html-template": "src/main/resources/jewel-example-index-template.html",
+        "theme": "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
+    },
+    "copySourcePathAssets": true,
+    "additionalOptions": "-js-dynamic-access-unknown-members=true",
+    "files":
+    [
+        "src/main/royale/App.mxml"
+    ]
+}
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/pom.xml
new file mode 100644
index 0000000..4b5e286
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/pom.xml
@@ -0,0 +1,173 @@
+<?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.
+
+-->
+#set($dollar = '$')
+<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>\${groupId}</groupId>
+  <artifactId>\${artifactId}</artifactId>
+  <version>\${version}</version>
+  <packaging>swf</packaging>
+
+  <properties>
+    <compiler.debug>true</compiler.debug>
+  </properties>
+
+  <build>
+    <sourceDirectory>src/main/royale</sourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.royale.compiler</groupId>
+        <artifactId>royale-maven-plugin</artifactId>
+        <version>${royale.compiler.version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <mainClass>App.mxml</mainClass>
+          <targets>JSRoyale</targets>
+          <debug>false</debug>
+          <htmlTemplate>${dollar}{basedir}/src/main/resources/jewel-example-index-template.html</htmlTemplate>
+          <additionalCompilerOptions>-source-map=true;</additionalCompilerOptions>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.royale.compiler</groupId>
+            <artifactId>compiler-jx</artifactId>
+            <version>${royale.compiler.version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <version>2.5.2</version>
+      </plugin>
+      <plugin>
+        <groupId>nl.geodienstencentrum.maven</groupId>
+        <artifactId>sass-maven-plugin</artifactId>
+        <version>3.7.2</version>
+        <configuration>
+          <resources>
+            <resource>
+              <source>
+                <directory>${dollar}{basedir}/src/main/sass</directory>
+                <includes>
+                  <include>**/*.sass</include>
+                </includes>
+              </source>
+              <destination>${dollar}{basedir}/src/main/resources</destination>
+            </resource>
+          </resources>
+        </configuration>
+        <executions>
+          <execution>
+            <id>generate-css-using-sass</id>
+            <goals>
+                <goal>update-stylesheets</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>${royale.framework.version}</version>
+      <type>swc</type>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Basic</artifactId>
+      <version>0.9.8-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Jewel</artifactId>
+      <version>0.9.8-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>JewelTheme</artifactId>
+      <version>${royale.framework.version}</version>
+      <type>swc</type>
+      <scope>theme</scope>
+      <classifier>js</classifier>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Icons</artifactId>
+      <version>0.9.8-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+
+    <!-- Needed for JavaScript compilation -->
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>HTML</artifactId>
+      <version>${royale.framework.version}</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.royale.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>${royale.framework.version}</version>
+      <type>swc</type>
+      <classifier>js</classifier>
+    </dependency>
+  </dependencies>
+
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <properties>
+        <compiler.debug>false</compiler.debug>
+      </properties>
+    </profile>
+
+    <profile>
+      <id>option-with-swf</id>
+      <properties>
+        <!-- no point building the swf target  -->
+        <royale.targets>JSRoyale</royale.targets>
+      </properties>
+      <dependencies>
+        <!-- Needed for Flash compilation -->
+        <!-- <dependency>
+          <groupId>com.adobe.flash.framework</groupId>
+          <artifactId>playerglobal</artifactId>
+          <version>20.0</version>
+          <type>swc</type>
+          <scope>provided</scope>
+        </dependency> -->
+      </dependencies>
+    </profile>
+  </profiles>
+
+</project>
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/resources/jewel-example-index-template.html b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/resources/jewel-example-index-template.html
new file mode 100644
index 0000000..140ba98
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/resources/jewel-example-index-template.html
@@ -0,0 +1,30 @@
+<!--
+  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.
+-->
+<!DOCTYPE html>
+<html>
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="Custom Template for injecting custom style CSS">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
+    <link rel="stylesheet" type="text/css" href="${application}.css">
+    <link href="https://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet">
+${head}
+</head>
+<body>
+${body}
+</body>
+</html>
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/royale/App.mxml b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/royale/App.mxml
new file mode 100644
index 0000000..3a21b27
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/royale/App.mxml
@@ -0,0 +1,36 @@
+<?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.
+
+-->
+<j:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+                xmlns:js="library://ns.apache.org/royale/basic"
+                xmlns:j="library://ns.apache.org/royale/jewel">
+
+    <!-- <fx:Style source="../../main/resources/default.css"/> -->
+
+    <j:valuesImpl>
+        <js:SimpleCSSValuesImpl />
+    </j:valuesImpl>
+
+    <j:initialView>
+        <j:View>
+        	<j:Label text="Hello World!"/>
+        </j:View>
+    </j:initialView>
+    
+</j:Application>
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/_global.sass b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/_global.sass
new file mode 100644
index 0000000..4245094
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/_global.sass
@@ -0,0 +1,25 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+@namespace "http://www.w3.org/1999/xhtml"
+@namespace j "library://ns.apache.org/royale/jewel"
+
+// .jewel
+//     .label
+//         color: #ff0000
\ No newline at end of file
diff --git a/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/default.sass b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/default.sass
new file mode 100644
index 0000000..147b17d
--- /dev/null
+++ b/archetypes/royale-jewel-application-archetype/src/main/resources/archetype-resources/src/main/sass/default.sass
@@ -0,0 +1,25 @@
+/**
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+ */
+
+// Variables
+
+// Global
+@import "global"
\ No newline at end of file