Maven 从github中拉出apache beam编译错误
我是Apache beam新手,我从github下载最新的源代码,并在路径下编译runner模块:Maven 从github中拉出apache beam编译错误,maven,apache-beam,Maven,Apache Beam,我是Apache beam新手,我从github下载最新的源代码,并在路径下编译runner模块: ../beam/runner 使用命令:mvn package,它会像这样打印异常: ApacheBeam::Runners::核心构造Java。。。失败 有人对此有什么想法吗?谢谢 我将编译路径更改为主路径后,每个模块都编译成功。@Balajee Venkatesh 以下是我的编译步骤: 光驱 mvn编译 等待编译完成 我第一次执行mvn compile命令并遇到上面显示的异常是在pa
../beam/runner
使用命令:mvn package,它会像这样打印异常:
ApacheBeam::Runners::核心构造Java。。。失败
有人对此有什么想法吗?谢谢 我将编译路径更改为主路径后,每个模块都编译成功。@Balajee Venkatesh 以下是我的编译步骤:
<!-- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>-->
如何更改编译路径?你能让我准确地理解吗?在从GitHub安装最新的ApacheBeam项目时,我也面临类似的问题@kylinHi,在我将编译路径更改为./runners父路径后,我的编译路径第一次位于./runners/下,每个模块都编译成功。您是如何更改编译路径的?如果您能分享任何支持性的步骤或快照,我将感到非常荣幸。这是您正在谈论的${project\u loc:beam parent/runners}
?在设置运行配置时,我使用与基本目录相同的目录。
<!-- Rename the artifact produced by the Apache parent's
source release. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>**3.3.3**</version>
<executions>
<execution>
<id>source-release-assembly</id>
<configuration>
<finalName>apache-beam-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>