SEARCH-2277: Restoring Apache License Header

This commit is contained in:
Angel Borroy
2020-06-18 17:08:42 +02:00
parent 2a8d0d7017
commit cfc56e723b
6 changed files with 114 additions and 114 deletions

31
pom.xml
View File

@@ -91,6 +91,37 @@
<include>**/*.java</include> <include>**/*.java</include>
<include>**/*.jsp</include> <include>**/*.jsp</include>
</includes> </includes>
<!-- Classes derivated from SOLR Source code include the Apache License header -->
<excludes>
<exclude>**/org/alfresco/solr/component/AsyncBuildSuggestComponent.java</exclude>
<exclude>**/org/apache/solr/client/solrj/io/sql/ConnectionImpl.java</exclude>
<exclude>**/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java</exclude>
<exclude>**/org/apache/solr/client/solrj/io/sql/ResultSetImpl.java</exclude>
<exclude>**/org/apache/solr/client/solrj/io/sql/StatementImpl.java</exclude>
<exclude>**/org/alfresco/solr/handler/AlfrescoIndexFetcher.java</exclude>
<exclude>**/org/alfresco/solr/handler/AlfrescoReplicationHandler.java</exclude>
<exclude>**/org/alfresco/solr/handler/OldBackupDirectory.java</exclude>
<exclude>**/org/alfresco/solr/handler/SnapShooter.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrAggregate.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrEnumerator.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrFilter.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrMethod.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrProject.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrRel.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrRules.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrSort.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrTable.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrTableScan.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrToEnumerableConverter.java</exclude>
<exclude>**/org/alfresco/solr/sql/SolrToEnumerableConverterRule.java</exclude>
<exclude>**/org/alfresco/solr/stream/FacetStream.java</exclude>
<exclude>**/org/alfresco/solr/stream/JDBCStream.java</exclude>
<exclude>**/org/alfresco/solr/stream/JSONTupleStream.java</exclude>
<exclude>**/org/alfresco/solr/stream/LimitStream.java</exclude>
<exclude>**/org/alfresco/solr/stream/StatsStream.java</exclude>
<exclude>**/org/alfresco/solr/stream/StreamHandler.java</exclude>
<exclude>**/org/alfresco/solr/stream/TimeSeriesStream.java</exclude>
</excludes>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@@ -1,27 +1,20 @@
/*- /*
* #%L * Licensed to the Apache Software Foundation (ASF) under one or more
* Alfresco Solr Search * contributor license agreements. See the NOTICE file distributed with
* %% * this work for additional information regarding copyright ownership.
* Copyright (C) 2005 - 2020 Alfresco Software Limited * 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
* This file is part of the Alfresco software. * the License. You may obtain a copy of the License at
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * http://www.apache.org/licenses/LICENSE-2.0
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Unless required by applicable law or agreed to in writing, software
* but WITHOUT ANY WARRANTY; without even the implied warranty of * distributed under the License is distributed on an "AS IS" BASIS,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* GNU Lesser General Public License for more details. * See the License for the specific language governing permissions and
* limitations under the License.
* *
* You should have received a copy of the GNU Lesser General Public License * Modifications copyright (C) 2005 - 2020 Alfresco Software Limited
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/ */
package org.alfresco.solr.component; package org.alfresco.solr.component;

View File

@@ -1,28 +1,22 @@
/*- /*
* #%L * Licensed to the Apache Software Foundation (ASF) under one or more
* Alfresco Solr Search * contributor license agreements. See the NOTICE file distributed with
* %% * this work for additional information regarding copyright ownership.
* Copyright (C) 2005 - 2020 Alfresco Software Limited * 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
* This file is part of the Alfresco software. * the License. You may obtain a copy of the License at
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * http://www.apache.org/licenses/LICENSE-2.0
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Unless required by applicable law or agreed to in writing, software
* but WITHOUT ANY WARRANTY; without even the implied warranty of * distributed under the License is distributed on an "AS IS" BASIS,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* GNU Lesser General Public License for more details. * See the License for the specific language governing permissions and
* limitations under the License.
* *
* You should have received a copy of the GNU Lesser General Public License * Modifications copyright (C) 2005 - 2020 Alfresco Software Limited
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/ */
package org.alfresco.solr.handler; package org.alfresco.solr.handler;
import com.google.common.base.Strings; import com.google.common.base.Strings;

View File

@@ -1,28 +1,22 @@
/*- /*
* #%L * Licensed to the Apache Software Foundation (ASF) under one or more
* Alfresco Solr Search * contributor license agreements. See the NOTICE file distributed with
* %% * this work for additional information regarding copyright ownership.
* Copyright (C) 2005 - 2020 Alfresco Software Limited * 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
* This file is part of the Alfresco software. * the License. You may obtain a copy of the License at
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * http://www.apache.org/licenses/LICENSE-2.0
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Unless required by applicable law or agreed to in writing, software
* but WITHOUT ANY WARRANTY; without even the implied warranty of * distributed under the License is distributed on an "AS IS" BASIS,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* GNU Lesser General Public License for more details. * See the License for the specific language governing permissions and
* limitations under the License.
* *
* You should have received a copy of the GNU Lesser General Public License * Modifications copyright (C) 2005 - 2020 Alfresco Software Limited
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/ */
package org.alfresco.solr.handler; package org.alfresco.solr.handler;
import org.alfresco.solr.AlfrescoCoreAdminHandler; import org.alfresco.solr.AlfrescoCoreAdminHandler;

View File

@@ -1,28 +1,22 @@
/*- /*
* #%L * Licensed to the Apache Software Foundation (ASF) under one or more
* Alfresco Solr Search * contributor license agreements. See the NOTICE file distributed with
* %% * this work for additional information regarding copyright ownership.
* Copyright (C) 2005 - 2020 Alfresco Software Limited * 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
* This file is part of the Alfresco software. * the License. You may obtain a copy of the License at
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * http://www.apache.org/licenses/LICENSE-2.0
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Unless required by applicable law or agreed to in writing, software
* but WITHOUT ANY WARRANTY; without even the implied warranty of * distributed under the License is distributed on an "AS IS" BASIS,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* GNU Lesser General Public License for more details. * See the License for the specific language governing permissions and
* limitations under the License.
* *
* You should have received a copy of the GNU Lesser General Public License * Modifications copyright (C) 2005 - 2020 Alfresco Software Limited
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/ */
package org.alfresco.solr.handler; package org.alfresco.solr.handler;
import org.apache.solr.handler.SnapShooter; import org.apache.solr.handler.SnapShooter;

View File

@@ -1,28 +1,22 @@
/*- /*
* #%L * Licensed to the Apache Software Foundation (ASF) under one or more
* Alfresco Solr Search * contributor license agreements. See the NOTICE file distributed with
* %% * this work for additional information regarding copyright ownership.
* Copyright (C) 2005 - 2020 Alfresco Software Limited * 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
* This file is part of the Alfresco software. * the License. You may obtain a copy of the License at
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * http://www.apache.org/licenses/LICENSE-2.0
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Unless required by applicable law or agreed to in writing, software
* but WITHOUT ANY WARRANTY; without even the implied warranty of * distributed under the License is distributed on an "AS IS" BASIS,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* GNU Lesser General Public License for more details. * See the License for the specific language governing permissions and
* limitations under the License.
* *
* You should have received a copy of the GNU Lesser General Public License * Modifications copyright (C) 2005 - 2020 Alfresco Software Limited
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/ */
package org.alfresco.solr.handler; package org.alfresco.solr.handler;
import org.apache.lucene.index.IndexCommit; import org.apache.lucene.index.IndexCommit;