1 Reply Latest reply on Jul 19, 2012 7:32 PM by Steven Hawkins

    Disfavorable licensing for MPL and CPL

    David Brock Newbie

      The below list of files are licensed under the Mozilla Public License (MPL) and the Common Public License (CPL) respectively.  The MPL and CPL have disfavorable terms according to company's legal department.   What would be the impact of removing these files from the build or stubbing out the functionality?  Would it totally disable the functionaility or only certain capabilities/modules?

       

      Thanks,
      David

       

       

      MPL:

      teiid_src.zip.dir\engine\src\main\java\org\teiid\query\xquery\saxon\NodeWrapper.java

      teiid_src.zip.dir\engine\src\main\java\org\teiid\query\xquery\saxon\DocumentWrapper.java


      CPL:

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IQueryResult.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IIndexerOutput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IIndexer.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IIndex.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IEntryResult.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\core\index\IDocument.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\WordEntry.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\Util.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\SimpleIndexInput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\SimpleIndexBlock.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\SafeRandomAccessFile.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\PropertyDocument.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\MergeFactory.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\InMemoryIndex.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexSummary.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexOutput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexInput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexerOutput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexedFileHashedArray.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexedFile.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IndexBlock.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\IIndexConstants.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\Index.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\FileListBlock.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\GammaCompressedIndexBlock.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\Field.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\FileDocument.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\CodeByteStream.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\EntryResult.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\BlocksIndexOutput.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\CharOperation.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\Block.java

      teiid_src.zip.dir\metadata\src\main\java\org\teiid\internal\core\index\BlocksIndexInput.java

        • 1. Re: Disfavorable licensing for MPL and CPL
          Steven Hawkins Master

          These files cannot be removed or just stubbed without build/test failures.  The logic in the MPL files may be available in binary form from Saxon, but last I checked it was not in the HE version that we integrate with.  That code enables a stream processing optimization of xquery/xpath and is not required, but would require some work to isolate as an optional depdendency.

           

          With Teiid 8.1 the index logic (CPL) functionality is optional at runtime if no Designer based vdbs are deployed.  However it is heavily used in testing as there are numerous .vdb archives.

           

          Steve