[logging-log4j-scala] Git Push Summary
Repository: logging-log4j-scala Updated Tags: refs/tags/0.2 [deleted] 8ef7ea212
[logging-log4j-scala] Git Push Summary
Repository: logging-log4j-scala Updated Tags: refs/tags/0.2 [created] 8ef7ea212
logging-log4j-scala git commit: Fix typo
Repository: logging-log4j-scala Updated Branches: refs/heads/sbt d9a1f89b8 -> 8ef7ea212 Fix typo Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/8ef7ea21 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/8ef7ea21 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/8ef7ea21 Branch: refs/heads/sbt Commit: 8ef7ea212e95137b72b40279ee75f2501174082d Parents: d9a1f89 Author: Matt SickerAuthored: Sat Mar 31 22:15:29 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 22:15:29 2018 -0500 -- src/asciidoctor/download.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/8ef7ea21/src/asciidoctor/download.adoc -- diff --git a/src/asciidoctor/download.adoc b/src/asciidoctor/download.adoc index 2d11fc9..083c980 100644 --- a/src/asciidoctor/download.adoc +++ b/src/asciidoctor/download.adoc @@ -36,7 +36,7 @@ The checksum and signature are links to the originals on the main distribution s |https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.tar.gz[apache-log4j-scala-{project-version}-src.tar.gz] |https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.tar.gz.asc[apache-log4j-scala-{project-version}-src.tar.gz.asc] -|Apache Log4j Scala API binary (zip) +|Apache Log4j Scala API source (zip) |https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.zip[apache-log4j-scala-{project-version}-src.zip] |https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.zip.asc[apache-log4j-scala-{project-version}-src.zip.asc] |===
logging-log4j-scala git commit: Add links on homepage
Repository: logging-log4j-scala Updated Branches: refs/heads/sbt cead38950 -> d9a1f89b8 Add links on homepage Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/d9a1f89b Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/d9a1f89b Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/d9a1f89b Branch: refs/heads/sbt Commit: d9a1f89b87178674e667fdd1dfe446969da3a694 Parents: cead389 Author: Matt SickerAuthored: Sat Mar 31 20:31:37 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 20:31:37 2018 -0500 -- src/asciidoctor/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/d9a1f89b/src/asciidoctor/index.adoc -- diff --git a/src/asciidoctor/index.adoc b/src/asciidoctor/index.adoc index 319b5ee..4ded4de 100644 --- a/src/asciidoctor/index.adoc +++ b/src/asciidoctor/index.adoc @@ -17,9 +17,9 @@ = Apache Log4j Scala API :toc: left -Log4j Scala API is a Scala logging facade based on Log4j 2. +Log4j Scala API is a https://www.scala-lang.org/[Scala] logging facade based on https://logging.apache.org/log4j/2.x/[Log4j 2]. Support for Scala versions 2.10, 2.11, and 2.12 are provided, and experimental support for pre-release versions of 2.13 is also provided. -Log4j Scala API uses Log4j 2.x as its logging backend by default, but this can also be replaced with compatible libraries (e.g., Logback). +Log4j Scala API uses Log4j 2.x as its logging backend by default, but this can also be replaced with compatible libraries (e.g., https://logback.qos.ch/[Logback]). While this library is not required to use Log4j API in Scala, it does provide idiomatic Scala APIs which are friendlier to use in Scala programs than the Java APIs. include::usage.adoc[]
logging-log4j-scala git commit: Add links to docs
Repository: logging-log4j-scala Updated Branches: refs/heads/sbt 7e2426b34 -> cead38950 Add links to docs Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/cead3895 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/cead3895 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/cead3895 Branch: refs/heads/sbt Commit: cead389503f2314d7c047a62566c3d1eaa798950 Parents: 7e2426b Author: Matt SickerAuthored: Sat Mar 31 20:25:54 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 20:28:09 2018 -0500 -- BUILDING.md | 14 +- CONTRIBUTING.md | 53 +--- README.md | 2 +- 3 files changed, 3 insertions(+), 66 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/cead3895/BUILDING.md -- diff --git a/BUILDING.md b/BUILDING.md index 7497179..1fea4bb 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -15,17 +15,5 @@ limitations under the License. --> # Building Log4j 2 Scala API - -To build Log4j 2 Scala API, you need a JDK implementation version 1.8 or greater and Apache Maven 3.x. -To perform the license release audit, a.k.a. "RAT check", run. - -mvn apache-rat:check - -To install the jars in your local Maven repository, from a command line, run: - -mvn clean install - -Next, to build the site: - -mvn site +Moved to [site docs](./src/asciidoctor/build.adoc). http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/cead3895/CONTRIBUTING.md -- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 526d871..93299c1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,57 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. --> - # Contributing to Apache Log4j 2 -You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to -the open source community. Before you dig right into the code there are a few guidelines that we need contributors to -follow so that we can have a chance of keeping on top of things. - -## Getting Started - -+ Make sure you have a [JIRA account](https://issues.apache.org/jira/). -+ Make sure you have a [GitHub account](https://github.com/signup/free). -+ If you're planning to implement a new feature it makes sense to discuss your changes on the [dev list](https://logging.apache.org/log4j/2.x/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Log4j's scope. -+ Submit a ticket for your issue, assuming one does not already exist. - + Clearly describe the issue including steps to reproduce when it is a bug. - + Make sure you fill in the earliest version that you know has the issue. -+ Fork the repository on GitHub. - -## Making Changes - -+ Create a topic branch from where you want to base your work (this is usually the master branch). -+ Make commits of logical units. -+ Respect the original code style: - + Only use spaces for indentation. - + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. - + Check for unnecessary whitespace with git diff --check before committing. -+ Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue. -+ Make sure you have added the necessary tests for your changes. -+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken. - -## Making Trivial Changes - -For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA. -In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number. - -## Submitting Changes - -+ Sign the [Contributor License Agreement][cla] if you haven't already. -+ Push your changes to a topic branch in your fork of the repository. -+ Submit a pull request to the repository in the apache organization. -+ Update your JIRA ticket and include a link to the pull request in the ticket. - -## Additional Resources - -+ [Project Guidelines](https://logging.apache.org/log4j/2.x/guidelines.html) -+ [Code Style Guide](https://logging.apache.org/log4j/2.x/javastyle.html) -+ [Apache Log4j 2 JIRA project page](https://issues.apache.org/jira/browse/LOG4J2) -+ [Contributor License Agreement][cla] -+ [General GitHub documentation](https://help.github.com/) -+
[2/3] logging-log4j-scala git commit: Improve links and header hierarchy
Improve links and header hierarchy Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/a5510391 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/a5510391 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/a5510391 Branch: refs/heads/sbt Commit: a551039140608e9f59e3aa7f4e5ed2a937753f19 Parents: a5726de Author: Matt SickerAuthored: Sat Mar 31 20:22:50 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 20:22:50 2018 -0500 -- src/asciidoctor/usage.adoc | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a5510391/src/asciidoctor/usage.adoc -- diff --git a/src/asciidoctor/usage.adoc b/src/asciidoctor/usage.adoc index 93381a4..528e999 100644 --- a/src/asciidoctor/usage.adoc +++ b/src/asciidoctor/usage.adoc @@ -16,7 +16,7 @@ == Usage -Using the Scala API is as simple as mixing in the `Logging` trait to your class. Example: +Using the Scala API is as simple as mixing in the https://logging.apache.org/log4j/scala/log4j-api-scala_2.12/scaladocs/org/apache/logging/log4j/scala/[`Logging`] trait to your class. Example: [source,scala] @@ -42,21 +42,21 @@ class MyClass extends BaseClass with Logging { |Scala Version |API Link |Scala 2.10 -|https://logging.apache.org/log4j/scala/log4j-api-scala_2.10/scaladocs/[ScalaDocs] +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.10/scaladocs/#org.apache.logging.log4j.scala.package[ScalaDocs] |Scala 2.11 -|https://logging.apache.org/log4j/scala/log4j-api-scala_2.11/scaladocs/[ScalaDocs] +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.11/scaladocs/#org.apache.logging.log4j.scala.package[ScalaDocs] |Scala 2.12 -|https://logging.apache.org/log4j/scala/log4j-api-scala_2.12/scaladocs/[ScalaDocs] +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.12/scaladocs/org/apache/logging/log4j/scala/[ScalaDocs] |=== -== Configuration +=== Configuration Log4j Scala API uses https://logging.apache.org/log4j/2.x/manual/configuration.html[Log4j configuration] by default. This supports XML, properties files, and Java-based builders, as well as JSON and YAML with additional dependencies. -== Substituting Parameters +=== Substituting Parameters Unlike in Java, Scala provides native functionality for string interpolation https://docs.scala-lang.org/overviews/core/string-interpolation.html[beginning in Scala 2.10]. As all logger calls are implemented as macros, using string interpolation directly does not require additional if checks. @@ -67,7 +67,7 @@ For example: logger.debug(s"Logging in user ${user.getName} with birthday ${user.calcBirthday}") -== Logger Names +=== Logger Names Most logging implementations use a hierarchical scheme for matching logger names with logging configuration. In this scheme the logger name hierarchy is represented by '.' characters in the logger name, in a fashion very similar to the hierarchy used for Java/Scala package names.
[1/3] logging-log4j-scala git commit: Add ScalaDoc links
Repository: logging-log4j-scala Updated Branches: refs/heads/sbt e665ddfbe -> 7e2426b34 Add ScalaDoc links Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/a5726dee Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/a5726dee Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/a5726dee Branch: refs/heads/sbt Commit: a5726deeff75b0e1adcd4f0557003726341aab8d Parents: e665ddf Author: Matt SickerAuthored: Sat Mar 31 20:03:08 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 20:03:08 2018 -0500 -- src/asciidoctor/index.adoc | 1 - src/asciidoctor/usage.adoc | 15 +++ 2 files changed, 15 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a5726dee/src/asciidoctor/index.adoc -- diff --git a/src/asciidoctor/index.adoc b/src/asciidoctor/index.adoc index 6eccdfb..01ef6ce 100644 --- a/src/asciidoctor/index.adoc +++ b/src/asciidoctor/index.adoc @@ -34,7 +34,6 @@ include::build.adoc[] TODO: * Apache logo * License report -* ScalaDocs links * Project links * Dependency report \ No newline at end of file http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a5726dee/src/asciidoctor/usage.adoc -- diff --git a/src/asciidoctor/usage.adoc b/src/asciidoctor/usage.adoc index cc65bad..93381a4 100644 --- a/src/asciidoctor/usage.adoc +++ b/src/asciidoctor/usage.adoc @@ -36,6 +36,21 @@ class MyClass extends BaseClass with Logging { } +=== API Documentation + +|=== +|Scala Version |API Link + +|Scala 2.10 +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.10/scaladocs/[ScalaDocs] + +|Scala 2.11 +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.11/scaladocs/[ScalaDocs] + +|Scala 2.12 +|https://logging.apache.org/log4j/scala/log4j-api-scala_2.12/scaladocs/[ScalaDocs] +|=== + == Configuration Log4j Scala API uses https://logging.apache.org/log4j/2.x/manual/configuration.html[Log4j configuration] by default.
[3/3] logging-log4j-scala git commit: Add contributing info to site
Add contributing info to site Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/7e2426b3 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/7e2426b3 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/7e2426b3 Branch: refs/heads/sbt Commit: 7e2426b342adf58ff362ae55a36aa0ffbd522edf Parents: a551039 Author: Matt SickerAuthored: Sat Mar 31 20:23:02 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 20:23:02 2018 -0500 -- src/asciidoctor/contributing.adoc | 66 ++ src/asciidoctor/index.adoc| 2 ++ 2 files changed, 68 insertions(+) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/7e2426b3/src/asciidoctor/contributing.adoc -- diff --git a/src/asciidoctor/contributing.adoc b/src/asciidoctor/contributing.adoc new file mode 100644 index 000..4730d54 --- /dev/null +++ b/src/asciidoctor/contributing.adoc @@ -0,0 +1,66 @@ + +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. + +== Contributing + +You have found a bug or you have an idea for a cool new feature? +Contributing code is a great way to give something back to the open source community. +Before you dig right into the code there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. + +=== Getting Started + +* Make sure you have a https://issues.apache.org/jira/[Jira account]. +* Make sure you have a https://github.com/signup/free[GitHub account]. +* If you're planning to implement a new feature it makes sense to discuss your changes on the https://logging.apache.org/log4j/2.x/mail-lists.html[dev list] first. + This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Log4j's scope. +* Submit a ticket for your issue, assuming one does not already exist. + * Clearly describe the issue including steps to reproduce when it is a bug. + * Make sure you fill in the earliest version that you know has the issue. +* Fork the repository on GitHub. + +=== Making Changes + +* Create a topic branch from where you want to base your work (this is usually the master branch). +* Make commits of logical units. +* Respect the original code style: + * Only use spaces for indentation. + * Create minimal diffs - disable on save actions like reformat source code or organize imports. +If you feel the source code should be reformatted create a separate PR for this change. + * Check for unnecessary whitespace with `git diff --check` before committing. +* Make sure your commit messages are in the proper format. + Your commit message should contain the key of the Jira issue. +* Make sure you have added the necessary tests for your changes. +* Run all the tests with `sbt "+ test"` to assure nothing else was accidentally broken. + +=== Making Trivial Changes + +For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA. +In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number. + +=== Submitting Changes + +* Sign the https://www.apache.org/licenses/#clas[Contributor License Agreement] if you haven't already. +* Push your changes to a topic branch in your fork of the repository. +* Submit a pull request to the repository in the apache organization. +* Update your Jira ticket and include a link to the pull request in the ticket. + +=== Additional Resources + +* https://issues.apache.org/jira/browse/LOG4J2[Apache Log4j 2 Jira project page] +* https://www.apache.org/licenses/#clas[Contributor License Agreement] +* https://help.github.com/[General GitHub documentation] +* https://help.github.com/send-pull-requests/[GitHub pull request documentation] +
[4/5] logging-log4j-scala git commit: Add download page
Add download page Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/6cb937c2 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/6cb937c2 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/6cb937c2 Branch: refs/heads/sbt Commit: 6cb937c2d622b88a0c9c0de08b33912196259a72 Parents: a42494a Author: Matt SickerAuthored: Sat Mar 31 19:54:36 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 19:54:36 2018 -0500 -- src/asciidoctor/download.adoc | 74 ++ src/asciidoctor/index.adoc| 5 ++- src/asciidoctor/usage.adoc| 11 -- 3 files changed, 78 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/6cb937c2/src/asciidoctor/download.adoc -- diff --git a/src/asciidoctor/download.adoc b/src/asciidoctor/download.adoc new file mode 100644 index 000..2d11fc9 --- /dev/null +++ b/src/asciidoctor/download.adoc @@ -0,0 +1,74 @@ + +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. + +== Download + +Apache Log4j Scala API is distributed under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache License, version 2.0]. +The link in the Mirrors column should display a list of available mirrors with a default selection based on your inferred location. +If you do not see that page, try a different browser. +The checksum and signature are links to the originals on the main distribution server. + +|=== +|Distribution |Mirrors |Signature + +|Apache Log4j Scala API binary (tar.gz) +|https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-bin.tar.gz[apache-log4j-scala-{project-version}-bin.tar.gz] +|https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-bin.tar.gz.asc[apache-log4j-scala-{project-version}-bin.tar.gz.asc] + +|Apache Log4j Scala API binary (zip) +|https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-bin.zip[apache-log4j-scala-{project-version}-bin.zip] +|https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-bin.zip.asc[apache-log4j-scala-{project-version}-bin.zip.asc] + +|Apache Log4j Scala API source (tar.gz) +|https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.tar.gz[apache-log4j-scala-{project-version}-src.tar.gz] +|https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.tar.gz.asc[apache-log4j-scala-{project-version}-src.tar.gz.asc] + +|Apache Log4j Scala API binary (zip) +|https://www.apache.org/dyn/closer.lua/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.zip[apache-log4j-scala-{project-version}-src.zip] +|https://www.apache.org/dist/logging/log4j/scala/{project-version}/apache-log4j-scala-{project-version}-src.zip.asc[apache-log4j-scala-{project-version}-src.zip.asc] +|=== + +It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures. +Please read https://httpd.apache.org/dev/verification.html[Verifying Apache HTTP Server Releases] for more information on why you should verify our releases. + +The PGP signatures can be verified using PGP or GPG. +First download the https://www.apache.org/dist/logging/KEYS[KEYS] as well as the asc signature file for the relevant distribution. +Make sure you get these files from the https://www.apache.org/dist/logging/[main distribution directory], rather than from a mirror. +Then verify the signatures using: + +[source,bash,subs=attributes] + +gpg --import KEYS +gpg --verify apache-log4j-scala-{project-version}-bin.tar.gz.asc apache-log4j-scala-{project-version}-bin.tar.gz +gpg --verify
[5/5] logging-log4j-scala git commit: Add changelog entry
Add changelog entry Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/e665ddfb Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/e665ddfb Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/e665ddfb Branch: refs/heads/sbt Commit: e665ddfbeed6ffcf10d47cdef3e48c8b773f41a1 Parents: 6cb937c Author: Matt SickerAuthored: Sat Mar 31 19:55:49 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 19:55:49 2018 -0500 -- src/asciidoctor/changes.adoc | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/e665ddfb/src/asciidoctor/changes.adoc -- diff --git a/src/asciidoctor/changes.adoc b/src/asciidoctor/changes.adoc index 890263a..748b0e9 100644 --- a/src/asciidoctor/changes.adoc +++ b/src/asciidoctor/changes.adoc @@ -21,6 +21,7 @@ [vertical] New Features:: [horizontal] +LOG4J2-2294::: Add release audit information to build. LOG4J2-2298::: Add changelog to site. LOG4J2-2293::: Add required license files to SBT output artifacts. LOG4J2-2296::: Add sbt-site plugin and website configuration.
[2/5] logging-log4j-scala git commit: Set version to 11.1-SNAPSHOT
Set version to 11.1-SNAPSHOT Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/a95fbe6e Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/a95fbe6e Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/a95fbe6e Branch: refs/heads/sbt Commit: a95fbe6e2bbd8f5ae351b6b0261f4a76ab0ffa8d Parents: c888b03 Author: Matt SickerAuthored: Sat Mar 31 19:52:14 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 19:52:14 2018 -0500 -- version.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a95fbe6e/version.sbt -- diff --git a/version.sbt b/version.sbt index b8bcd26..e0f281a 100644 --- a/version.sbt +++ b/version.sbt @@ -14,4 +14,4 @@ * See the license for the specific language governing permissions and * limitations under the license. */ -version in ThisBuild := "12.0-SNAPSHOT" +version in ThisBuild := "11.1-SNAPSHOT"
[3/5] logging-log4j-scala git commit: Add build page
Add build page Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/a42494ae Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/a42494ae Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/a42494ae Branch: refs/heads/sbt Commit: a42494ae47b69c6d12aa4258704c35fcb3174edb Parents: a95fbe6 Author: Matt SickerAuthored: Sat Mar 31 19:52:56 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 19:52:56 2018 -0500 -- src/asciidoctor/build.adoc | 32 1 file changed, 32 insertions(+) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a42494ae/src/asciidoctor/build.adoc -- diff --git a/src/asciidoctor/build.adoc b/src/asciidoctor/build.adoc new file mode 100644 index 000..955501c --- /dev/null +++ b/src/asciidoctor/build.adoc @@ -0,0 +1,32 @@ + +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. + +== Building From Source + +NOTE: The following information is for developers who wish to modify Log4j Scala API or contribute. +If your goal is to add logging to your application, then you can use the link:build.html[pre-built binaries] instead. + +.Auditing +[source,bash] + +./sbt auditCheck + + +.Building +[source,bash] + +./sbt "+ package" +
[2/2] logging-log4j-scala git commit: Add rat checks to jenkins pipeline
Add rat checks to jenkins pipeline Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/a6af7ecc Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/a6af7ecc Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/a6af7ecc Branch: refs/heads/sbt Commit: a6af7ecc166c2fdd439a0cc69833002d5680db36 Parents: 34e39f8 Author: Matt SickerAuthored: Sat Mar 31 18:06:25 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 18:06:25 2018 -0500 -- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/a6af7ecc/Jenkinsfile -- diff --git a/Jenkinsfile b/Jenkinsfile index 90b3893..c9d0812 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,6 +27,7 @@ pipeline { stage('Build') { steps { ansiColor('xterm') { +sh './sbt -batch auditCheck' sh './sbt -batch "+ compile"' } } @@ -34,6 +35,7 @@ pipeline { stage('Test') { steps { ansiColor('xterm') { +sh './sbt -batch Test/auditCheck' sh './sbt -batch "+ test"' } }
[1/2] logging-log4j-scala git commit: Add rat plugin
Repository: logging-log4j-scala Updated Branches: refs/heads/sbt 9c4d5484c -> a6af7ecc1 Add rat plugin Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/34e39f8c Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/34e39f8c Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/34e39f8c Branch: refs/heads/sbt Commit: 34e39f8cd172b9ef78b208d910667945234defa5 Parents: 9c4d548 Author: Matt SickerAuthored: Sat Mar 31 18:03:13 2018 -0500 Committer: Matt Sicker Committed: Sat Mar 31 18:03:13 2018 -0500 -- project/plugins.sbt| 2 ++ src/asciidoctor/index.adoc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/34e39f8c/project/plugins.sbt -- diff --git a/project/plugins.sbt b/project/plugins.sbt index 0d7f53e..3007056 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -18,4 +18,6 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1") addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8") addSbtPlugin("com.typesafe.sbt" % "sbt-license-report" % "1.2.0") addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.2") +addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0") //addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.3") +addSbtPlugin("org.musigma" % "sbt-rat" % "0.1") http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/34e39f8c/src/asciidoctor/index.adoc -- diff --git a/src/asciidoctor/index.adoc b/src/asciidoctor/index.adoc index 33e0ceb..913809b 100644 --- a/src/asciidoctor/index.adoc +++ b/src/asciidoctor/index.adoc @@ -31,7 +31,7 @@ TODO: * Apache logo * Downloads page * License report -* Other reports? * ScalaDocs links * Project links +* Dependency report \ No newline at end of file