Add license

Signed-off-by: crazyhzm <crazyhzm@apache.org>
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/pom.xml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/pom.xml
index 7266d8e..700bfda 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/pom.xml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/pom.xml
@@ -1,4 +1,19 @@
-<?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">
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/java/org/apache/dubbo/nativeimage/consumer/NativeDemoConsumerApplication.java b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/java/org/apache/dubbo/nativeimage/consumer/NativeDemoConsumerApplication.java
index 702bed3..8da719e 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/java/org/apache/dubbo/nativeimage/consumer/NativeDemoConsumerApplication.java
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/java/org/apache/dubbo/nativeimage/consumer/NativeDemoConsumerApplication.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.dubbo.nativeimage.consumer;
 
 import org.apache.dubbo.config.annotation.DubboReference;
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/application.yml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/application.yml
index 14bea93..87aba89 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/application.yml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/application.yml
@@ -1,3 +1,17 @@
+# 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.
 
 spring:
   application:
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/logback-spring.xml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/logback-spring.xml
index 4085375..8bbedf1 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/logback-spring.xml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-consumer/src/main/resources/logback-spring.xml
@@ -1,4 +1,19 @@
-<?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.
+  -->
 <configuration>
     <include resource="org/springframework/boot/logging/logback/default.xml"/>
     <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/pom.xml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/pom.xml
index 98f5f61..2acd5db 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/pom.xml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/pom.xml
@@ -1,4 +1,19 @@
-<?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">
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/DemoService.java b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/DemoService.java
index b58fd6b..8e615ef 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/DemoService.java
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/DemoService.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.dubbo.nativeimage;
 
 
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloRequest.java b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloRequest.java
index 437796a..ada62c9 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloRequest.java
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloRequest.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.dubbo.nativeimage;
 
 import java.io.Serializable;
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloResponse.java b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloResponse.java
index 17fb708..c2133cb 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloResponse.java
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-interface/src/main/java/org/apache/dubbo/nativeimage/HelloResponse.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.dubbo.nativeimage;
 
 
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/pom.xml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/pom.xml
index e17103f..d7c056c 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/pom.xml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/pom.xml
@@ -1,4 +1,19 @@
-<?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">
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/java/org/apache/dubbo/nativeimage/provider/NativeDemoProviderApplication.java b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/java/org/apache/dubbo/nativeimage/provider/NativeDemoProviderApplication.java
index 416b611..be69686 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/java/org/apache/dubbo/nativeimage/provider/NativeDemoProviderApplication.java
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/java/org/apache/dubbo/nativeimage/provider/NativeDemoProviderApplication.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.dubbo.nativeimage.provider;
 
 import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/application.yml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/application.yml
index 33ce079..ac5691a 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/application.yml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/application.yml
@@ -1,4 +1,17 @@
-
+# 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.
 spring:
   application:
     name: dubbo-samples-nativeimage-provider
diff --git a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/logback-spring.xml b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/logback-spring.xml
index 4085375..8bbedf1 100644
--- a/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/logback-spring.xml
+++ b/1-basic/dubbo-samples-native-image/dubbo-samples-native-image-provider/src/main/resources/logback-spring.xml
@@ -1,4 +1,19 @@
-<?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.
+  -->
 <configuration>
     <include resource="org/springframework/boot/logging/logback/default.xml"/>
     <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
diff --git a/1-basic/dubbo-samples-native-image/pom.xml b/1-basic/dubbo-samples-native-image/pom.xml
index 2118065..0a768d0 100644
--- a/1-basic/dubbo-samples-native-image/pom.xml
+++ b/1-basic/dubbo-samples-native-image/pom.xml
@@ -1,4 +1,19 @@
-<?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">