[ARCHETYPE-581] The build fails in the integration tests because 'build.log' is being copied and failed
diff --git a/maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/archetype.properties b/maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/archetype.properties b/maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/archetype.properties b/maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/archetype.properties b/maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/archetype.properties b/maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/build-and-run-its/archetype.properties b/maven-archetype-plugin/src/it/projects/build-and-run-its/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/build-and-run-its/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/build-archetype/archetype.properties b/maven-archetype-plugin/src/it/projects/build-archetype/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/build-archetype/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/build-ignore-eol/archetype.properties b/maven-archetype-plugin/src/it/projects/build-ignore-eol/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/build-ignore-eol/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/change-file-with-property/archetype.properties b/maven-archetype-plugin/src/it/projects/change-file-with-property/archetype.properties
index e6a512a..10d8aa3 100644
--- a/maven-archetype-plugin/src/it/projects/change-file-with-property/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/change-file-with-property/archetype.properties
@@ -23,3 +23,4 @@
 version=1.0-SNAPSHOT
 package=archetype
 someProperty=App
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/create-1/archetype.properties b/maven-archetype-plugin/src/it/projects/create-1/archetype.properties
index 49f78bd..01c0b39 100644
--- a/maven-archetype-plugin/src/it/projects/create-1/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-1/archetype.properties
@@ -24,4 +24,5 @@
 artifactId=test-create-1
 version=1.0-SNAPSHOT
 package=archetype
-someProperty=A String to search for
\ No newline at end of file
+someProperty=A String to search for
+excludePatterns=build.log,invoker.properties,verify.groovy
\ No newline at end of file
diff --git a/maven-archetype-plugin/src/it/projects/create-2/archetype.properties b/maven-archetype-plugin/src/it/projects/create-2/archetype.properties
index d9b47cb..3161a07 100644
--- a/maven-archetype-plugin/src/it/projects/create-2/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-2/archetype.properties
@@ -22,4 +22,5 @@
 artifactId=test-create-2
 version=1.0-SNAPSHOT
 package=org.apache.maven.archetype
-someProperty=A String to search for
\ No newline at end of file
+someProperty=A String to search for
+excludePatterns=build.log,invoker.properties,verify.groovy
\ No newline at end of file
diff --git a/maven-archetype-plugin/src/it/projects/create-4/archetype.properties b/maven-archetype-plugin/src/it/projects/create-4/archetype.properties
index c7c4a75..d412c8c 100644
--- a/maven-archetype-plugin/src/it/projects/create-4/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-4/archetype.properties
@@ -21,4 +21,5 @@
 artifactId=test-create-4
 version=1.0-SNAPSHOT
 package=org.apache.maven.archetype
-someProperty=A String to search for
\ No newline at end of file
+someProperty=A String to search for
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/create-5/archetype.properties b/maven-archetype-plugin/src/it/projects/create-5/archetype.properties
index 639397f..60ec7ef 100644
--- a/maven-archetype-plugin/src/it/projects/create-5/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-5/archetype.properties
@@ -16,3 +16,4 @@
 # under the License.
 archetype.groupId=archetypes
 archetype.version=1.0
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/create-6/archetype.properties b/maven-archetype-plugin/src/it/projects/create-6/archetype.properties
index 3bce41a..5d01555 100644
--- a/maven-archetype-plugin/src/it/projects/create-6/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-6/archetype.properties
@@ -18,3 +18,4 @@
 artifactId=create-6
 archetype.groupId=archetypes
 archetype.version=1.0
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/archetype.properties b/maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/archetype.properties
index 0d3bce8..81cd307 100644
--- a/maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/archetype.properties
@@ -15,4 +15,4 @@
 # specific language governing permissions and limitations
 # under the License.
 
-excludePatterns=**/toexclude/**
\ No newline at end of file
+excludePatterns=**/toexclude/**,build.log,invoker.properties,verify.groovy
\ No newline at end of file
diff --git a/maven-archetype-plugin/src/it/projects/create-from-project/archetype.properties b/maven-archetype-plugin/src/it/projects/create-from-project/archetype.properties
index 8fb65f9..46053d1 100644
--- a/maven-archetype-plugin/src/it/projects/create-from-project/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/create-from-project/archetype.properties
@@ -15,4 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-AppName App
\ No newline at end of file
+AppName App
+excludePatterns=build.log,invoker.properties,verify.groovy
\ No newline at end of file
diff --git a/maven-archetype-plugin/src/it/projects/exclude-patterns-2/archetype.properties b/maven-archetype-plugin/src/it/projects/exclude-patterns-2/archetype.properties
index c617e8d..92a5214 100644
--- a/maven-archetype-plugin/src/it/projects/exclude-patterns-2/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/exclude-patterns-2/archetype.properties
@@ -23,4 +23,4 @@
 version=1.0-SNAPSHOT
 package=archetype
 someProperty=App
-excludePatterns=**/.sonar/**
+excludePatterns=**/.sonar/**,build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/exclude-patterns/archetype.properties b/maven-archetype-plugin/src/it/projects/exclude-patterns/archetype.properties
index 9b8de3a..3145c8d 100644
--- a/maven-archetype-plugin/src/it/projects/exclude-patterns/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/exclude-patterns/archetype.properties
@@ -22,4 +22,4 @@
 version=1.0-SNAPSHOT
 package=archetype
 someProperty=App
-excludePatterns=.toexclude/**
+excludePatterns=.toexclude/**,build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/generate-basic/archetype.properties b/maven-archetype-plugin/src/it/projects/generate-basic/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/generate-basic/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/include-file-with-no-extension/archetype.properties b/maven-archetype-plugin/src/it/projects/include-file-with-no-extension/archetype.properties
index ba4c986..48b74ab 100644
--- a/maven-archetype-plugin/src/it/projects/include-file-with-no-extension/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/include-file-with-no-extension/archetype.properties
@@ -23,3 +23,4 @@
 artifactId=test
 version=1.0-SNAPSHOT
 package=archetype
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/included-system-properties/archetype.properties b/maven-archetype-plugin/src/it/projects/included-system-properties/archetype.properties
index 0b139a1..fd7f570 100644
--- a/maven-archetype-plugin/src/it/projects/included-system-properties/archetype.properties
+++ b/maven-archetype-plugin/src/it/projects/included-system-properties/archetype.properties
@@ -23,3 +23,4 @@
 artifactId=test
 version=1.0-SNAPSHOT
 package=archetype
+excludePatterns=build.log,invoker.properties,verify.groovy
diff --git a/maven-archetype-plugin/src/it/projects/property-setting-cli/archetype.properties b/maven-archetype-plugin/src/it/projects/property-setting-cli/archetype.properties
new file mode 100644
index 0000000..74cf9cb
--- /dev/null
+++ b/maven-archetype-plugin/src/it/projects/property-setting-cli/archetype.properties
@@ -0,0 +1,18 @@
+# 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.
+
+excludePatterns=build.log,invoker.properties,verify.groovy