Maven을 사용하여 moquette을 빌드하려고합니다. Maven을 완전하게 초보자로 삼고 있습니다.Maven : 종속성을 해결할 수 없습니다. (이슈를 찾을 수 없습니다.)
빌드 할 때 다음 명령을 사용하고 있습니다.
MVN 클린 설치 -U
그리고
MVN -U를 설치 청소 | 다음에 그렙 ERROR
결과 :
[ERROR] Failed to execute goal on project moquette-broker: Could not resolve dependencies for project org.eclipse.moquette:moquette-broker:jar:0.7-SNAPSHOT: Could not find artifact org.mapdb:mapdb:jar:1.1.0-SNAPSHOT in Paho Releases (https://repo.eclipse.org/content/repositories/paho-releases/) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :moquette-broker
은의 전체 출력
: 깨끗한MVN은 -e -X -U
는 here 찾을 수 있습니다 설치를 .
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<netty.version>4.0.24.Final</netty.version>
<source.version>1.7</source.version>
<target.version>1.7</target.version>
</properties>
<groupId>org.eclipse.moquette</groupId>
<artifactId>moquette-parent</artifactId>
<packaging>pom</packaging>
<version>0.7-SNAPSHOT</version>
<name>Moquette MQTT parent</name>
<url>http://code.google.com/p/moquette-mqtt/</url>
<modules>
<module>parser_commons</module>
<module>netty_parser</module>
<module>broker</module>
<module>distribution</module>
<module>bundle</module>
</modules>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</reporting>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${source.version}</source>
<target>${target.version}</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
무엇이 문제를 일으키는 나는이 문제를 어떻게 해결합니까 : 같은
내 의 pom.xml 보인다?
올바른 저장소를 사용하고 있습니까? 저장소 (https://repo.eclipse.org/content/repositories/paho-releases/)에 나열된 JAR 파일이 없습니다. – Ascalonian