| <?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.logging.log4j</groupId> |
| <artifactId>log4j-tools</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache Log4j 2 Tools</name> |
| <version>3.0.0-SNAPSHOT</version> |
| <parent> |
| <groupId>org.apache.logging</groupId> |
| <artifactId>logging-parent</artifactId> |
| <version>1</version> |
| </parent> |
| <description>Apache Log4j 2 Tools</description> |
| <url>https://logging.apache.org/log4j/2.x/</url> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/LOG4J2</url> |
| </issueManagement> |
| <inceptionYear>1999</inceptionYear> |
| <developers> |
| <developer> |
| <id>rgoers</id> |
| <name>Ralph Goers</name> |
| <email>rgoers@apache.org</email> |
| <organization>Nextiva</organization> |
| <roles> |
| <role>PMC Chair</role> |
| </roles> |
| <timezone>America/Phoenix</timezone> |
| </developer> |
| <developer> |
| <id>ggregory</id> |
| <name>Gary Gregory</name> |
| <email>ggregory@apache.org</email> |
| <organization>Rocket Software</organization> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/Los_Angeles</timezone> |
| </developer> |
| <developer> |
| <id>sdeboy</id> |
| <name>Scott Deboy</name> |
| <email>sdeboy@apache.org</email> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/Los_Angeles</timezone> |
| </developer> |
| <developer> |
| <id>rpopma</id> |
| <name>Remko Popma</name> |
| <email>rpopma@apache.org</email> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>Asia/Tokyo</timezone> |
| <properties> |
| <picUrl>http://people.apache.org/~rpopma/img/profilepic.jpg</picUrl> |
| </properties> |
| </developer> |
| <developer> |
| <id>nickwilliams</id> |
| <name>Nick Williams</name> |
| <email>nickwilliams@apache.org</email> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/Chicago</timezone> |
| </developer> |
| <developer> |
| <id>mattsicker</id> |
| <name>Matt Sicker</name> |
| <email>mattsicker@apache.org</email> |
| <organization>SPR Consulting</organization> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/Chicago</timezone> |
| </developer> |
| <developer> |
| <id>bbrouwer</id> |
| <name>Bruce Brouwer</name> |
| <email>bruce.brouwer@gmail.com</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>America/Detroit</timezone> |
| </developer> |
| <developer> |
| <id>mikes</id> |
| <name>Mikael Ståldal</name> |
| <email>mikes@apache.org</email> |
| <organization>Magine TV</organization> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>Europe/Stockholm</timezone> |
| </developer> |
| </developers> |
| <!-- Contributors --> |
| <contributors> |
| <contributor> |
| <name>Murad Ersoy</name> |
| <email>muradersoy@gmail.com</email> |
| <url>https://www.behance.net/muradersoy</url> |
| <roles> |
| <role>Illustrator and Designer</role> |
| <role>created the new Log4j 2 logo.</role> |
| </roles> |
| <timezone>Europe/Istanbul</timezone> |
| <properties> |
| <picUrl>https://mir-s3-cdn-cf.behance.net/user/138/403dcf1521581.54d67f8fb01f7.jpg</picUrl> |
| </properties> |
| </contributor> |
| </contributors> |
| <mailingLists> |
| <mailingList> |
| <name>log4j-user</name> |
| <subscribe>log4j-user-subscribe@logging.apache.org</subscribe> |
| <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe> |
| <post>log4j-user@logging.apache.org</post> |
| <archive>https://lists.apache.org/list.html?log4j-user@logging.apache.org</archive> |
| <otherArchives> |
| <otherArchive>http://mail-archives.apache.org/mod_mbox/logging-log4j-user/</otherArchive> |
| <otherArchive>http://marc.info/?l=log4j-user</otherArchive> |
| <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive> |
| </otherArchives> |
| </mailingList> |
| <mailingList> |
| <name>log4j-dev</name> |
| <subscribe>log4j-dev-subscribe@logging.apache.org</subscribe> |
| <unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe> |
| <post>log4j-dev@logging.apache.org</post> |
| <archive>https://lists.apache.org/list.html?log4j-dev@logging.apache.org</archive> |
| <otherArchives> |
| <otherArchive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</otherArchive> |
| <otherArchive>http://marc.info/?l=log4j-dev</otherArchive> |
| <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive> |
| </otherArchives> |
| </mailingList> |
| </mailingLists> |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j-tools.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j-tools.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf?p=logging-log4j-tools.git;a=summary</url> |
| <tag>log4j-${Log4jReleaseVersion}</tag> |
| </scm> |
| <properties> |
| <!-- make sure to update these for each release! --> |
| <log4jParentDir>${basedir}</log4jParentDir> |
| <Log4jReleaseVersion>2.10.0</Log4jReleaseVersion> |
| <!--<Log4jReleaseManager>Ralph Goers</Log4jReleaseManager>--> |
| <!--<Log4jReleaseKey>B3D8E1BA</Log4jReleaseKey>--> |
| <Log4jReleaseManager>Matt Sicker</Log4jReleaseManager> |
| <Log4jReleaseKey>FA1C814D</Log4jReleaseKey> |
| <!-- note that any properties you want available in velocity templates must not use periods! --> |
| <jackson2Version>2.8.7</jackson2Version> |
| <compiler.plugin.version>3.6.0</compiler.plugin.version> |
| <pmd.plugin.version>3.7</pmd.plugin.version> |
| <findbugs.plugin.version>3.0.4</findbugs.plugin.version> |
| <changes.plugin.version>2.12.1</changes.plugin.version> |
| <javadoc.plugin.version>2.10.4</javadoc.plugin.version> |
| <!-- surefire.plugin.version 2.18 yields http://jira.codehaus.org/browse/SUREFIRE-1121, which is fixed in 2.18.1 --> |
| <!-- surefire.plugin.version 2.19 yields https://issues.apache.org/jira/browse/SUREFIRE-1193. --> |
| <surefire.plugin.version>2.19.1</surefire.plugin.version> |
| <failsafe.plugin.version>2.19.1</failsafe.plugin.version> |
| <checkstyle.plugin.version>2.17</checkstyle.plugin.version> |
| <rat.plugin.version>0.12</rat.plugin.version> |
| <pdf.plugin.version>1.2</pdf.plugin.version> |
| <cobertura.plugin.version>2.7</cobertura.plugin.version> |
| <jacoco.plugin.version>0.7.7.201606060606</jacoco.plugin.version> |
| <release.plugin.version>2.5.3</release.plugin.version> |
| <scm.plugin.version>1.9.5</scm.plugin.version> |
| <jxr.plugin.version>2.5</jxr.plugin.version> |
| <clirr.plugin.version>2.8</clirr.plugin.version> |
| <site.plugin.version>3.4</site.plugin.version> |
| <remote.resources.plugin.version>1.5</remote.resources.plugin.version> |
| <manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile> |
| <maven.compiler.source>1.7</maven.compiler.source> |
| <maven.compiler.target>1.7</maven.compiler.target> |
| <docLabel>Site Documentation</docLabel> |
| <projectDir /> |
| <commonsLoggingVersion>1.2</commonsLoggingVersion> |
| <osgi.api.version>4.3.1</osgi.api.version> |
| <!-- Version 5.15.0 requires Java 8 --> |
| <activemq.version>5.14.5</activemq.version> |
| <!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level --> |
| <minSeverity>info</minSeverity> |
| <jctoolsVersion>1.2.1</jctoolsVersion> |
| <mockitoVersion>2.2.7</mockitoVersion> |
| <argLine>-Xms256m -Xmx1024m</argLine> |
| </properties> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>apache</id> |
| <url>https://repository.apache.org/content/repositories/releases/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson2Version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-xml</artifactId> |
| <version>${jackson2Version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.spec.javax.jms</groupId> |
| <artifactId>jboss-jms-api_1.1_spec</artifactId> |
| <version>1.0.1.Final</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-broker</artifactId> |
| <version>${activemq.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockitoVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <!-- Using version 2.5.4 causes Jenkins to get compiler errors in log4j-perf. --> |
| <version>3.2.0</version> |
| <inherited>true</inherited> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| <phase>process-classes</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>${changes.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>${release.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-plugin</artifactId> |
| <version>${scm.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${javadoc.plugin.version}</version> |
| <configuration> |
| <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br /> |
| Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, |
| and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom> |
| <additionalparam>${javadoc.opts}</additionalparam> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${pmd.plugin.version}</version> |
| </plugin> |
| <!-- some nice default compiler options --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${compiler.plugin.version}</version> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| <encoding>UTF-8</encoding> |
| <fork>true</fork> |
| <meminitial>256</meminitial> |
| <maxmem>1024</maxmem> |
| <compilerArguments> |
| <Xmaxwarns>10000</Xmaxwarns> |
| <Xlint /> |
| </compilerArguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${failsafe.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.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-jxr-plugin</artifactId> |
| <version>${jxr.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| <version>${clirr.plugin.version}</version> |
| <configuration> |
| <minSeverity>${minSeverity}</minSeverity> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>4.3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>default-report</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${manifestfile}</manifestFile> |
| <manifestEntries> |
| <Specification-Title>${project.name}</Specification-Title> |
| <Specification-Version>${project.version}</Specification-Version> |
| <Specification-Vendor>${project.organization.name}</Specification-Vendor> |
| <Implementation-Title>${project.name}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> |
| <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> |
| <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK> |
| <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <id>copy-sitecss</id> |
| <!-- fetch site.xml before creating site documentation --> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/site</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${log4jParentDir}/src/site/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| <configuration> |
| <systemPropertyVariables> |
| <java.awt.headless>true</java.awt.headless> |
| </systemPropertyVariables> |
| <forkCount>2C</forkCount> |
| <reuseForks>true</reuseForks> |
| <excludes> |
| <exclude>${log4j.skip.test1}</exclude> |
| <exclude>${log4j.skip.test2}</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${failsafe.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>integration-tests</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <systemPropertyVariables> |
| <java.awt.headless>true</java.awt.headless> |
| </systemPropertyVariables> |
| <argLine>-Xms256m -Xmx1024m</argLine> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>${site.plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh</artifactId> |
| <version>2.10</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <!-- only build English site even on other language OS --> |
| <locales>en</locales> |
| <!-- Exclude the navigation file for Maven 1 sites |
| and the changes file used by the changes-plugin, |
| as they interfere with the site generation. --> |
| <moduleExcludes> |
| <xdoc>navigation.xml,changes.xml</xdoc> |
| </moduleExcludes> |
| <templateDirectory>${log4jParentDir}/src/site</templateDirectory> |
| <template>site.vm</template> |
| </configuration> |
| </plugin> |
| <!-- <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>clean</id> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> --> |
| <!-- We need to disable the standard ASF configuration to be able to publish our own notice and license files --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <skip>true</skip> |
| <resourceBundles /> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pdf-plugin</artifactId> |
| <version>${pdf.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>pdf</id> |
| <phase>site</phase> |
| <goals> |
| <goal>pdf</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.reporting.outputDirectory}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| <!-- RAT report --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${rat.plugin.version}</version> |
| <configuration> |
| <excludes> |
| <!-- Matches other RAT configurations in this POM --> |
| <exclude>src/main/resources/META-INF/services/**/*</exclude> |
| <!-- IntelliJ files --> |
| <exclude>.idea/**/*</exclude> |
| <exclude>src/test/resources/**/*</exclude> |
| <!-- IDE settings imports --> |
| <exclude>src/ide/**</exclude> |
| <!-- does it even make sense to apply a license to a GPG signature? --> |
| <exclude>**/*.asc</exclude> |
| <!-- jQuery is MIT-licensed, but RAT can't figure it out --> |
| <exclude>src/site/resources/js/jquery.js</exclude> |
| <exclude>src/site/resources/js/jquery.min.js</exclude> |
| <!-- Generated files --> |
| <exclude>log4j-distribution/target/**/*</exclude> |
| <exclude>log4j-distribution/.project</exclude> |
| <exclude>log4j-distribution/.settings/**</exclude> |
| <exclude>velocity.log</exclude> |
| <!-- Other --> |
| <exclude>felix-cache/**</exclude> |
| <exclude>RELEASE-NOTES.md</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <!-- DOAP (RDF) metadata generation --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-doap-plugin</artifactId> |
| <version>1.2</version> |
| <configuration> |
| <doapOptions> |
| <programmingLanguage>Java</programmingLanguage> |
| <category>library</category> |
| </doapOptions> |
| <asfExtOptions> |
| <charter> |
| The Apache Logging Services Project creates and maintains open-source software related to the logging of |
| application behavior and released at no charge to the public. |
| </charter> |
| </asfExtOptions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>site</id> |
| <phase>site</phase> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <!-- Changes report --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>${changes.plugin.version}</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>changes-report</report> |
| <report>jira-report</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <statusIds>Resolved, Closed</statusIds> |
| <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames> |
| <useJql>true</useJql> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.8.1</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>index</report> |
| <report>dependencies</report> |
| <report>dependency-info</report> |
| <report>dependency-convergence</report> |
| <report>dependency-management</report> |
| <report>project-team</report> |
| <report>mailing-list</report> |
| <report>issue-tracking</report> |
| <report>license</report> |
| <report>scm</report> |
| <report>summary</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <!-- you'd think these would be the defaults, right? --> |
| <customBundle>${project.basedir}/src/site/custom/project-info-report.properties</customBundle> |
| <webAccessUrl>${project.scm.url}</webAccessUrl> |
| <anonymousConnection>${project.scm.connection}</anonymousConnection> |
| <developerConnection>${project.scm.developerConnection}</developerConnection> |
| <scmTag>log4j-${Log4jReleaseVersion}</scmTag> |
| </configuration> |
| </plugin> |
| <!-- Surefire report --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| <reportSets> |
| <reportSet> |
| <id>integration-tests</id> |
| <reports> |
| <report>failsafe-report-only</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <!-- RAT report --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${rat.plugin.version}</version> |
| <configuration> |
| <excludes> |
| <!-- Matches other RAT configurations in this POM --> |
| <exclude>src/main/resources/META-INF/services/**/*</exclude> |
| <!-- IntelliJ files --> |
| <exclude>.idea/**/*</exclude> |
| <exclude>src/test/resources/**/*</exclude> |
| <!-- IDE settings imports --> |
| <exclude>src/ide/**</exclude> |
| <!-- does it even make sense to apply a license to a GPG signature? --> |
| <exclude>**/*.asc</exclude> |
| <!-- jQuery is MIT-licensed, but RAT can't figure it out --> |
| <exclude>src/site/resources/js/jquery.js</exclude> |
| <exclude>src/site/resources/js/jquery.min.js</exclude> |
| <!-- Generated files --> |
| <exclude>log4j-distribution/target/**/*</exclude> |
| <exclude>log4j-distribution/.project</exclude> |
| <exclude>log4j-distribution/.settings/**</exclude> |
| <exclude>velocity.log</exclude> |
| <!-- Other --> |
| <exclude>felix-cache/**</exclude> |
| <exclude>RELEASE-NOTES.txt</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| <distributionManagement> |
| <downloadUrl>https://logging.apache.org/log4j/2.x/download.html</downloadUrl> |
| <!-- site is only included to make maven-site-plugin stop complaining --> |
| <site> |
| <id>www.example.com</id> |
| <url>scp://www.example.com/www/docs/project/</url> |
| </site> |
| </distributionManagement> |
| <modules> |
| <module>log4j-server</module> |
| </modules> |
| <profiles> |
| <profile> |
| <id>Windows</id> |
| <activation> |
| <os> |
| <family>Windows</family> |
| </os> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-server</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <argLine>-server</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>pdf</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pdf-plugin</artifactId> |
| <version>${pdf.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>pdf</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>pdf</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.reporting.outputDirectory}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release-notes</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>${changes.plugin.version}</version> |
| <configuration> |
| <template>announcement.vm</template> |
| <templateDirectory>src/changes</templateDirectory> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <announcementDirectory>.</announcementDirectory> |
| <announcementFile>RELEASE-NOTES.txt</announcementFile> |
| <issueManagementSystems> |
| <issueManagementSystem>changes.xml</issueManagementSystem> |
| <!--<issueManagementSystem>JIRA</issueManagementSystem> --> |
| </issueManagementSystems> |
| <version>${Log4jReleaseVersion}</version> |
| <announceParameters> |
| <releaseVersion>${Log4jReleaseVersion}</releaseVersion> |
| <releaseCount>${Log4jReleaseCount}</releaseCount> |
| </announceParameters> |
| <useJql>true</useJql> |
| </configuration> |
| <executions> |
| <execution> |
| <id>create-release-notes</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>announcement-generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>apache-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>source-release-assembly</id> |
| <configuration> |
| <skipAssembly>true</skipAssembly> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <modules> |
| <module>log4j-distribution</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>rat</id> |
| <build> |
| <plugins> |
| <!-- RAT report --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${rat.plugin.version}</version> |
| <configuration> |
| <excludes> |
| <!-- Matches other RAT configurations in this POM --> |
| <exclude>src/main/resources/META-INF/services/**/*</exclude> |
| <!-- IntelliJ files --> |
| <exclude>.idea/**/*</exclude> |
| <exclude>src/test/resources/**/*</exclude> |
| <!-- IDE settings imports --> |
| <exclude>src/ide/**</exclude> |
| <!-- does it even make sense to apply a license to a GPG signature? --> |
| <exclude>**/*.asc</exclude> |
| <!-- jQuery is MIT-licensed, but RAT can't figure it out --> |
| <exclude>src/site/resources/js/jquery.js</exclude> |
| <exclude>src/site/resources/js/jquery.min.js</exclude> |
| <!-- Generated files --> |
| <exclude>log4j-distribution/target/**/*</exclude> |
| <exclude>log4j-distribution/.project</exclude> |
| <exclude>log4j-distribution/.settings/**</exclude> |
| <exclude>velocity.log</exclude> |
| <!-- Other --> |
| <exclude>felix-cache/**</exclude> |
| <exclude>RELEASE-NOTES.md</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <!-- http://www.yourkit.com/docs/80/help/agent.jsp --> |
| <id>yourkit-mac</id> |
| <!-- |
| <activation> |
| <os> |
| <family>Mac</family> |
| </os> |
| <file> |
| <exists>${yourkit.home}/bin/mac/libyjpagent.jnilib</exists> |
| </file> |
| </activation> |
| --> |
| <properties> |
| <yourkit.home>/Applications/YJP.app</yourkit.home> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>com.yourkit</groupId> |
| <artifactId>yjp-controller-api-redist</artifactId> |
| <version>2013</version> |
| <scope>system</scope> |
| <systemPath>${yourkit.home}/lib/yjp-controller-api-redist.jar</systemPath> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-agentpath:"${yourkit.home}/bin/mac/libyjpagent.jnilib"</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <argLine>-agentpath:"${yourkit.home}/bin/mac/libyjpagent.jnilib"</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>jdk7</id> |
| <activation> |
| <jdk>1.7</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:MaxPermSize=512m</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:MaxPermSize=512m</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>java8-doclint-disabled</id> |
| <activation> |
| <jdk>[1.8,)</jdk> |
| </activation> |
| <properties> |
| <javadoc.opts>-Xdoclint:none</javadoc.opts> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |