[maven-release-plugin] prepare release log4j-2.1
diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml
index e531794..a816ae2 100644
--- a/log4j-1.2-api/pom.xml
+++ b/log4j-1.2-api/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-1.2-api</artifactId>
diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml
index 9761bf2..a24e2a0 100644
--- a/log4j-api/pom.xml
+++ b/log4j-api/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-api</artifactId>
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index f2eb6f8..dff4f74 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -26,7 +26,7 @@
<description>Apache Log4j Bill of Materials</description>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-bom</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
@@ -34,61 +34,61 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Core Log4j -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Legacy Log4j 1.2 API -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Commons Logging Compatibility API -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Apache Flume Bridge -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-flume-ng</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- JSP Tag Library -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-taglib</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- JMX GUI -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jmx-gui</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- SLF4J Compatibility API -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Web Application Support -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-web</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- NoSQL Appender Plugins -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-nosql</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</dependency>
<!-- Streaming API -->
<dependency>
@@ -111,4 +111,8 @@
</plugin>
</plugins>
</build>
+
+ <scm>
+ <tag>log4j-2.1</tag>
+ </scm>
</project>
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index 49ffd82..a7e699e 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-core</artifactId>
diff --git a/log4j-distribution/pom.xml b/log4j-distribution/pom.xml
index d41c9c0..06b7ff1 100644
--- a/log4j-distribution/pom.xml
+++ b/log4j-distribution/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-distribution</artifactId>
diff --git a/log4j-flume-ng/pom.xml b/log4j-flume-ng/pom.xml
index 95a3383..250a614 100644
--- a/log4j-flume-ng/pom.xml
+++ b/log4j-flume-ng/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-flume-ng</artifactId>
diff --git a/log4j-iostreams/pom.xml b/log4j-iostreams/pom.xml
index d97c918..1c1db4b 100644
--- a/log4j-iostreams/pom.xml
+++ b/log4j-iostreams/pom.xml
@@ -20,11 +20,11 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-iostreams</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<packaging>jar</packaging>
<name>Apache Log4j Streaming Interface</name>
<description>The Apache Log4j streams to log event converters</description>
diff --git a/log4j-jcl/pom.xml b/log4j-jcl/pom.xml
index d76f9f5..33724c2 100644
--- a/log4j-jcl/pom.xml
+++ b/log4j-jcl/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-jcl</artifactId>
diff --git a/log4j-jmx-gui/pom.xml b/log4j-jmx-gui/pom.xml
index b4e8551..1264785 100644
--- a/log4j-jmx-gui/pom.xml
+++ b/log4j-jmx-gui/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-jmx-gui</artifactId>
diff --git a/log4j-jul/pom.xml b/log4j-jul/pom.xml
index 8a98ed2..8e5a704 100644
--- a/log4j-jul/pom.xml
+++ b/log4j-jul/pom.xml
@@ -16,13 +16,11 @@
~ 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/xsd/maven-4.0.0.xsd">
+<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">
<parent>
<artifactId>log4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/log4j-nosql/pom.xml b/log4j-nosql/pom.xml
index 0df1de7..0678f04 100644
--- a/log4j-nosql/pom.xml
+++ b/log4j-nosql/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>log4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml
index 8e270ec..2c636ce 100644
--- a/log4j-perf/pom.xml
+++ b/log4j-perf/pom.xml
@@ -15,13 +15,12 @@
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/xsd/maven-4.0.0.xsd">
+<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>
<parent>
<artifactId>log4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
@@ -158,8 +157,7 @@
<minimizeJar>false</minimizeJar>
<finalName>${uberjar.name}</finalName>
<transformers>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.openjdk.jmh.Main</mainClass>
</transformer>
</transformers>
diff --git a/log4j-samples/flume-common/pom.xml b/log4j-samples/flume-common/pom.xml
index e4bf6d2..acbd51e 100644
--- a/log4j-samples/flume-common/pom.xml
+++ b/log4j-samples/flume-common/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>log4j-samples</artifactId>
<groupId>org.apache.logging.log4j.samples</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</parent>
<artifactId>log4j-samples-flume-common</artifactId>
<packaging>jar</packaging>
diff --git a/log4j-samples/flume-embedded/pom.xml b/log4j-samples/flume-embedded/pom.xml
index 25418c6..e0dba95 100644
--- a/log4j-samples/flume-embedded/pom.xml
+++ b/log4j-samples/flume-embedded/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>log4j-samples</artifactId>
<groupId>org.apache.logging.log4j.samples</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</parent>
<artifactId>log4j-samples-flume-embedded</artifactId>
<packaging>war</packaging>
diff --git a/log4j-samples/flume-remote/pom.xml b/log4j-samples/flume-remote/pom.xml
index 6dc18bd..7eb62a1 100644
--- a/log4j-samples/flume-remote/pom.xml
+++ b/log4j-samples/flume-remote/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>log4j-samples</artifactId>
<groupId>org.apache.logging.log4j.samples</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</parent>
<artifactId>log4j-samples-flume-remote</artifactId>
<packaging>war</packaging>
diff --git a/log4j-samples/pom.xml b/log4j-samples/pom.xml
index e3af67a..43ebbbb 100644
--- a/log4j-samples/pom.xml
+++ b/log4j-samples/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.apache.logging.log4j.samples</groupId>
diff --git a/log4j-slf4j-impl/pom.xml b/log4j-slf4j-impl/pom.xml
index ffb71af..1c8d501 100644
--- a/log4j-slf4j-impl/pom.xml
+++ b/log4j-slf4j-impl/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-slf4j-impl</artifactId>
diff --git a/log4j-taglib/pom.xml b/log4j-taglib/pom.xml
index 0995cd4..950aeea 100644
--- a/log4j-taglib/pom.xml
+++ b/log4j-taglib/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-taglib</artifactId>
diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml
index ed63f40..33f3e50 100644
--- a/log4j-to-slf4j/pom.xml
+++ b/log4j-to-slf4j/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-to-slf4j</artifactId>
diff --git a/log4j-web/pom.xml b/log4j-web/pom.xml
index 86b2c70..26eca66 100644
--- a/log4j-web/pom.xml
+++ b/log4j-web/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>log4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/pom.xml b/pom.xml
index f50d160..e778882 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<artifactId>log4j</artifactId>
<packaging>pom</packaging>
<name>Apache Log4j 2</name>
- <version>2.1-SNAPSHOT</version>
+ <version>2.1</version>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
@@ -145,7 +145,7 @@
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/logging-log4j2.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary</url>
- <tag>HEAD</tag>
+ <tag>log4j-2.1</tag>
</scm>
<organization>
<name>Apache Software Foundation</name>
@@ -730,7 +730,7 @@
<maxmem>1024</maxmem>
<compilerArguments>
<Xmaxwarns>10000</Xmaxwarns>
- <Xlint/>
+ <Xlint />
</compilerArguments>
</configuration>
</plugin>