The lucene document security lib is has been used by Blur for some time now. However I believe that we should just pull the lib into Blur as a new project. Any issues with this?
Aaron On Wed, May 6, 2015 at 12:42 PM, Tim Williams <[email protected]> wrote: > On Wed, May 6, 2015 at 9:23 AM, <[email protected]> wrote: > > Repository: incubator-blur > > Updated Branches: > > refs/heads/master c157de659 -> 3915b9f5e > > > > > > Updating secutiry library, fixes a bug with index reopens and deletes > not being applied correctly. > > > > > > Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo > > Commit: > http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/08521325 > > Tree: > http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/08521325 > > Diff: > http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/08521325 > > > > Branch: refs/heads/master > > Commit: 08521325ec4f9b8c98b295f8be70ba3423b3d5ce > > Parents: f2bc7b3 > > Author: Aaron McCurry <[email protected]> > > Authored: Wed May 6 09:17:38 2015 -0400 > > Committer: Aaron McCurry <[email protected]> > > Committed: Wed May 6 09:18:04 2015 -0400 > > > > ---------------------------------------------------------------------- > > blur-store/pom.xml | 2 +- > > .../lucene-document-security-0.1.3-tests.jar | Bin 18283 -> 0 bytes > > .../0.1.3/lucene-document-security-0.1.3.jar | Bin 78096 -> 0 bytes > > .../0.1.3/lucene-document-security-0.1.3.pom | 117 ----------------- > > .../lucene-document-security-0.1.4-sources.jar | Bin 0 -> 44017 bytes > > .../lucene-document-security-0.1.4-tests.jar | Bin 0 -> 18478 bytes > > .../0.1.4/lucene-document-security-0.1.4.jar | Bin 0 -> 81781 bytes > > .../0.1.4/lucene-document-security-0.1.4.pom | 128 > +++++++++++++++++++ > > 8 files changed, 129 insertions(+), 118 deletions(-) > > ---------------------------------------------------------------------- > > > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/blur-store/pom.xml > > ---------------------------------------------------------------------- > > diff --git a/blur-store/pom.xml b/blur-store/pom.xml > > index 34e4b73..9262088 100644 > > --- a/blur-store/pom.xml > > +++ b/blur-store/pom.xml > > @@ -64,7 +64,7 @@ > > <dependency> > > <groupId>com.github.amccurry</groupId> > > <artifactId>lucene-document-security</artifactId> > > - <version>0.1.3</version> > > + <version>0.1.4</version> > > </dependency> > > <dependency> > > <groupId>commons-cli</groupId> > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3-tests.jar > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3-tests.jar > b/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3-tests.jar > > deleted file mode 100644 > > index ea1580b..0000000 > > Binary files > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3-tests.jar > and /dev/null differ > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.jar > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.jar > b/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.jar > > deleted file mode 100644 > > index 26f5d1f..0000000 > > Binary files > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.jar > and /dev/null differ > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.pom > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.pom > b/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.pom > > deleted file mode 100644 > > index fc19d07..0000000 > > --- > a/lib/com/github/amccurry/lucene-document-security/0.1.3/lucene-document-security-0.1.3.pom > > +++ /dev/null > > @@ -1,117 +0,0 @@ > > -<?xml version="1.0" encoding="UTF-8" ?> > > -<!-- > > -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. > > ---> > > -<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.github.amccurry</groupId> > > - <artifactId>lucene-document-security</artifactId> > > - <version>0.1.3</version> > > - <packaging>jar</packaging> > > - <name>Lucene Document Security</name> > > - <description>Provides an API for Document level security in > Lucene.</description> > > - > > - <dependencies> > > - <dependency> > > - <groupId>org.apache.lucene</groupId> > > - <artifactId>lucene-core</artifactId> > > - <version>4.3.0</version> > > - </dependency> > > - <dependency> > > - <groupId>org.apache.lucene</groupId> > > - <artifactId>lucene-analyzers-common</artifactId> > > - <version>4.3.0</version> > > - </dependency> > > - <dependency> > > - <groupId>org.apache.lucene</groupId> > > - <artifactId>lucene-queryparser</artifactId> > > - <version>4.3.0</version> > > - </dependency> > > - <dependency> > > - <groupId>commons-logging</groupId> > > - <artifactId>commons-logging</artifactId> > > - <version>1.1.3</version> > > - </dependency> > > - <dependency> > > - <groupId>com.google.guava</groupId> > > - <artifactId>guava</artifactId> > > - <version>14.0</version> > > - </dependency> > > - <dependency> > > - <groupId>commons-codec</groupId> > > - <artifactId>commons-codec</artifactId> > > - <version>1.9</version> > > - </dependency> > > - <dependency> > > - <groupId>junit</groupId> > > - <artifactId>junit</artifactId> > > - <version>4.9</version> > > - <scope>test</scope> > > - </dependency> > > - <dependency> > > - > <groupId>com.googlecode.concurrentlinkedhashmap</groupId> > > - > <artifactId>concurrentlinkedhashmap-lru</artifactId> > > - <version>1.3.2</version> > > - </dependency> > > - </dependencies> > > - > > - <repositories> > > - <repository> > > - <id>libdir</id> > > - <url>file://${basedir}/../lib</url> > > - </repository> > > - </repositories> > > - > > - <build> > > - <plugins> > > - <plugin> > > - > <groupId>org.apache.maven.plugins</groupId> > > - > <artifactId>maven-surefire-plugin</artifactId> > > - <configuration> > > - <argLine>-XX:+UseConcMarkSweepGC > -Xmx1g -Xms1g</argLine> > > - <forkCount>2</forkCount> > > - <forkMode>always</forkMode> > > - <reuseForks>false</reuseForks> > > - <systemPropertyVariables> > > - > <blur.tmp.dir>${project.build.directory}/target/tmp</blur.tmp.dir> > > - </systemPropertyVariables> > > - </configuration> > > - </plugin> > > - <plugin> > > - > <groupId>org.apache.maven.plugins</groupId> > > - > <artifactId>maven-compiler-plugin</artifactId> > > - <configuration> > > - <source>1.6</source> > > - <target>1.6</target> > > - </configuration> > > - </plugin> > > - <plugin> > > - > <groupId>org.apache.maven.plugins</groupId> > > - <artifactId>maven-jar-plugin</artifactId> > > - <executions> > > - <execution> > > - <goals> > > - > <goal>test-jar</goal> > > - </goals> > > - </execution> > > - </executions> > > - </plugin> > > - </plugins> > > - </build> > > -</project> > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-sources.jar > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-sources.jar > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-sources.jar > > new file mode 100644 > > index 0000000..58dfe2a > > Binary files /dev/null and > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-sources.jar > differ > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-tests.jar > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-tests.jar > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-tests.jar > > new file mode 100644 > > index 0000000..8257bd0 > > Binary files /dev/null and > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4-tests.jar > differ > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/08521325/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4.jar > > ---------------------------------------------------------------------- > > diff --git > a/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4.jar > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4.jar > > new file mode 100644 > > index 0000000..cfb2e9a > > Binary files /dev/null and > b/lib/com/github/amccurry/lucene-document-security/0.1.4/lucene-document-security-0.1.4.jar > differ > > Why a lib folder with binaries? This seems really odd... > > --tim >
