| <?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</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache Log4j 2</name> |
| <version>2.0-beta9</version> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>9</version> |
| </parent> |
| <description>Apache Log4j 2</description> |
| <url>http://logging.apache.org/log4j/2.x/</url> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://issues.apache.org/jira/browse/LOG4J2</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Gump</system> |
| <url>http://vmgump.apache.org/gump/public/logging-log4j-20/logging-log4j-20/index.html</url> |
| </ciManagement> |
| <inceptionYear>1999</inceptionYear> |
| <developers> |
| <developer> |
| <id>rgoers</id> |
| <name>Ralph Goers</name> |
| <email>rgoers@apache.org</email> |
| <organization>Intuit Financial Services</organization> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/Los_Angeles</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/New_York</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>Committer</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>Committer</role> |
| </roles> |
| <timezone>America/Chicago</timezone> |
| </developer> |
| </developers> |
| <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>http://mail-archives.apache.org/mod_mbox/logging-log4j-user/</archive> |
| <otherArchives> |
| <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>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive> |
| <otherArchives> |
| <otherArchive>http://marc.info/?l=log4j-dev</otherArchive> |
| <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive> |
| </otherArchives> |
| </mailingList> |
| </mailingLists> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0-beta9</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0-beta9</developerConnection> |
| <url>http://svn.apache.org/viewvc/logging/log4j/log4j2/tags/log4j-2.0-beta9</url> |
| </scm> |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org</url> |
| </organization> |
| <properties> |
| <slf4j.version>1.7.5</slf4j.version> |
| <logback.version>1.0.13</logback.version> |
| <log4jParentDir>${basedir}</log4jParentDir> |
| <Log4jReleaseVersion>2.0-beta9</Log4jReleaseVersion> |
| <Log4jReleaseCount>eleventh</Log4jReleaseCount> |
| <jackson1.version>1.9.13</jackson1.version> |
| <jackson2.version>2.2.2</jackson2.version> |
| <flumeVersion>1.3.1</flumeVersion> |
| <disruptor.version>3.2.0</disruptor.version> |
| <!-- Configuration properties for the OSGi maven-bundle-plugin --> |
| <osgi.symbolicName>org.apache.logging.${project.artifactId}</osgi.symbolicName> |
| <osgi.export>org.apache.logging.log4j.*;version=${project.version};-noimport:=true</osgi.export> |
| <osgi.import>*</osgi.import> |
| <osgi.dynamicImport /> |
| <osgi.private /> |
| <pmd.plugin.version>3.0.1</pmd.plugin.version> |
| <changes.plugin.version>2.9</changes.plugin.version> |
| <javadoc.plugin.version>2.9.1</javadoc.plugin.version> |
| <surefire.plugin.version>2.16</surefire.plugin.version> |
| <rat.plugin.version>0.8</rat.plugin.version> |
| <pdf.plugin.version>1.2</pdf.plugin.version> |
| <cobertura.plugin.version>2.5.2</cobertura.plugin.version> |
| <manifestfile>target/osgi/MANIFEST.MF</manifestfile> |
| <maven.compile.source>1.6</maven.compile.source> |
| <maven.compile.target>1.6</maven.compile.target> |
| <docLabel>Site Documentation</docLabel> |
| <projectDir /> |
| </properties> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>apache</id> |
| <url>https://repository.apache.org/content/repositories/releases/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-ext</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <type>test-jar</type> |
| <version>${logback.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.osgi</groupId> |
| <artifactId>org.eclipse.osgi</artifactId> |
| <version>3.6.0.v20100517</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>4.2.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>3.1.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <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> |
| </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> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sleepycat</groupId> |
| <artifactId>je</artifactId> |
| <version>5.0.73</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>core</artifactId> |
| <version>4.3.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.fusesource.jansi</groupId> |
| <artifactId>jansi</artifactId> |
| <version>1.11</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-sdk</artifactId> |
| <version>${flumeVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-core</artifactId> |
| <version>${flumeVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume</groupId> |
| <artifactId>flume-ng-node</artifactId> |
| <version>${flumeVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.flume.flume-ng-channels</groupId> |
| <artifactId>flume-file-channel</artifactId> |
| <version>${flumeVersion}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api-2.5</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <version>1.1.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson1.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson1.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson2.version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson2.version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.mail</groupId> |
| <artifactId>javax.mail</artifactId> |
| <version>1.5.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockejb</groupId> |
| <artifactId>mockejb</artifactId> |
| <version>0.6-beta2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| <version>${disruptor.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>1.3.173</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.jpa</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>javax.persistence</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mongodb</groupId> |
| <artifactId>mongo-java-driver</artifactId> |
| <version>2.11.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.lightcouch</groupId> |
| <artifactId>lightcouch</artifactId> |
| <version>0.0.6</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <inherited>true</inherited> |
| </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>2.2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.10</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> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${pmd.plugin.version}</version> |
| </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> |
| <version>3.1</version> |
| <configuration> |
| <source>${maven.compile.source}</source> |
| <target>${maven.compile.target}</target> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| <compilerArguments> |
| <Xmaxwarns>10000</Xmaxwarns> |
| <Xlint /> |
| </compilerArguments> |
| </configuration> |
| </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.compile.source}</X-Compile-Source-JDK> |
| <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.5</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> |
| <forkMode>always</forkMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <!-- Do not upgrade to versions 3.1, 3.2 or 3.3. 3.2 & 3.3 cause a NullPointerException in site:stage-deploy |
| and the site is broken in all of them. See http://jira.codehaus.org/browse/MSITE-695 --> |
| <version>3.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh</artifactId> |
| <version>2.4</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> --> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <!-- |
| dummy entry to stop bundle plugin from picking up jar config and reporting |
| WARNING: Duplicate name in Manifest |
| See http://markmail.org/message/mpkl24wk3jrjhhjg |
| --> |
| <archive> |
| <forced>true</forced> |
| </archive> |
| <excludeDependencies>true</excludeDependencies> |
| <manifestLocation>target/osgi</manifestLocation> |
| <instructions> |
| <!-- stops the "uses" clauses being added to "Export-Package" manifest entry --> |
| <_nouses>true</_nouses> |
| <!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd --> |
| <_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME,JAVA_1_7_HOME,JAVA_1_8_HOME,JAVA_1_9_HOME</_removeheaders> |
| <Bundle-SymbolicName>${osgi.symbolicName}</Bundle-SymbolicName> |
| <Export-Package>${osgi.export}</Export-Package> |
| <Private-Package>${osgi.private}</Private-Package> |
| <Import-Package>${osgi.import}</Import-Package> |
| <DynamicImport-Package>${osgi.dynamicImport}</DynamicImport-Package> |
| <Bundle-DocURL>${project.url}</Bundle-DocURL> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</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> |
| </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> |
| </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.7</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>index</report> |
| <report>dependencies</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> |
| <webAccessUrl>https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk${projectDir}</webAccessUrl> |
| <anonymousConnection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk${projectDir}</anonymousConnection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk${projectDir}</developerConnection> |
| </configuration> |
| </plugin> |
| <!-- Surefire report --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| </plugin> |
| |
| <!-- RAT report --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${rat.plugin.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>src/main/resources/META-INF/services/**/*</exclude> |
| <exclude>.idea/**/*</exclude> |
| <exclude>src/test/resources/**/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| <repositories> |
| <repository> |
| <id>oracleReleases</id> |
| <name>Oracle Released Java Packages</name> |
| <url>http://download.oracle.com/maven</url> |
| <layout>default</layout> |
| </repository> |
| </repositories> |
| <distributionManagement> |
| <repository> |
| <id>apache.releases.https</id> |
| <name>Apache Release Distribution Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>apache.snapshots.https</id> |
| <name>Apache Development Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <site> |
| <id>apache.website</id> |
| <url>scp://people.apache.org/www/logging.apache.org/log4j/2.0</url> |
| </site> |
| </distributionManagement> |
| <modules> |
| <module>log4j-api</module> |
| <module>log4j-core</module> |
| <module>log4j-osgi</module> |
| <module>log4j-1.2-api</module> |
| <module>log4j-slf4j-impl</module> |
| <module>log4j-to-slf4j</module> |
| <module>log4j-jcl</module> |
| <module>log4j-flume-ng</module> |
| <module>log4j-taglib</module> |
| <module>log4j-jmx-gui</module> |
| <module>log4j-samples</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> |
| </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> |
| <outputDirectory>.</outputDirectory> |
| <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> |
| <exclude>dist/target/.plxarc</exclude> |
| <exclude>dist/target/*.asc</exclude> |
| <exclude>dist/target/**/*</exclude> |
| <exclude>src/main/resources/META-INF/services/**/*</exclude> |
| <exclude>.idea/**/*</exclude> |
| <exclude>src/test/resources/**/*</exclude> |
| <exclude>src/site/resources/**/*</exclude> |
| <exclude>src/site/site.vm</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |