Merge pull request #14020 from jpountz/enhancement/less_lenient_license_checks
Make license checks a bit less lenient.
This commit is contained in:
commit
ef3172c8b0
10
core/pom.xml
10
core/pom.xml
|
@ -333,15 +333,17 @@
|
||||||
<excludes>
|
<excludes>
|
||||||
<!-- Guice -->
|
<!-- Guice -->
|
||||||
<exclude>src/main/java/org/elasticsearch/common/inject/**</exclude>
|
<exclude>src/main/java/org/elasticsearch/common/inject/**</exclude>
|
||||||
<exclude>src/main/java/org/elasticsearch/common/geo/GeoHashUtils.java</exclude>
|
<!-- Forks of Lucene classes -->
|
||||||
<exclude>src/main/java/org/elasticsearch/common/network/InetAddresses.java</exclude>
|
|
||||||
<exclude>src/main/java/org/apache/lucene/**/X*.java</exclude>
|
<exclude>src/main/java/org/apache/lucene/**/X*.java</exclude>
|
||||||
<!-- t-digest -->
|
|
||||||
<exclude>src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/tdigest/TDigestState.java</exclude>
|
|
||||||
<!-- netty pipelining -->
|
<!-- netty pipelining -->
|
||||||
<exclude>src/main/java/org/elasticsearch/http/netty/pipelining/**</exclude>
|
<exclude>src/main/java/org/elasticsearch/http/netty/pipelining/**</exclude>
|
||||||
|
<!-- Guava -->
|
||||||
|
<exclude>src/main/java/org/elasticsearch/common/network/InetAddresses.java</exclude>
|
||||||
<exclude>src/test/java/org/elasticsearch/common/network/InetAddressesTests.java</exclude>
|
<exclude>src/test/java/org/elasticsearch/common/network/InetAddressesTests.java</exclude>
|
||||||
<exclude>src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java</exclude>
|
<exclude>src/test/java/org/elasticsearch/common/collect/EvictingQueueTests.java</exclude>
|
||||||
|
<!-- Joda -->
|
||||||
|
<exclude>src/main/java/org/joda/time/base/BaseDateTime.java</exclude>
|
||||||
|
<exclude>src/main/java/org/joda/time/format/StrictISODateTimeFormat.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to Elasticsearch under one
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* license agreements. See the NOTICE file distributed with
|
||||||
* distributed with this work for additional information
|
* this work for additional information regarding copyright
|
||||||
* regarding copyright ownership. Elasticsearch licenses this
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* file to you under the Apache License, Version 2.0 (the
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* "License"); you may not use this file except in compliance
|
* not use this file except in compliance with the License.
|
||||||
* with the License. You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
* software distributed under the License is distributed on an
|
||||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* License for the specific language governing permissions and limitations under
|
* KIND, either express or implied. See the License for the
|
||||||
* the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to Elasticsearch under one
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* license agreements. See the NOTICE file distributed with
|
||||||
* distributed with this work for additional information
|
* this work for additional information regarding copyright
|
||||||
* regarding copyright ownership. Elasticsearch licenses this
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* file to you under the Apache License, Version 2.0 (the
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* "License"); you may not use this file except in compliance
|
* not use this file except in compliance with the License.
|
||||||
* with the License. You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
* software distributed under the License is distributed on an
|
||||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* License for the specific language governing permissions and limitations under
|
* KIND, either express or implied. See the License for the
|
||||||
* the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to Elasticsearch under one
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* license agreements. See the NOTICE file distributed with
|
||||||
* distributed with this work for additional information
|
* this work for additional information regarding copyright
|
||||||
* regarding copyright ownership. Elasticsearch licenses this
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* file to you under the Apache License, Version 2.0 (the
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* "License"); you may not use this file except in compliance
|
* not use this file except in compliance with the License.
|
||||||
* with the License. You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
* software distributed under the License is distributed on an
|
||||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* License for the specific language governing permissions and limitations under
|
* KIND, either express or implied. See the License for the
|
||||||
* the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2010 Google Inc.
|
||||||
|
*
|
||||||
|
* Licensed 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.
|
||||||
|
*/
|
||||||
|
|
||||||
package org.elasticsearch.common.inject.internal;
|
package org.elasticsearch.common.inject.internal;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* license agreements. See the NOTICE file distributed with
|
||||||
* this work for additional information regarding copyright ownership.
|
* this work for additional information regarding copyright
|
||||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* (the "License"); you may not use this file except in compliance with
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* the License. You may obtain a copy of the License at
|
* 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
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* software distributed under the License is distributed on an
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* See the License for the specific language governing permissions and
|
* KIND, either express or implied. See the License for the
|
||||||
* limitations under the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.elasticsearch.search.aggregations.metrics.percentiles.tdigest;
|
package org.elasticsearch.search.aggregations.metrics.percentiles.tdigest;
|
||||||
|
|
||||||
import com.tdunning.math.stats.AVLTreeDigest;
|
import com.tdunning.math.stats.AVLTreeDigest;
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to Elasticsearch under one
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* license agreements. See the NOTICE file distributed with
|
||||||
* distributed with this work for additional information
|
* this work for additional information regarding copyright
|
||||||
* regarding copyright ownership. Elasticsearch licenses this
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* file to you under the Apache License, Version 2.0 (the
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* "License"); you may not use this file except in compliance
|
* not use this file except in compliance with the License.
|
||||||
* with the License. You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
* software distributed under the License is distributed on an
|
||||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* License for the specific language governing permissions and limitations under
|
* KIND, either express or implied. See the License for the
|
||||||
* the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Licensed to Elasticsearch under one
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
* or more contributor license agreements. See the NOTICE file
|
* license agreements. See the NOTICE file distributed with
|
||||||
* distributed with this work for additional information
|
* this work for additional information regarding copyright
|
||||||
* regarding copyright ownership. Elasticsearch licenses this
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
* file to you under the Apache License, Version 2.0 (the
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
* "License"); you may not use this file except in compliance
|
* not use this file except in compliance with the License.
|
||||||
* with the License. You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing,
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
* software distributed under the License is distributed on an
|
||||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
* License for the specific language governing permissions and limitations under
|
* KIND, either express or implied. See the License for the
|
||||||
* the License.
|
* specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/*
|
/*
|
||||||
Licensed to Elasticsearch under one or more contributor
|
* Licensed to Elasticsearch under one or more contributor
|
||||||
license agreements. See the NOTICE file distributed with
|
* license agreements. See the NOTICE file distributed with
|
||||||
this work for additional information regarding copyright
|
* this work for additional information regarding copyright
|
||||||
ownership. Elasticsearch licenses this file to you under
|
* ownership. Elasticsearch licenses this file to you under
|
||||||
the Apache License, Version 2.0 (the "License"); you may
|
* the Apache License, Version 2.0 (the "License"); you may
|
||||||
not use this file except in compliance with the License.
|
* not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
Unless required by applicable law or agreed to in writing,
|
* Unless required by applicable law or agreed to in writing,
|
||||||
software distributed under the License is distributed on an
|
* software distributed under the License is distributed on an
|
||||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
KIND, either express or implied. See the License for the
|
* KIND, either express or implied. See the License for the
|
||||||
specific language governing permissions and limitations
|
* specific language governing permissions and limitations
|
||||||
under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.lucene.search.postingshighlight;
|
package org.apache.lucene.search.postingshighlight;
|
||||||
|
|
3
pom.xml
3
pom.xml
|
@ -986,8 +986,7 @@
|
||||||
<headerDefinition>${elasticsearch.license.headerDefinition}</headerDefinition>
|
<headerDefinition>${elasticsearch.license.headerDefinition}</headerDefinition>
|
||||||
</headerDefinitions>
|
</headerDefinitions>
|
||||||
<includes>
|
<includes>
|
||||||
<include>src/main/java/org/elasticsearch/**/*.java</include>
|
<include>src/**/*.java</include>
|
||||||
<include>src/test/java/org/elasticsearch/**/*.java</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
Loading…
Reference in New Issue