You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Bruce Brouwer (JIRA)" <ji...@apache.org> on 2014/03/08 02:01:57 UTC

[jira] [Reopened] (LOG4J2-558) Create a log4j-bom

     [ https://issues.apache.org/jira/browse/LOG4J2-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Brouwer reopened LOG4J2-558:
----------------------------------


Not quite right. Apply the patch I provided.

This is an example of a pom using the bom

{code:xml}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.bhb.test</groupId>
	<artifactId>log4j-testing</artifactId>
	<version>0.0.1-SNAPSHOT</version>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.apache.logging.log4j</groupId>
				<artifactId>log4j-bom</artifactId>
				<version>2.0-rc2-SNAPSHOT</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
		</dependency>
	</dependencies>
</project>
{code}

> Create a log4j-bom
> ------------------
>
>                 Key: LOG4J2-558
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-558
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Bruce Brouwer
>            Assignee: Matt Sicker
>             Fix For: 2.0-rc2
>
>         Attachments: log4j-bom.patch
>
>
> Create a log4j-bom (Bill of Materials) POM to make it easier for clients to keep consistent versions for multiple log4j artifacts.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org