查看发现 
<plugin>
                                <groupId>org.apache.avro</groupId>
                                <artifactId>avro-maven-plugin</artifactId>
                                <version>${avro.version}</version>
                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>schema</goal>
                                                </goals>
                                                <configuration>
                                                
<testSourceDirectory>${project.basedir}/src/test/resources/avro</testSourceDirectory>
                                                        
<testOutputDirectory>${project.basedir}/target/generated-test-sources/</testOutputDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

这个编译插件的问题
同  flink 1.12 (编译没问题)比较发现:
区别:
<testOutputDirectory>${project.basedir}/src/test/java/</testOutputDirectory>

当我把flink 1.13/ master 改成这个就可以编译通过了。
我想知道有人遇到跟我一样的问题吗。是我环境的问题吗??





--
Sent from: http://apache-flink.147419.n8.nabble.com/

回复