This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/master by this push:
new cfc66b9 Fixed the License header issue by using the rat plugin
cfc66b9 is described below
commit cfc66b9775bf1e17e5fa1387a23a1510c2b45383
Author: Willem Jiang <[email protected]>
AuthorDate: Fri Feb 9 18:15:41 2018 +0800
Fixed the License header issue by using the rat plugin
---
pom.xml | 6 ++++++
.../discovery/TestCseDiscoveryClientConfiguration.java | 16 ++++++++++++++++
.../discovery/TestCseRibbonClientConfiguration.java | 17 +++++++++++++++++
.../src/test/resources/schemas/completableFuture.yaml | 17 +++++++++++++++++
.../src/main/resources/config/base/log4j.properties | 17 +++++++++++++++++
5 files changed, 73 insertions(+)
diff --git a/pom.xml b/pom.xml
index f0e1171..e3b198f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -207,6 +207,7 @@
<exclude>DISCLAIMER</exclude>
<exclude>.travis.yml</exclude>
<exclude>**/*.md</exclude>
+ <excldue>**/*.MD</excldue>
<exclude>**/target/*</exclude>
<!-- Skip the ssl configuration files -->
<exculde>**/resources/ssl/**</exculde>
@@ -214,6 +215,11 @@
<exclude>**/*.proto</exclude>
<!-- Skip the idl files -->
<exclude>**/*.idl</exclude>
+ <!-- Skip the demo log files -->
+ <exclude>**/logs/**.log</exclude>
+ <!-- Skip the source files which are copied from vertx -->
+ <exclude>**/io/vertx/ext/web/impl/MimeTypesUtils.java</exclude>
+
<exclude>**/java/org/apache/servicecomb/transport/rest/vertx/RestBodyHandler.java</exclude>
</excludes>
</configuration>
</plugin>
diff --git
a/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseDiscoveryClientConfiguration.java
b/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseDiscoveryClientConfiguration.java
index e95a318..ad8f4dc 100644
---
a/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseDiscoveryClientConfiguration.java
+++
b/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseDiscoveryClientConfiguration.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.servicecomb.springboot.starter.discovery;
import org.junit.Assert;
diff --git
a/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseRibbonClientConfiguration.java
b/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseRibbonClientConfiguration.java
index 068f99e..078905f 100644
---
a/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseRibbonClientConfiguration.java
+++
b/spring-boot-starter/spring-boot-starter-discovery/src/test/java/org/apache/servicecomb/springboot/starter/discovery/TestCseRibbonClientConfiguration.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
package org.apache.servicecomb.springboot.starter.discovery;
import org.junit.Assert;
diff --git
a/swagger/swagger-generator/generator-core/src/test/resources/schemas/completableFuture.yaml
b/swagger/swagger-generator/generator-core/src/test/resources/schemas/completableFuture.yaml
index f1f525a..ffbdc84 100644
---
a/swagger/swagger-generator/generator-core/src/test/resources/schemas/completableFuture.yaml
+++
b/swagger/swagger-generator/generator-core/src/test/resources/schemas/completableFuture.yaml
@@ -1,3 +1,20 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
---
swagger: "2.0"
info:
diff --git
a/transports/transport-rest/transport-rest-vertx/src/main/resources/config/base/log4j.properties
b/transports/transport-rest/transport-rest-vertx/src/main/resources/config/base/log4j.properties
index 56eca6a..d19fd97 100644
---
a/transports/transport-rest/transport-rest-vertx/src/main/resources/config/base/log4j.properties
+++
b/transports/transport-rest/transport-rest-vertx/src/main/resources/config/base/log4j.properties
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
# access log default configuration
paas.logs.accesslog.dir=${paas.logs.dir}
paas.logs.accesslog.file=access.log
--
To stop receiving notification emails like this one, please contact
[email protected].