Compile EXO Platform success! ! !

xiaoxiao2021-03-14  201

Download a Platform's SRC package, after unlocked new-build-instructions.txt, step by step. But when running mvn -f modules.xml clean install, error message is probably:

[Error] Build Error [INFO] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------- [Info] Error Executing Ant Tasks

Embedded error: Taskdef class xx.yy.zztask cannot be found

How can I pass, I have learned the Maven2 documentation, and I still can't do it.

Looking at Maven's Mail List Archive, I found a solution, just change the classpathref of the wrong POM's taskdef, from maven.dependency.classpath to maven.test.classpath

<-! Taskdef name = "hibernatedoclet" classname = "xdoclet.modules.hibernate.HibernateDocletTask" classpathref = "maven.dependency.classpath" /> ->

Such a POM.xml file may have a dozen, and then compile it.

Halo, I don't know why.

转载请注明原文地址:https://www.9cbs.com/read-129246.html

New Post(0)