我尝试通过调用命令
按照README文件使用maven编译TMT工具包源代码mvn compile
但是,由于项目根目录中没有pom.xml文件,maven无法编译项目。
我也尝试使用空的pom.xml。这是我得到的错误:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (/mnt/sdb2/software/stanford_tmt/pom.xml) has 1 error
[ERROR] Non-readable POM /mnt/sdb2/software/stanford_tmt/pom.xml: input contained no data
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
我的问题是:你们有没有遇到过类似的问题?如果是这样,那么你是如何解决它的?有没有办法在给定scala源文件的情况下生成pom.xml文件?