blob: d1fc6d41d423b85e8424b5450b92174125851978 [file] [log] [blame]
<?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</groupId>
<artifactId>apache</artifactId>
<version>21</version>
</parent>
<groupId>org.apache.royale.typedefs</groupId>
<artifactId>royale-typedefs-parent</artifactId>
<version>0.9.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Royale: TypeDefs: Parent</name>
<scm>
<connection>scm:git:https://github.com/apache/royale-typedefs.git</connection>
<developerConnection>scm:git:https://github.com/apache/royale-typedefs.git</developerConnection>
<url>scm:git:https://github.com/apache/royale-typedefs.git</url>
<tag>release/0.9.6</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
<maven.version>3.3.1</maven.version>
<!-- Timestamp for the reproducible builds -->
<project.build.outputTimestamp>2019-11-01T10:30:00Z</project.build.outputTimestamp>
<royale.build-tools.version>1.1.0</royale.build-tools.version>
<royale.compiler.version>0.9.7-SNAPSHOT</royale.compiler.version>
<royale.swc-date>9/24/19 9:06 -0800</royale.swc-date>
<git.executable>git</git.executable>
<skipgpg>false</skipgpg>
<!-- URL of the ASF SonarQube server -->
<sonar.host.url>https://builds.apache.org/analysis</sonar.host.url>
<!-- Exclude all generated code -->
<sonar.exclusions>file:**/generated-sources/**</sonar.exclusions>
</properties>
<!-- Only configure the site distribution as the rest is handled by the apache parent -->
<distributionManagement>
<site>
<id>website</id>
<!-- TODO: Set this to the correct url -->
<url>scp://www.mycompany.com/www/docs/project/</url>
</site>
</distributionManagement>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/apache/royale-asjs/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Apache Royale User List</name>
<subscribe>users-subscribe@royale.apache.org</subscribe>
<unsubscribe>users-unsubscribe@royale.apache.org</unsubscribe>
<post>users@royale.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/royale-users/</archive>
</mailingList>
<mailingList>
<name>Apache Royale Developer List</name>
<subscribe>dev-subscribe@royale.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@royale.apache.org</unsubscribe>
<post>dev@royale.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/royale-dev/</archive>
</mailingList>
</mailingLists>
<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>
<build>
<plugins>
<!-- Check if all source files have the required apache license headers -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
<executions>
<execution>
<id>license-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<excludes>
<!-- Patch files aren't supposed to have headers -->
<exclude>**/*.patch</exclude>
<!--
Exclude any eventually existing content of target directories.
Some times when building with a bigger maven reactor and then
with a smaller one, RAT will complain about stuff still in the
target directories. We don't want that.
-->
<exclude>**/target/**</exclude>
<exclude>**/release-dir/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>royale-maven-plugin</artifactId>
<version>${royale.compiler.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>compiler-jx</artifactId>
<version>${royale.compiler.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>compiler-build-tools</artifactId>
<version>${royale.build-tools.version}</version>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.4.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!--
We only need the git executable in the externs in order to apply patches.
On Windows machines we need to execute "git.exe" instead of "git".
-->
<profile>
<id>os-windows</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<git.executable>git.exe</git.executable>
</properties>
</profile>
<!--
When doing a release we want to set the date in the swc
to the date defined as release-date by the release plugin.
-->
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.royale.compiler</groupId>
<artifactId>royale-maven-plugin</artifactId>
<version>${royale.compiler.version}</version>
<extensions>true</extensions>
<configuration>
<additionalCompilerOptions>-metadata.date=${project.build.outputTimestamp};-metadata.dateFormat=yyyy-MM-dd'T'HH:mm:ss'Z'</additionalCompilerOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>