hello-samza 기본 설정을 따르려고하고 있으며 "Samza 작업 패키지 빌드"를 지나칠 수 없습니다. 지정된 내가 최근 내가 실행하려고 Gradle을 떨어져 실행하고 다음과 같음 :hello-samza 데모 컴파일되지 않음
$ mvn clean package
:
$ ./gradlew publishToMavenLocal
FAILURE: Build failed with an exception.
* What went wrong:
Task 'publishToMavenLocal' not found in root project 'hello-samza'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
는 다음 나는 부트 스트랩이 실제로 그래서 난 그냥 다음 단계로 이동할 수 있다고 생각하는 것이 실행되는 것을보고 어떤 출력을 잔뜩 후, 궁극적으로 실패
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.819 s
[INFO] Finished at: 2016-08-11T16:51:20-06:00
[INFO] Final Memory: 11M/151M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hello-samza: Could not resolve dependencies for project org.apache.samza:hello-samza:jar:0.11.0: Failed to collect dependencies at org.apache.samza:samza-api:jar:0.11.0-SNAPSHOT: Failed to read artifact descriptor for org.apache.samza:samza-api:jar:0.11.0-SNAPSHOT: Could not transfer artifact org.apache.samza:samza-api:pom:0.11.0-SNAPSHOT from/to scala-tools.org (https://oss.sonatype.org/content/groups/scala-tools): Access denied to: https://oss.sonatype.org/content/groups/scala-tools/org/apache/samza/samza-api/0.11.0-SNAPSHOT/samza-api-0.11.0-SNAPSHOT.pom , ReasonPhrase:Forbidden. -> [Help 1]
[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/DependencyResolutionException
내가 다음 -X 스위치를 실행하고 이러한 오류의 무리를 참조하십시오
를org.eclipse.aether.transfer.MetadataTransferException: Could not transfer metadata org.apache.samza:samza-kafka_2.10:0.11.0-SNAPSHOT/maven-metadata.xml from/to scala-tools.org (https://oss.sonatype.org/content/groups/scala-tools): Access denied to: https://oss.sonatype.org/content/groups/scala-tools/org/apache/samza/samza-kafka_2.10/0.11.0-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
여기부터 진행하는 방법을 모르겠습니다. 나는 이전 버전이 나를 위해 일할 수 있었다는 것을 알고있다. Linux (내 이전 env)와 OS X (현재 env)의 차이점과 관련이 있습니까?
, 당신의 OS에 대한 태그를 추가 고려 : 는 명확하게하기 위해, 나는 다음과 같이 빌드 디렉토리 (
.../hello-samza
)에pom.xml
을 변경했습니다. – sixtytrees완료. 감사합니다 @ sixtytrees – RockyMountainHigh