| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-native</artifactId> |
| <packaging>bundle</packaging> |
| <version>1.0-SNAPSHOT</version> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>18</version> |
| <relativePath>org.apache:apache</relativePath> |
| </parent> |
| |
| <name>ActiveMQ Artemis Native</name> |
| <url></url> |
| |
| <prerequisites> |
| <maven>3.1.0</maven> |
| </prerequisites> |
| |
| <properties> |
| <jboss.logging.version>3.3.1.Final</jboss.logging.version> |
| <jb.logmanager.version>2.0.3.Final</jb.logmanager.version> |
| |
| <maven.assembly.plugin.version>2.4</maven.assembly.plugin.version> |
| <version.org.jacoco>0.7.9</version.org.jacoco> |
| <version.org.jacoco.plugin>0.7.9</version.org.jacoco.plugin> |
| <version.maven.jar.plugin>2.4</version.maven.jar.plugin> |
| |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| |
| <activemq-surefire-argline> |
| -Djava.library.path="${activemq.basedir}/bin" |
| </activemq-surefire-argline> |
| <activemq.basedir>${project.basedir}</activemq.basedir> |
| <skipLicenseCheck>true</skipLicenseCheck> |
| <skipStyleCheck>true</skipStyleCheck> |
| |
| <javac-compiler-id>javac-with-errorprone</javac-compiler-id> |
| |
| <!-- Ignore failed tests by default because there are "known" failures in the full test-suite. |
| This will be set to false for the "fast-tests" profile as none of those tests should fail. --> |
| <testFailureIgnore>true</testFailureIgnore> |
| </properties> |
| |
| <dependencies> |
| <!-- ## Test Dependencies ## Note: Junit is required in certain module tests. We should control versions from here. --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| <!-- License: CPL 1.0 --> |
| <!-- There are newer versions of the JUnit but they break our tests --> |
| </dependency> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.ant</artifactId> |
| <version>${version.org.jacoco}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.core</artifactId> |
| <version>${version.org.jacoco}</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- ### Build Time Dependencies ### --> |
| <!-- This is a build dependency of this project, but is not needed at compile or runtime by other |
| projects that depend on this project. This should be in the compiler plugin but can't because of a bug, |
| see https://issues.apache.org/jira/browse/MCOMPILER-203--> |
| <dependency> |
| <groupId>org.jboss.logging</groupId> |
| <artifactId>jboss-logging-processor</artifactId> |
| <version>2.1.0.Final</version> |
| <optional>true</optional> |
| <!-- License: LGPL--> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.logging</groupId> |
| <artifactId>jboss-logging-annotations</artifactId> |
| <version>2.1.0.Final</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| <!-- License: Apache 2.0--> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.logging</groupId> |
| <artifactId>jboss-logging</artifactId> |
| <version>${jboss.logging.version}</version> |
| <!-- License: Apache 2.0 --> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.logmanager</groupId> |
| <artifactId>jboss-logmanager</artifactId> |
| <version>${jb.logmanager.version}</version> |
| <!-- License: Apache 2.0 --> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>M2E</id> |
| <activation> |
| <property> |
| <name>m2e.version</name> |
| </property> |
| </activation> |
| <properties> |
| <javac-compiler-id>javac</javac-compiler-id> |
| </properties> |
| </profile> |
| <!-- Google Error Prone has issues with IBM JDK 8 --> |
| <!-- See ARTEMIS-861 --> |
| <profile> |
| <id>ibm-jdk8</id> |
| <activation> |
| <jdk>1.8</jdk> |
| <property> |
| <name>java.vendor</name> |
| <value>IBM Corporation</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <!-- version 3.2 is having problems with the APT processor resulting in |
| java.lang.IllegalStateException: endPosTable already set --> |
| <version>3.1</version> |
| <configuration combine.self="override" /> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <com.ibm.jsse2.overrideDefaultTLS>true</com.ibm.jsse2.overrideDefaultTLS> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>jdk18</id> |
| <activation> |
| <jdk>1.8</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <additionalparam>-Xdoclint:none</additionalparam> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>dev</id> |
| <properties> |
| <skipStyleCheck>false</skipStyleCheck> |
| <skipLicenseCheck>false</skipLicenseCheck> |
| </properties> |
| </profile> |
| <profile> |
| <id>distro</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| </profile> |
| <profile> |
| <id>release</id> |
| <properties> |
| <skipStyleCheck>false</skipStyleCheck> |
| <skipLicenseCheck>false</skipLicenseCheck> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <id>enforce-java</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- we need java8 when building the release --> |
| <requireJavaVersion> |
| <version>1.8.0</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <!-- This profile generates jacoco coverage files. To generate html report use "-Pjacoco-generate-report" --> |
| <profile> |
| <id>jacoco</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.core</artifactId> |
| <version>${version.org.jacoco}</version> |
| </dependency> |
| </dependencies> |
| <properties> |
| |
| <!-- Property set by Jacoco plugin --> |
| <jacoco.agent /> |
| |
| <activemq-surefire-argline> |
| -Djava.library.path="${activemq.basedir}/artemis-native/bin" |
| @{jacoco.agent} -Djacoco.agent=@{jacoco.agent} |
| </activemq-surefire-argline> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>jacoco-prepare</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${project.build.directory}/jacoco.exec</destFile> |
| <!-- Jacoco sets this property with agent configuration. |
| This property is passed to maven-surefire-plugin --> |
| <propertyName>jacoco.agent</propertyName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>merge</id> |
| <phase>none</phase> |
| <goals> |
| <goal>merge</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <fileSets> |
| <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| <directory>${activemq.basedir}</directory> |
| <includes> |
| <include>**/*.exec</include> |
| </includes> |
| </fileSet> |
| </fileSets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <!-- This profile generates html report from jacoco coverage files. Use "-Pjacoco" profile to generate coverage. --> |
| <profile> |
| <id>jacoco-generate-report</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <!-- Copy jacoco ant jar. This is needed to generate jacoco report with maven-antrun-plugin --> |
| <execution> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <phase>process-test-resources</phase> |
| <inherited>false</inherited> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.ant</artifactId> |
| <version>${version.org.jacoco.plugin}</version> |
| </artifactItem> |
| </artifactItems> |
| <stripVersion>true</stripVersion> |
| <outputDirectory>${project.build.directory}/jacoco-jars</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>post-integration-test</phase> |
| <goals><goal>run</goal></goals> |
| <inherited>false</inherited> |
| <configuration> |
| <target> |
| <property name="result.report.dir" location="target/jacoco-report" /> |
| <taskdef name="report" classname="org.jacoco.ant.ReportTask"> |
| <classpath path="${project.build.directory}/jacoco-jars/org.jacoco.ant.jar" /> |
| </taskdef> |
| <echo>Creating JaCoCo ActiveMQ Artemis test coverage reports...</echo> |
| <report> |
| <executiondata> |
| <fileset dir="${basedir}"> |
| <include name="**/target/jacoco.exec" /> |
| </fileset> |
| </executiondata> |
| <structure name="JaCoCo ActiveMQ Artemis"> |
| <classfiles> |
| <fileset dir="${activemq.basedir}/target/classes" /> |
| </classfiles> |
| <sourcefiles encoding="UTF-8"> |
| <fileset dir="${activemq.basedir}/src/main/java" /> |
| </sourcefiles> |
| </structure> |
| <html destdir="\${result.report.dir}" /> |
| <xml destfile="\${result.report.dir}/report.xml" /> |
| </report> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.ant</artifactId> |
| <version>${version.org.jacoco.plugin}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <versionRange>[0.12,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId> |
| org.apache.servicemix.tooling |
| </groupId> |
| <artifactId> |
| depends-maven-plugin |
| </artifactId> |
| <versionRange> |
| [1.2,) |
| </versionRange> |
| <goals> |
| <goal> |
| generate-depends-file |
| </goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4.1</version> |
| <executions> |
| <execution> |
| <id>enforce-maven</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>3.1</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javacc-maven-plugin</artifactId> |
| <version>2.6</version> |
| <executions> |
| <execution> |
| <id>javacc</id> |
| <goals> |
| <goal>javacc</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <!-- version 3.2 is having problems with the APT processor resulting in |
| java.lang.IllegalStateException: endPosTable already set --> |
| <version>3.1</version> |
| <!-- Enable Google's Error-Prone https://github.com/google/error-prone --> |
| <configuration> |
| <showWarnings>true</showWarnings> |
| <forceJavacCompilerUse>true</forceJavacCompilerUse> |
| <compilerId>${javac-compiler-id}</compilerId> |
| <compilerArgs> |
| <arg>-Xep:MissingOverride:ERROR</arg> |
| <arg>-Xep:NonAtomicVolatileUpdate:ERROR</arg> |
| <arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg> |
| <arg>-Xep:StaticAccessedFromInstance:ERROR</arg> |
| <arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg> |
| <arg>-Xep:WaitNotInLoop:ERROR</arg> |
| <arg>-Xdiags:verbose</arg> |
| </compilerArgs> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-compiler-javac-errorprone</artifactId> |
| <version>2.8</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_core</artifactId> |
| <version>2.0.9</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-rar-plugin</artifactId> |
| <version>2.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${version.maven.jar.plugin}</version> |
| </plugin> |
| <plugin> |
| <groupId>net.sf.maven-sar</groupId> |
| <artifactId>maven-sar-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.2.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>${jetty.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.7</version> |
| </plugin> |
| |
| <plugin> |
| <inherited>true</inherited> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <forkMode>once</forkMode> |
| <testFailureIgnore>${testFailureIgnore}</testFailureIgnore> |
| <runOrder>alphabetical</runOrder> |
| <redirectTestOutputToFile>false</redirectTestOutputToFile> |
| <argLine>${activemq-surefire-argline}</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.18.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <createChecksum>true</createChecksum> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.6</version> |
| <configuration> |
| <linkXRef>true</linkXRef> |
| <minimumTokens>100</minimumTokens> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>xml-maven-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <configuration /> |
| <executions> |
| <execution> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.6</version> |
| </plugin> |
| <!-- Many examples use it --> |
| <plugin> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>artemis-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${version.org.jacoco.plugin}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <resources> |
| <resource> |
| <directory>${basedir}/target/output/</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <id>enforce-java</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireJavaVersion> |
| <version>1.8.0</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <createChecksum>true</createChecksum> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-help-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.github.sevntu-checkstyle</groupId> |
| <artifactId>sevntu-checkstyle-maven-plugin</artifactId> |
| <version>1.24.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>7.7</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <skip>${skipStyleCheck}</skip> |
| <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation> |
| <suppressionsLocation>${activemq.basedir}/etc/checkstyle-suppressions.xml</suppressionsLocation> |
| <failsOnError>false</failsOnError> |
| <failOnViolation>true</failOnViolation> |
| <consoleOutput>true</consoleOutput> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.5.2</version> |
| <configuration> |
| <excludeFilterFile>${user.dir}/etc/findbugs-exclude.xml</excludeFilterFile> |
| <findbugsXmlOutput>true</findbugsXmlOutput> |
| <xmlOutput>true</xmlOutput> |
| <effort>Max</effort> |
| <failOnError>false</failOnError> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.12</version> |
| <configuration> |
| <reportFile>${activemq.basedir}/ratReport.txt</reportFile> |
| <skip>${skipLicenseCheck}</skip> |
| <excludes> |
| <exclude>.travis.yml</exclude> |
| <exclude>**/footer.html</exclude> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/*.md</exclude> |
| <exclude>etc/ide-settings/**</exclude> |
| <exclude>docs/**/*.json</exclude> |
| <exclude>docs/**/_book/</exclude> |
| <exclude>**/target/</exclude> |
| <exclude>**/META-INF/services/*</exclude> |
| <exclude>**/META-INF/MANIFEST.MF</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.jceks</exclude> |
| <exclude>**/*.jks</exclude> |
| <exclude>**/xml.xsd</exclude> |
| <exclude>**/org/apache/activemq/artemis/utils/json/**</exclude> |
| <exclude>**/org/apache/activemq/artemis/utils/Base64.java</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.editorconfig</exclude> |
| <exclude>**/.checkstyle</exclude> |
| <exclude>**/.factorypath</exclude> |
| <exclude>**/org.apache.activemq.artemis.cfg</exclude> |
| <exclude>**/nb-configuration.xml</exclude> |
| <!-- activemq5 unit tests exclude --> |
| <exclude>**/*.data</exclude> |
| <exclude>**/*.bin</exclude> |
| <exclude>**/src/test/resources/keystore</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.redo</exclude> |
| |
| <!-- NPM files --> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/package.json</exclude> |
| <exclude>**/npm-shrinkwrap.json</exclude> |
| |
| <!-- Build time overlay folder --> |
| <exclude>**/overlays/**</exclude> |
| |
| <!-- things from cmake on the native build --> |
| <exclude>**/CMakeFiles/</exclude> |
| <exclude>**/Makefile</exclude> |
| <exclude>**/cmake_install.cmake</exclude> |
| <exclude>artemis-libaio/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.h</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>3.0.0</version> |
| <extensions>true</extensions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${version.maven.jar.plugin}</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Automatic-Module-Name>artemis.jni</Automatic-Module-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-resources-32</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/output/lib/linux-i686/</outputDirectory> |
| <resources> |
| <resource> |
| <directory>bin/</directory> |
| <includes> |
| <include>libartemis-native-32.so</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-resources-64</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/output/lib/linux-x86_64/</outputDirectory> |
| <resources> |
| <resource> |
| <directory>bin/</directory> |
| <includes> |
| <include>libartemis-native-64.so</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>source</id> |
| <configuration> |
| <descriptor>src/main/assembly/source.xml</descriptor> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.5.2</version> |
| <configuration> |
| <check /> |
| <formats> |
| <format>html</format> |
| <format>xml</format> |
| </formats> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <configuration> |
| <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation> |
| <suppressionsLocation>${activemq.basedir}/etc/checkstyle-suppressions.xml</suppressionsLocation> |
| <failsOnError>false</failsOnError> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.5.2</version> |
| <configuration> |
| <excludeFilterFile>${user.dir}/etc/findbugs-exclude.xml</excludeFilterFile> |
| <effort>Max</effort> |
| <failOnError>false</failOnError> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9</version> |
| <configuration> |
| <minmemory>128m</minmemory> |
| <maxmemory>1024m</maxmemory> |
| <quiet>false</quiet> |
| <!-- XXX FIXME 'aggregate' is deprecated --> |
| <aggregate>true</aggregate> |
| <excludePackageNames>com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.* |
| </excludePackageNames> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.7</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.14.1</version> |
| </plugin> |
| |
| </plugins> |
| </reporting> |
| |
| </project> |