저는 실제로 Maven에서 도움을 원합니다. 내 JSON 테이블에서 JSON jar 파일을 사용하려고합니다.이 위치의 Github에 일부 필라 시제/비 메모리 코드가 있습니다. https://github.com/rcongiu/Hive-JSON-Serde. 위 링크의 메인 페이지에 POM 파일이 있습니다. 상위 POM 일 수도 있고 거기에있는 다른 폴더에도 다른 POM 파일이있을 수도 있습니다.Maven을 사용하여 GITHUB 프로젝트를 빌드하십시오.
json-serde 폴더에서 미리 만들어진 jar 파일을 미리 표시하고 싶습니다. 나는 그래서 우선 내가 치어 파일이 실제로 그것을 실행하려고 /etc/maven.I 내부에 배치해야 할 종속성에 대한 혼란 스러워요 Cannot validate serde : org.openx.data.jsonserde.jsonserde
여기에서 단계를 다음과 함께 결국 해요 관측 아래
<i>`[email protected]:/etc/maven$ sudo mvn -Pcdh5 clean package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.openx.data:json-serde:1.3.8-SNAPSHOT (/etc/maven/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.openx.data:json-serde-parent:pom:1.3.8-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException`</i>