Repository: flink
Updated Branches:
  refs/heads/master c376bf136 -> 08658bb06


[FLINK-7166] [avro, tests] cleanup generated test classes in the cleanup phase

Maven neither cleaned up generated avro classes used by tests nor did it replace
them with new ones after the avro dependency change causing troubles to build
the project. Although the target directory inside `src` is unusual, we keep it
for now but at least delete these files in the cleanup stage so that a
`mvn clean install` always works.

This closes #4309.
This closes #4290.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/08658bb0
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/08658bb0
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/08658bb0

Branch: refs/heads/master
Commit: 08658bb06fe331e7312f915be404580bcb835010
Parents: c376bf1
Author: Nico Kruber <[email protected]>
Authored: Wed Jul 12 14:15:24 2017 +0200
Committer: Tzu-Li (Gordon) Tai <[email protected]>
Committed: Wed Aug 2 22:29:52 2017 +0800

----------------------------------------------------------------------
 flink-connectors/flink-avro/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/08658bb0/flink-connectors/flink-avro/pom.xml
----------------------------------------------------------------------
diff --git a/flink-connectors/flink-avro/pom.xml 
b/flink-connectors/flink-avro/pom.xml
index 0ba9e8b..29d8169 100644
--- a/flink-connectors/flink-avro/pom.xml
+++ b/flink-connectors/flink-avro/pom.xml
@@ -135,6 +135,13 @@ under the License.
                                                </configuration>
                                        </execution>
                                </executions>
+                               <configuration>
+                                       <filesets>
+                                               <fileset>
+                                                       
<directory>${project.basedir}/src/test/java/org/apache/flink/api/io/avro/generated</directory>
+                                               </fileset>
+                                       </filesets>
+                               </configuration>
                        </plugin>
                        <!-- Generate Test class from avro schema -->
                        <plugin>

Reply via email to