You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2022/02/10 18:05:51 UTC

[tika] branch main updated: TIKA-3648 -- update build info in README.md to show users how to build Tika even when there's an ossindex failure.

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 7c55348  TIKA-3648 -- update build info in README.md to show users how to build Tika even when there's an ossindex failure.
7c55348 is described below

commit 7c55348df9d30b072f0bd3f1fdac63c1caa29684
Author: tallison <ta...@apache.org>
AuthorDate: Thu Feb 10 13:05:38 2022 -0500

    TIKA-3648 -- update build info in README.md to show users how to build Tika even when there's an ossindex failure.
---
 .../workflows/main-jdk8-ossindex-fail-build.yml    | 41 ----------------------
 README.md                                          |  6 ++++
 2 files changed, 6 insertions(+), 41 deletions(-)

diff --git a/.github/workflows/main-jdk8-ossindex-fail-build.yml b/.github/workflows/main-jdk8-ossindex-fail-build.yml
deleted file mode 100644
index d8ec13e..0000000
--- a/.github/workflows/main-jdk8-ossindex-fail-build.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# 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.
-#
-
-name: main pr build
-
-on:
-  push:
-    branches: [ main ]
-  pull_request:
-    branches: [ main ]
-        
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        java: [ '1.8' ]
-
-    steps:
-      - uses: actions/checkout@v2
-      - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v1
-        with:
-          java-version: ${{ matrix.java }}
-      - name: Build with Maven
-        run: mvn -Possindex-fail test
diff --git a/README.md b/README.md
index bf1b927..819a73c 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,12 @@ To build a specific project (for example, tika-server-standard):
 
     mvn clean install -am -pl :tika-server-standard
 
+If the ossindex-maven-plugin is causing the build to fail because a dependency
+has now been discovered to have a vulnerability:
+
+    mvn clean install -Dossindex.fail=false
+
+
 Maven Dependencies
 ==================