| <!-- |
| 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> |
| <parent> |
| <groupId>org.apache.logging.rgoers</groupId> |
| <artifactId>log4j2</artifactId> |
| <version>1.99.0-SNAPSHOT</version> |
| </parent> |
| <groupId>org.apache.logging.rgoers</groupId> |
| <artifactId>log4j2-core</artifactId> |
| <packaging>jar</packaging> |
| <name>Log4J2 Core</name> |
| <description>Log4j 2.0 Implementation.</description> |
| <properties> |
| <log4j.parent.dir>${basedir}/..</log4j.parent.dir> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.logging.rgoers</groupId> |
| <artifactId>log4j2-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>1.9.2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>1.9.2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| <version>2.0.8</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.16</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-ext</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockejb</groupId> |
| <artifactId>mockejb</artifactId> |
| <version>0.6-beta2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| <version>1.0</version> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>always</forkMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>org.apache.logging.log4j.core.config.plugins.PluginManager</mainClass> |
| <arguments> |
| <argument>${project.build.outputDirectory}</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>2.6</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>changes-report</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> --> |
| <configLocation>${log4j.parent.dir}/checkstyle.xml</configLocation> |
| <suppressionsLocation>${log4j.parent.dir}/checkstyle-suppressions.xml</suppressionsLocation> |
| <enableRulesSummary>false</enableRulesSummary> |
| <propertyExpansion>basedir=${basedir}</propertyExpansion> |
| <propertyExpansion>licensedir=${log4j.parent.dir}/checkstyle-header.txt</propertyExpansion> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <!-- module link generation is completely broken in the javadoc plugin for a multi-module non-aggregating |
| project --> |
| <detectOfflineLinks>false</detectOfflineLinks> |
| <linksource>true</linksource> |
| <tags> |
| <tag> |
| <name>issue</name> |
| <placement>a</placement> |
| <head>JIRA issue:</head> |
| </tag> |
| <tag> |
| <name>doubt</name> |
| <placement>a</placement> |
| <head>Troublesome:</head> |
| </tag> |
| <tag> |
| <name>compare</name> |
| <placement>a</placement> |
| <head>Compare with:</head> |
| </tag> |
| </tags> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <id>non-aggregate</id> |
| <reports> |
| <report>javadoc</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <threshold>Normal</threshold> |
| <effort>Default</effort> |
| <excludeFilterFile>findbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| <reportSets> |
| <reportSet> |
| <id>non-aggregate</id> |
| <reports> |
| <report>jxr</report> |
| </reports> |
| </reportSet> |
| <reportSet> |
| <id>aggregate</id> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <targetJdk>1.5</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.2</version> |
| <reportSets> |
| <reportSet> |
| <!-- Disabled at it kills the site generation via a NoClassDefFoundError --> |
| <reports/> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| <profiles> |
| <profile> |
| <!-- http://www.yourkit.com/docs/80/help/agent.jsp --> |
| <id>yourkit</id> |
| |
| <properties> |
| <yourkit.home>/Applications/YourKit_Java_Profiler_8.0.17.app</yourkit.home> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>com.yourkit</groupId> |
| <artifactId>yjp-controller-api-redist</artifactId> |
| <version>8.0.17</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> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |
| |