Repository: flex-falcon Updated Branches: refs/heads/develop c48762004 -> fd20f696b
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fd20f696/externs/node/pom.xml ---------------------------------------------------------------------- diff --git a/externs/node/pom.xml b/externs/node/pom.xml index 82ad627..817b92a 100644 --- a/externs/node/pom.xml +++ b/externs/node/pom.xml @@ -19,217 +19,217 @@ --> <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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.flex.flexjs.externs</groupId> - <artifactId>flexjs-externs</artifactId> - <version>0.7.0-SNAPSHOT</version> - </parent> - - <artifactId>flexjs-externs-node</artifactId> + <parent> + <groupId>org.apache.flex.flexjs.externs</groupId> + <artifactId>flexjs-externs</artifactId> <version>0.7.0-SNAPSHOT</version> - <packaging>swc</packaging> + </parent> - <name>Apache Flex - FlexJS: Externs: Node</name> + <artifactId>flexjs-externs-node</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>swc</packaging> - <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-closure-sources</id> - <phase>validate</phase> - <goals> - <goal>wget</goal> - </goals> - <configuration> - <url>https://github.com/google/closure-compiler/archive/master.zip</url> - <!-- - Give it a number matching the date so we can - trigger a new download by updating the date - --> - <outputFileName>closure-compiler-20160421.zip</outputFileName> - <outputDirectory>${project.build.directory}/downloads</outputDirectory> - <unpack>true</unpack> - </configuration> - </execution> - </executions> - </plugin> + <name>Apache Flex - FlexJS: Externs: Node</name> - <plugin> - <groupId>org.apache.flex.flexjs.compiler</groupId> - <artifactId>flexjs-maven-plugin</artifactId> - <version>0.7.0-SNAPSHOT</version> - <extensions>true</extensions> - <configuration> - <includeSources>true</includeSources> - <externcInput> - <fileSet> - <directory>${project.basedir}/src/main/javascript</directory> - <includes> - <include>**/*.js</include> - </includes> - </fileSet> - <fileSet> - <directory>${project.basedir}/target/downloads/closure-compiler-master/contrib/nodejs</directory> - <includes> - <include>**/*.js</include> - </includes> - </fileSet> - </externcInput> - <externcConfig> - <excludes> - <exclude> - <className>Buffer</className> - <name>toJSON</name> - </exclude> - <exclude> - <className>osNetworkInterfacesInfo</className> - <name>internal</name> - </exclude> - </excludes> - </externcConfig> - <includeFiles> - <include-file> - <name>externs/missing.js</name> - <path>../src/main/javascript/missing.js</path> - </include-file> - <include-file> - <name>externs/assert.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/assert.js</path> - </include-file> - <include-file> - <name>externs/buffer.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/buffer.js</path> - </include-file> - <include-file> - <name>externs/child_process.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/child_process.js</path> - </include-file> - <include-file> - <name>externs/cluster.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/cluster.js</path> - </include-file> - <include-file> - <name>externs/crypto.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/crypto.js</path> - </include-file> - <include-file> - <name>externs/dgram.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/dgram.js</path> - </include-file> - <include-file> - <name>externs/dns.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/dns.js</path> - </include-file> - <include-file> - <name>externs/domain.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/domain.js</path> - </include-file> - <include-file> - <name>externs/events.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/events.js</path> - </include-file> - <include-file> - <name>externs/fs.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/fs.js</path> - </include-file> - <include-file> - <name>externs/http.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/http.js</path> - </include-file> - <include-file> - <name>externs/https.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/https.js</path> - </include-file> - <include-file> - <name>externs/net.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/net.js</path> - </include-file> - <include-file> - <name>externs/os.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/os.js</path> - </include-file> - <include-file> - <name>externs/path.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/path.js</path> - </include-file> - <include-file> - <name>externs/punycode.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/punycode.js</path> - </include-file> - <include-file> - <name>externs/querystring.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/querystring.js</path> - </include-file> - <include-file> - <name>externs/readline.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/readline.js</path> - </include-file> - <include-file> - <name>externs/repl.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/repl.js</path> - </include-file> - <include-file> - <name>externs/stream.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/stream.js</path> - </include-file> - <include-file> - <name>externs/string_decoder.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/string_decoder.js</path> - </include-file> - <include-file> - <name>externs/tls.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/tls.js</path> - </include-file> - <include-file> - <name>externs/tty.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/tty.js</path> - </include-file> - <include-file> - <name>externs/url.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/url.js</path> - </include-file> - <include-file> - <name>externs/util.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/util.js</path> - </include-file> - <include-file> - <name>externs/vm.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/vm.js</path> - </include-file> - <include-file> - <name>externs/zlib.js</name> - <path>downloads/closure-compiler-master/contrib/nodejs/zlib.js</path> - </include-file> - </includeFiles> - <skipSwc>true</skipSwc> - </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs.compiler</groupId> - <artifactId>compiler-jx</artifactId> - <version>0.7.0-SNAPSHOT</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> + <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-closure-sources</id> + <phase>validate</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>https://github.com/google/closure-compiler/archive/master.zip</url> + <!-- + Give it a number matching the date so we can + trigger a new download by updating the date + --> + <outputFileName>closure-compiler-20160421.zip</outputFileName> + <outputDirectory>${project.build.directory}/downloads</outputDirectory> + <unpack>true</unpack> + </configuration> + </execution> + </executions> + </plugin> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs.externs</groupId> - <artifactId>flexjs-externs-js</artifactId> + <plugin> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flexjs-maven-plugin</artifactId> + <version>0.7.0-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <includeSources>true</includeSources> + <externcInput> + <fileSet> + <directory>${project.basedir}/src/main/javascript</directory> + <includes> + <include>**/*.js</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.basedir}/target/downloads/closure-compiler-master/contrib/nodejs</directory> + <includes> + <include>**/*.js</include> + </includes> + </fileSet> + </externcInput> + <externcConfig> + <excludes> + <exclude> + <className>Buffer</className> + <name>toJSON</name> + </exclude> + <exclude> + <className>osNetworkInterfacesInfo</className> + <name>internal</name> + </exclude> + </excludes> + </externcConfig> + <includeFiles> + <include-file> + <name>externs/missing.js</name> + <path>../src/main/javascript/missing.js</path> + </include-file> + <include-file> + <name>externs/assert.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/assert.js</path> + </include-file> + <include-file> + <name>externs/buffer.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/buffer.js</path> + </include-file> + <include-file> + <name>externs/child_process.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/child_process.js</path> + </include-file> + <include-file> + <name>externs/cluster.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/cluster.js</path> + </include-file> + <include-file> + <name>externs/crypto.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/crypto.js</path> + </include-file> + <include-file> + <name>externs/dgram.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/dgram.js</path> + </include-file> + <include-file> + <name>externs/dns.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/dns.js</path> + </include-file> + <include-file> + <name>externs/domain.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/domain.js</path> + </include-file> + <include-file> + <name>externs/events.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/events.js</path> + </include-file> + <include-file> + <name>externs/fs.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/fs.js</path> + </include-file> + <include-file> + <name>externs/http.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/http.js</path> + </include-file> + <include-file> + <name>externs/https.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/https.js</path> + </include-file> + <include-file> + <name>externs/net.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/net.js</path> + </include-file> + <include-file> + <name>externs/os.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/os.js</path> + </include-file> + <include-file> + <name>externs/path.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/path.js</path> + </include-file> + <include-file> + <name>externs/punycode.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/punycode.js</path> + </include-file> + <include-file> + <name>externs/querystring.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/querystring.js</path> + </include-file> + <include-file> + <name>externs/readline.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/readline.js</path> + </include-file> + <include-file> + <name>externs/repl.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/repl.js</path> + </include-file> + <include-file> + <name>externs/stream.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/stream.js</path> + </include-file> + <include-file> + <name>externs/string_decoder.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/string_decoder.js</path> + </include-file> + <include-file> + <name>externs/tls.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/tls.js</path> + </include-file> + <include-file> + <name>externs/tty.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/tty.js</path> + </include-file> + <include-file> + <name>externs/url.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/url.js</path> + </include-file> + <include-file> + <name>externs/util.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/util.js</path> + </include-file> + <include-file> + <name>externs/vm.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/vm.js</path> + </include-file> + <include-file> + <name>externs/zlib.js</name> + <path>downloads/closure-compiler-master/contrib/nodejs/zlib.js</path> + </include-file> + </includeFiles> + <skipSwc>true</skipSwc> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-jx</artifactId> <version>0.7.0-SNAPSHOT</version> - <type>swc</type> - <classifier>extern</classifier> - <scope>external</scope> - </dependency> - </dependencies> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs.externs</groupId> + <artifactId>flexjs-externs-js</artifactId> + <version>0.7.0-SNAPSHOT</version> + <type>swc</type> + <classifier>extern</classifier> + <scope>external</scope> + </dependency> + </dependencies> </project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fd20f696/externs/pom.xml ---------------------------------------------------------------------- diff --git a/externs/pom.xml b/externs/pom.xml index 6eab62d..2d7e4e7 100644 --- a/externs/pom.xml +++ b/externs/pom.xml @@ -19,52 +19,52 @@ --> <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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>flexjs-parent</artifactId> - <version>0.7.0-SNAPSHOT</version> - </parent> - - <groupId>org.apache.flex.flexjs.externs</groupId> - <artifactId>flexjs-externs</artifactId> + <parent> + <groupId>org.apache.flex.flexjs</groupId> + <artifactId>flexjs-parent</artifactId> <version>0.7.0-SNAPSHOT</version> - <packaging>pom</packaging> + </parent> + + <groupId>org.apache.flex.flexjs.externs</groupId> + <artifactId>flexjs-externs</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>pom</packaging> - <name>Apache Flex - FlexJS: Externs</name> + <name>Apache Flex - FlexJS: Externs</name> - <properties> - <git.executable>git</git.executable> - </properties> + <properties> + <git.executable>git</git.executable> + </properties> - <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> + <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> - <!-- - 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". - --> - <profiles> - <profile> - <id>windows-machine</id> - <activation> - <os> - <family>Windows</family> - </os> - </activation> - <properties> - <git.executable>git.exe</git.executable> - </properties> - </profile> - </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". + --> + <profiles> + <profile> + <id>windows-machine</id> + <activation> + <os> + <family>Windows</family> + </os> + </activation> + <properties> + <git.executable>git.exe</git.executable> + </properties> + </profile> + </profiles> </project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fd20f696/flex-compiler-oem/pom.xml ---------------------------------------------------------------------- diff --git a/flex-compiler-oem/pom.xml b/flex-compiler-oem/pom.xml index 0921776..8b1bd60 100644 --- a/flex-compiler-oem/pom.xml +++ b/flex-compiler-oem/pom.xml @@ -19,36 +19,36 @@ --> <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> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>flexjs-parent</artifactId> - <version>0.7.0-SNAPSHOT</version> - </parent> - - <groupId>org.apache.flex.flexjs.compiler</groupId> - <artifactId>flex-compiler-oem</artifactId> + <parent> + <groupId>org.apache.flex.flexjs</groupId> + <artifactId>flexjs-parent</artifactId> <version>0.7.0-SNAPSHOT</version> - - <name>Apache Flex - FlexJS: OEM Layer</name> - - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs.compiler</groupId> - <artifactId>compiler</artifactId> - <version>0.7.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.apache.flex.flexjs.compiler</groupId> - <artifactId>compiler-jx</artifactId> - <version>0.7.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>swfutils</artifactId> - <version>4.15.0</version> - </dependency> - </dependencies> + </parent> + + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>flex-compiler-oem</artifactId> + <version>0.7.0-SNAPSHOT</version> + + <name>Apache Flex - FlexJS: OEM Layer</name> + + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler</artifactId> + <version>0.7.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.flexjs.compiler</groupId> + <artifactId>compiler-jx</artifactId> + <version>0.7.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.flex.compiler</groupId> + <artifactId>swfutils</artifactId> + <version>4.15.0</version> + </dependency> + </dependencies> </project> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fd20f696/flexjs-maven-plugin/pom.xml ---------------------------------------------------------------------- diff --git a/flexjs-maven-plugin/pom.xml b/flexjs-maven-plugin/pom.xml index 2fbff4f..06e593c 100644 --- a/flexjs-maven-plugin/pom.xml +++ b/flexjs-maven-plugin/pom.xml @@ -17,7 +17,8 @@ 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"> +<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> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/fd20f696/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 48317cc..b127097 100644 --- a/pom.xml +++ b/pom.xml @@ -17,528 +17,529 @@ 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>17</version> - </parent> - - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>flexjs-parent</artifactId> - <version>0.7.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>Apache Flex - FlexJS</name> - <description>The Apache Flex FlexJS Project</description> - - <!-- Only configure the site distribution as the rest is handled by the apache parent --> - <distributionManagement> - <site> - <id>website</id> - <url>scp://www.mycompany.com/www/docs/project/</url> - </site> - </distributionManagement> - - <repositories> - <repository> - <id>apache-release</id> - <url>https://repository.apache.org/content/repositories/releases</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - <repository> - <id>apache-snapshots</id> - <url>https://repository.apache.org/content/repositories/snapshots</url> - <releases> - <enabled>false</enabled> - </releases> - <snapshots> - <enabled>true</enabled> - </snapshots> - </repository> - </repositories> - - <pluginRepositories> - <pluginRepository> - <id>apache-plugins-release</id> - <url>https://repository.apache.org/content/repositories/releases</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </pluginRepository> - <pluginRepository> - <id>apache-plugins-snapshots</id> - <url>https://repository.apache.org/content/repositories/snapshots</url> - <releases> - <enabled>false</enabled> - </releases> - <snapshots> - <enabled>true</enabled> - </snapshots> - </pluginRepository> - </pluginRepositories> - - <mailingLists> - <mailingList> - <name>Apache Flex User List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive> - </mailingList> - <mailingList> - <name>Apache Flex Developer List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://mail-archives.apache.org/mod_mbox/flex-dev/</archive> - </mailingList> - </mailingLists> - - <issueManagement> - <system>Jira</system> - <url>https://issues.apache.org/jira/browse/FLEX</url> - </issueManagement> - - <scm> - <connection>scm:git://git.apache.org/flex-falcon.git</connection> - <developerConnection>scm:git://git.apache.org/flex-falcon.git</developerConnection> - <url>https://github.com/apache/flex-falcon</url> - </scm> - - <properties> - <java.version>1.6</java.version> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding> - <maven.version>3.3.1</maven.version> - - <!-- URL of the ASF SonarQube server --> - <sonar.host.url>https://analysis.apache.org/</sonar.host.url> - - <flex.version>4.15.0</flex.version> - <flash.version>20.0</flash.version> - <air.version>20.0</air.version> - - <!-- Tell sonar where the coverage reports are located --> - <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco-ut.exec</sonar.jacoco.reportPath> - <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> - </properties> - - <!-- - As the compiler needs artifacts that are part of this project, the build - will fail, if the utility artifacts compiler-build-tools or compiler-jburg-types - haven't been built. We therefore have a utils profile, that builds these - prerequisites. After one build with "-P utils" has been built, the default - build should be able to do it's job. - --> - <profiles> - <profile> - <id>utils</id> - <properties> - <active-profile>utils</active-profile> - </properties> - <modules> - <module>compiler-build-tools</module> - <module>compiler-jburg-types</module> - <module>flexjs-maven-plugin</module> - </modules> - </profile> - - <profile> - <id>compiler</id> - <properties> - <active-profile>compiler</active-profile> - </properties> - <modules> - <module>compiler</module> - <module>compiler-jx</module> - <module>debugger</module> - <module>flex-compiler-oem</module> - </modules> - </profile> - - <profile> - <id>externs</id> - <properties> - <active-profile>externs</active-profile> - </properties> - <modules> - <module>externs</module> - </modules> - </profile> - </profiles> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.4.1</version> - <executions> - <execution> - <id>enforce at least one profile activation</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <!-- - The profiles are only available if they are defined in the - current pom. So we would have to define all profiles in each - child pom. Using a property defined in the profiles makes this - property available in all children, so we use this to check - if a profile was selected. - --> - <requireProperty> - <property>active-profile</property> - <message>You must select one of the profiles 'utils', 'compiler' or 'externs' using the '-P{profilename}' commandline option</message> - </requireProperty> - </rules> - <fail>true</fail> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>${java.version}</source> - <target>${java.version}</target> - </configuration> - </plugin> - - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.6.201602180812</version> - <executions> - <!-- - Prepares the property pointing to the JaCoCo runtime agent which - is passed as VM argument when Maven the Surefire plugin is executed. - --> - <execution> - <id>pre-unit-test</id> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <!-- Sets the path to the file which contains the execution data. --> - <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> - <!-- - Sets the name of the property containing the settings - for JaCoCo runtime agent. - --> - <propertyName>surefireArgLine</propertyName> - </configuration> - </execution> - <!-- - Ensures that the code coverage report for unit tests is created after - unit tests have been run. - --> - <execution> - <id>post-unit-test</id> - <phase>test</phase> - <goals> - <goal>report</goal> - </goals> - <configuration> - <!-- Sets the path to the file which contains the execution data. --> - <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> - <!-- Sets the output directory for the code coverage report. --> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> - </configuration> - </execution> - <!-- - Prepares the property pointing to the JaCoCo runtime agent which - is passed as VM argument when Maven the Failsafe plugin is executed. - --> - <execution> - <id>pre-integration-test</id> - <phase>pre-integration-test</phase> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <!-- Sets the path to the file which contains the execution data. --> - <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> - <!-- - Sets the name of the property containing the settings - for JaCoCo runtime agent. - --> - <propertyName>failsafeArgLine</propertyName> - </configuration> - </execution> - <!-- - Ensures that the code coverage report for integration tests after - integration tests have been run. - --> - <execution> - <id>post-integration-test</id> - <phase>post-integration-test</phase> - <goals> - <goal>report</goal> - </goals> - <configuration> - <!-- Sets the path to the file which contains the execution data. --> - <dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> - <!-- Sets the output directory for the code coverage report. --> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- Make the surefire execute all unit-tests --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.19</version> - <configuration> - <argLine>${surefireArgLine}</argLine> - <systemPropertyVariables> - <buildType>Maven</buildType> - <flexVersion>${flex.version}</flexVersion> - <flashVersion>${flash.version}</flashVersion> - <airVersion>${air.version}</airVersion> - <mavenLocalRepoDir>${settings.localRepository}</mavenLocalRepoDir> - </systemPropertyVariables> - <!-- - Currently some tests need this to be disabled, - but actually this is a bug. For now I'll disable - them to avoid problems during the maven migration. - After this is finished, we should defnitely fix - the tests so assertions can be enabled. - --> - <enableAssertions>false</enableAssertions> - </configuration> - </plugin> - - <!-- Make the failsafe execute all integration-tests --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <version>2.18.1</version> - <executions> - <execution> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - </execution> - </executions> - <configuration> - <argLine>${failsafeArgLine}</argLine> - <systemPropertyVariables> - <buildType>Maven</buildType> - <flexVersion>${flex.version}</flexVersion> - <flashVersion>${flash.version}</flashVersion> - <airVersion>${air.version}</airVersion> - <mavenLocalRepoDir>${settings.localRepository}</mavenLocalRepoDir> - <FLASHPLAYER_DEBUGGER>${env.FLASHPLAYER_DEBUGGER}</FLASHPLAYER_DEBUGGER> - </systemPropertyVariables> - <!-- - Currently some tests need this to be disabled, - but actually this is a bug. For now I'll disable - them to avoid problems during the maven migration. - After this is finished, we should defnitely fix - the tests so assertions can be enabled. - --> - <enableAssertions>false</enableAssertions> - </configuration> - </plugin> - - <!-- Plugin to detect problems with JDK incompatibilities --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>animal-sniffer-maven-plugin</artifactId> - <version>1.15</version> - <executions> - <execution> - <id>check-jdk-1.6</id> - <phase>test</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - <configuration> - <signature> - <groupId>org.codehaus.mojo.signature</groupId> - <artifactId>java16</artifactId> - <version>1.1</version> - </signature> - </configuration> - </plugin> - - <!-- Configure the assembly --> - <!--plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.6</version> - <executions> - <execution> - <id>assemble-sources-releases</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - <configuration> - <descriptors> - <descriptor>src/assembly/binary-distribution-zip.xml</descriptor> - <descriptor>src/assembly/binary-distribution-gz.xml</descriptor> - <descriptor>src/assembly/source-distribution-zip.xml</descriptor> - <descriptor>src/assembly/source-distribution-gz.xml</descriptor> - </descriptors> - </configuration> - </plugin--> - - <!-- Configure the Site generation --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.4</version> - <configuration> - <generateReports>true</generateReports> - <generateSitemap>true</generateSitemap> - <relativizeDecorationLinks>false</relativizeDecorationLinks> - <locales>en</locales> - <inputEncoding>${project.build.sourceEncoding}</inputEncoding> - <outputEncoding>${project.reporting.outputencoding}</outputEncoding> - </configuration> - <dependencies> - <dependency> - <groupId>org.asciidoctor</groupId> - <artifactId>asciidoctor-maven-plugin</artifactId> - <version>1.5.3</version> - </dependency> - </dependencies> - </plugin> - - <plugin> - <groupId>org.asciidoctor</groupId> - <artifactId>asciidoctor-maven-plugin</artifactId> - <version>1.5.3</version> - <dependencies> - <dependency> - <groupId>org.asciidoctor</groupId> - <artifactId>asciidoctorj-diagram</artifactId> - <version>1.3.1</version> - </dependency> - </dependencies> - <configuration> - <requires> - <require>asciidoctor-diagram</require> - </requires> - <attributes> - <!-- Example below shows how to specify in this pom instead of System's PATH, the location of dot command of Graphviz, required by PlantUML libraries --> - <!-- Windows: - <graphvizdot>C:\Program Files (x86)\Graphviz2.38\bin\dot.exe</graphvizdot> - --> - <!-- *nix : - <graphvizdot>/usr/local/bin/dot</graphvizdot> - --> - </attributes> - </configuration> - <!--executions> - <execution> - <id>generate-html-doc</id> - <phase>generate-resources</phase> - <goals> - <goal>process-asciidoc</goal> - </goals> - <configuration> - <backend>html5</backend> - <attributes> - <imagesdir>./images</imagesdir> - <toc>left</toc> - <icons>font</icons> - <sectanchors>true</sectanchors> - <idprefix/> - <idseparator>-</idseparator> - </attributes> - </configuration> - </execution> - </executions--> - </plugin> - - <plugin> - <groupId>org.sonarsource.scanner.maven</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>3.0.2</version> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <!-- Process the asciidoctor resources in the src/site/asciidoc directory --> - <plugin> - <groupId>org.asciidoctor</groupId> - <artifactId>asciidoctor-maven-plugin</artifactId> - <version>1.5.3</version> +<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>17</version> + </parent> + + <groupId>org.apache.flex.flexjs</groupId> + <artifactId>flexjs-parent</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache Flex - FlexJS</name> + <description>The Apache Flex FlexJS Project</description> + + <!-- Only configure the site distribution as the rest is handled by the apache parent --> + <distributionManagement> + <site> + <id>website</id> + <url>scp://www.mycompany.com/www/docs/project/</url> + </site> + </distributionManagement> + + <repositories> + <repository> + <id>apache-release</id> + <url>https://repository.apache.org/content/repositories/releases</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>apache-snapshots</id> + <url>https://repository.apache.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <pluginRepositories> + <pluginRepository> + <id>apache-plugins-release</id> + <url>https://repository.apache.org/content/repositories/releases</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>apache-plugins-snapshots</id> + <url>https://repository.apache.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + + <mailingLists> + <mailingList> + <name>Apache Flex User List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive> + </mailingList> + <mailingList> + <name>Apache Flex Developer List</name> + <subscribe>[email protected]</subscribe> + <unsubscribe>[email protected]</unsubscribe> + <post>[email protected]</post> + <archive>http://mail-archives.apache.org/mod_mbox/flex-dev/</archive> + </mailingList> + </mailingLists> + + <issueManagement> + <system>Jira</system> + <url>https://issues.apache.org/jira/browse/FLEX</url> + </issueManagement> + + <scm> + <connection>scm:git://git.apache.org/flex-falcon.git</connection> + <developerConnection>scm:git://git.apache.org/flex-falcon.git</developerConnection> + <url>https://github.com/apache/flex-falcon</url> + </scm> + + <properties> + <java.version>1.6</java.version> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding> + <maven.version>3.3.1</maven.version> + + <!-- URL of the ASF SonarQube server --> + <sonar.host.url>https://analysis.apache.org/</sonar.host.url> + + <flex.version>4.15.0</flex.version> + <flash.version>20.0</flash.version> + <air.version>20.0</air.version> + + <!-- Tell sonar where the coverage reports are located --> + <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco-ut.exec</sonar.jacoco.reportPath> + <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> + </properties> + + <!-- + As the compiler needs artifacts that are part of this project, the build + will fail, if the utility artifacts compiler-build-tools or compiler-jburg-types + haven't been built. We therefore have a utils profile, that builds these + prerequisites. After one build with "-P utils" has been built, the default + build should be able to do it's job. + --> + <profiles> + <profile> + <id>utils</id> + <properties> + <active-profile>utils</active-profile> + </properties> + <modules> + <module>compiler-build-tools</module> + <module>compiler-jburg-types</module> + <module>flexjs-maven-plugin</module> + </modules> + </profile> + + <profile> + <id>compiler</id> + <properties> + <active-profile>compiler</active-profile> + </properties> + <modules> + <module>compiler</module> + <module>compiler-jx</module> + <module>debugger</module> + <module>flex-compiler-oem</module> + </modules> + </profile> + + <profile> + <id>externs</id> + <properties> + <active-profile>externs</active-profile> + </properties> + <modules> + <module>externs</module> + </modules> + </profile> + </profiles> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + <executions> + <execution> + <id>enforce at least one profile activation</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <!-- + The profiles are only available if they are defined in the + current pom. So we would have to define all profiles in each + child pom. Using a property defined in the profiles makes this + property available in all children, so we use this to check + if a profile was selected. + --> + <requireProperty> + <property>active-profile</property> + <message>You must select one of the profiles 'utils', 'compiler' or 'externs' using the '-P{profilename}' commandline option</message> + </requireProperty> + </rules> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.6.201602180812</version> + <executions> + <!-- + Prepares the property pointing to the JaCoCo runtime agent which + is passed as VM argument when Maven the Surefire plugin is executed. + --> + <execution> + <id>pre-unit-test</id> + <goals> + <goal>prepare-agent</goal> + </goals> + <configuration> + <!-- Sets the path to the file which contains the execution data. --> + <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> + <!-- + Sets the name of the property containing the settings + for JaCoCo runtime agent. + --> + <propertyName>surefireArgLine</propertyName> + </configuration> + </execution> + <!-- + Ensures that the code coverage report for unit tests is created after + unit tests have been run. + --> + <execution> + <id>post-unit-test</id> + <phase>test</phase> + <goals> + <goal>report</goal> + </goals> + <configuration> + <!-- Sets the path to the file which contains the execution data. --> + <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> + <!-- Sets the output directory for the code coverage report. --> + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> + </configuration> + </execution> + <!-- + Prepares the property pointing to the JaCoCo runtime agent which + is passed as VM argument when Maven the Failsafe plugin is executed. + --> + <execution> + <id>pre-integration-test</id> + <phase>pre-integration-test</phase> + <goals> + <goal>prepare-agent</goal> + </goals> + <configuration> + <!-- Sets the path to the file which contains the execution data. --> + <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> + <!-- + Sets the name of the property containing the settings + for JaCoCo runtime agent. + --> + <propertyName>failsafeArgLine</propertyName> + </configuration> + </execution> + <!-- + Ensures that the code coverage report for integration tests after + integration tests have been run. + --> + <execution> + <id>post-integration-test</id> + <phase>post-integration-test</phase> + <goals> + <goal>report</goal> + </goals> + <configuration> + <!-- Sets the path to the file which contains the execution data. --> + <dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile> + <!-- Sets the output directory for the code coverage report. --> + <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + + <!-- Make the surefire execute all unit-tests --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.19</version> + <configuration> + <argLine>${surefireArgLine}</argLine> + <systemPropertyVariables> + <buildType>Maven</buildType> + <flexVersion>${flex.version}</flexVersion> + <flashVersion>${flash.version}</flashVersion> + <airVersion>${air.version}</airVersion> + <mavenLocalRepoDir>${settings.localRepository}</mavenLocalRepoDir> + </systemPropertyVariables> + <!-- + Currently some tests need this to be disabled, + but actually this is a bug. For now I'll disable + them to avoid problems during the maven migration. + After this is finished, we should defnitely fix + the tests so assertions can be enabled. + --> + <enableAssertions>false</enableAssertions> + </configuration> + </plugin> + + <!-- Make the failsafe execute all integration-tests --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <version>2.18.1</version> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + <configuration> + <argLine>${failsafeArgLine}</argLine> + <systemPropertyVariables> + <buildType>Maven</buildType> + <flexVersion>${flex.version}</flexVersion> + <flashVersion>${flash.version}</flashVersion> + <airVersion>${air.version}</airVersion> + <mavenLocalRepoDir>${settings.localRepository}</mavenLocalRepoDir> + <FLASHPLAYER_DEBUGGER>${env.FLASHPLAYER_DEBUGGER}</FLASHPLAYER_DEBUGGER> + </systemPropertyVariables> + <!-- + Currently some tests need this to be disabled, + but actually this is a bug. For now I'll disable + them to avoid problems during the maven migration. + After this is finished, we should defnitely fix + the tests so assertions can be enabled. + --> + <enableAssertions>false</enableAssertions> + </configuration> + </plugin> + + <!-- Plugin to detect problems with JDK incompatibilities --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <version>1.15</version> + <executions> + <execution> + <id>check-jdk-1.6</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <signature> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>java16</artifactId> + <version>1.1</version> + </signature> + </configuration> + </plugin> + + <!-- Configure the assembly --> + <!--plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>assemble-sources-releases</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <descriptors> + <descriptor>src/assembly/binary-distribution-zip.xml</descriptor> + <descriptor>src/assembly/binary-distribution-gz.xml</descriptor> + <descriptor>src/assembly/source-distribution-zip.xml</descriptor> + <descriptor>src/assembly/source-distribution-gz.xml</descriptor> + </descriptors> + </configuration> + </plugin--> + + <!-- Configure the Site generation --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.4</version> + <configuration> + <generateReports>true</generateReports> + <generateSitemap>true</generateSitemap> + <relativizeDecorationLinks>false</relativizeDecorationLinks> + <locales>en</locales> + <inputEncoding>${project.build.sourceEncoding}</inputEncoding> + <outputEncoding>${project.reporting.outputencoding}</outputEncoding> + </configuration> + <dependencies> + <dependency> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>1.5.3</version> + </dependency> + </dependencies> + </plugin> + + <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>1.5.3</version> + <dependencies> + <dependency> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctorj-diagram</artifactId> + <version>1.3.1</version> + </dependency> + </dependencies> + <configuration> + <requires> + <require>asciidoctor-diagram</require> + </requires> + <attributes> + <!-- Example below shows how to specify in this pom instead of System's PATH, the location of dot command of Graphviz, required by PlantUML libraries --> + <!-- Windows: + <graphvizdot>C:\Program Files (x86)\Graphviz2.38\bin\dot.exe</graphvizdot> + --> + <!-- *nix : + <graphvizdot>/usr/local/bin/dot</graphvizdot> + --> + </attributes> + </configuration> + <!--executions> + <execution> + <id>generate-html-doc</id> + <phase>generate-resources</phase> + <goals> + <goal>process-asciidoc</goal> + </goals> <configuration> + <backend>html5</backend> <attributes> + <imagesdir>./images</imagesdir> + <toc>left</toc> <icons>font</icons> - <source-highlighter>coderay</source-highlighter> - <coderay-css>style</coderay-css> - <toclevels>2</toclevels> + <sectanchors>true</sectanchors> + <idprefix/> + <idseparator>-</idseparator> </attributes> </configuration> - </plugin> - - <!-- Generates a changelog report from GIT commits --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changelog-plugin</artifactId> - <version>2.3</version> - <configuration> - <!-- Automatically link Jire issues --> - <issueLinkUrl>https://issues.apache.org/jira/browse/%ISSUE%</issueLinkUrl> - </configuration> - </plugin> - - <!-- Generates a report with the details of the unit- and integrationtests --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.19.1</version> - </plugin> - - <!-- Generates a report with the test coverages --> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.6.201602180812</version> - </plugin> - - <!-- Generates a report with the SonarQube analysis reports --> - <plugin> - <groupId>org.codehaus.sonar-plugins</groupId> - <artifactId>maven-report</artifactId> - <version>0.1</version> - </plugin> - - <!-- Generate the JavaDoc API documentation --> - <!--plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - </plugin--> - </plugins> - </reporting> + </execution> + </executions--> + </plugin> + + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>3.0.2</version> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <!-- Process the asciidoctor resources in the src/site/asciidoc directory --> + <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>1.5.3</version> + <configuration> + <attributes> + <icons>font</icons> + <source-highlighter>coderay</source-highlighter> + <coderay-css>style</coderay-css> + <toclevels>2</toclevels> + </attributes> + </configuration> + </plugin> + + <!-- Generates a changelog report from GIT commits --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changelog-plugin</artifactId> + <version>2.3</version> + <configuration> + <!-- Automatically link Jire issues --> + <issueLinkUrl>https://issues.apache.org/jira/browse/%ISSUE%</issueLinkUrl> + </configuration> + </plugin> + + <!-- Generates a report with the details of the unit- and integrationtests --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.19.1</version> + </plugin> + + <!-- Generates a report with the test coverages --> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.6.201602180812</version> + </plugin> + + <!-- Generates a report with the SonarQube analysis reports --> + <plugin> + <groupId>org.codehaus.sonar-plugins</groupId> + <artifactId>maven-report</artifactId> + <version>0.1</version> + </plugin> + + <!-- Generate the JavaDoc API documentation --> + <!--plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.3</version> + </plugin--> + </plugins> + </reporting> </project> \ No newline at end of file
