Repository: flex-asjs Updated Branches: refs/heads/feature-autobuild/maven-archetypes [created] 0be30cb9a
- Bumped the compiler version up to 0.8.0-SNAPSHOT Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0be30cb9 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0be30cb9 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0be30cb9 Branch: refs/heads/feature-autobuild/maven-archetypes Commit: 0be30cb9ad54183003d295bedd8b709e9ece0897 Parents: 0960376 Author: Christofer Dutz <[email protected]> Authored: Wed Sep 28 15:02:30 2016 +0200 Committer: Christofer Dutz <[email protected]> Committed: Wed Sep 28 15:02:30 2016 +0200 ---------------------------------------------------------------------- .../flexjs-simple-application-archetype/pom.xml | 36 +++++++++++++++++ .../main/resources/archetype-resources/pom.xml | 33 ++++++++++++++++ .../archetype-resources/src/main/flex/App.mxml | 30 ++++++++++++++ .../flexjs-simple-library-archetype/pom.xml | 36 +++++++++++++++++ .../main/resources/archetype-resources/pom.xml | 33 ++++++++++++++++ .../src/main/resources/maven/archetype.xml | 30 ++++++++++++++ archetypes/pom.xml | 41 ++++++++++++++++++++ pom.xml | 1 + 8 files changed, 240 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-application-archetype/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-application-archetype/pom.xml b/archetypes/flexjs-simple-application-archetype/pom.xml new file mode 100644 index 0000000..a3024a3 --- /dev/null +++ b/archetypes/flexjs-simple-application-archetype/pom.xml @@ -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. + +--> +<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.framework</groupId> + <artifactId>flexjs-maven-archetypes</artifactId> + <version>0.8.0-SNAPSHOT</version> + </parent> + + <artifactId>flexjs-application-archetype</artifactId> + <version>0.8.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS: Framework: Archetypes: Application</name> + <description>Maven archetype for creating flexjs maven project for building an application</description> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000..4d55544 --- /dev/null +++ b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>${groupId}</groupId> + <artifactId>${artifactId}</artifactId> + <version>${version}</version> + <packaging>jar</packaging> + + <dependencies> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/src/main/flex/App.mxml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/src/main/flex/App.mxml b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/src/main/flex/App.mxml new file mode 100644 index 0000000..70d8d20 --- /dev/null +++ b/archetypes/flexjs-simple-application-archetype/src/main/resources/archetype-resources/src/main/flex/App.mxml @@ -0,0 +1,30 @@ +<?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. + +--> +<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" + xmlns:js="library://ns.apache.org/flexjs/basic" > + <js:valuesImpl> + <js:SimpleCSSValuesImpl /> + </js:valuesImpl> + <js:initialView> + <js:View> + <js:Label text="Hello World!" /> + </js:View> + </js:initialView> +</js:Application> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-library-archetype/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-library-archetype/pom.xml b/archetypes/flexjs-simple-library-archetype/pom.xml new file mode 100644 index 0000000..384a220 --- /dev/null +++ b/archetypes/flexjs-simple-library-archetype/pom.xml @@ -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. + +--> +<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.framework</groupId> + <artifactId>flexjs-maven-archetypes</artifactId> + <version>0.8.0-SNAPSHOT</version> + </parent> + + <artifactId>flexjs-library-archetype</artifactId> + <version>0.8.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>Apache Flex - FlexJS: Framework: Archetypes: Library</name> + <description>Maven archetype for creating flexjs maven project for building a library</description> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-library-archetype/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-library-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/flexjs-simple-library-archetype/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000..4d55544 --- /dev/null +++ b/archetypes/flexjs-simple-library-archetype/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>${groupId}</groupId> + <artifactId>${artifactId}</artifactId> + <version>${version}</version> + <packaging>jar</packaging> + + <dependencies> + </dependencies> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/flexjs-simple-library-archetype/src/main/resources/maven/archetype.xml ---------------------------------------------------------------------- diff --git a/archetypes/flexjs-simple-library-archetype/src/main/resources/maven/archetype.xml b/archetypes/flexjs-simple-library-archetype/src/main/resources/maven/archetype.xml new file mode 100644 index 0000000..279c0f1 --- /dev/null +++ b/archetypes/flexjs-simple-library-archetype/src/main/resources/maven/archetype.xml @@ -0,0 +1,30 @@ +<?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>quickstart</id> + <sources> + <source>src/main/java/App.java</source> + </sources> + <testSources> + <source>src/test/java/AppTest.java</source> + </testSources> +</archetype> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/archetypes/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/pom.xml b/archetypes/pom.xml new file mode 100644 index 0000000..4d15bcf --- /dev/null +++ b/archetypes/pom.xml @@ -0,0 +1,41 @@ +<?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.flex.flexjs.framework</groupId> + <artifactId>flexjs-framework-parent</artifactId> + <version>0.8.0-SNAPSHOT</version> + </parent> + + <artifactId>flexjs-maven-archetypes</artifactId> + <version>0.8.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex - FlexJS: Framework: Archetypes</name> + <description>Maven archetypes for creating flexjs maven projects</description> + + <modules> + <module>flexjs-simple-application-archetype</module> + <module>flexjs-simple-library-archetype</module> + </modules> + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0be30cb9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4daf6a4..90759ba 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,7 @@ <modules> <module>frameworks</module> + <module>archetypes</module> </modules> <build>
