This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new c9e3df5321 Modify `maven-wrapper.properties` line ending on Windows
c9e3df5321 is described below
commit c9e3df5321effbe0d5c52393d38a648165f7a2f5
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sat Feb 4 13:45:10 2023 +0100
Modify `maven-wrapper.properties` line ending on Windows
---
.gitattributes | 4 +++-
.github/workflows/build.yml | 19 -------------------
2 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 776b2e16ae..d48d4da3e0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -12,4 +12,6 @@
# 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.
-mvnw.cmd eol=crlf
+/mvnw.cmd eol=crlf
+# Maven Wrapper need LF line endings
+/.mvn/wrapper/maven-wrapper.properties eol=lf
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e45fee8bdd..71394e01d1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -49,25 +49,6 @@ jobs:
architecture: x64
cache: maven
- - name: Inspect environment (Linux)
- if: runner.os == 'Linux'
- run: |
- env | grep '^JAVA'
- ./mvnw --version
-
- - name: Inspect environment (Windows)
- if: runner.os == 'Windows'
- shell: cmd
- run: |
- set JAVA
- mvnw --version
-
- - name: Inspect environment (MacOS)
- if: runner.os == 'macOS'
- run: |
- env | grep '^JAVA'
- ./mvnw --version
-
- name: Maven "verify"
timeout-minutes: 60
shell: bash