나는 설치 사용받는다는 설치 플러그인이 : 설치 파일 오류
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<id>install-paho</id>
<phase>generate-resources</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/lib/paho.jar</file>
<groupId>org.eclipse</groupId>
<artifactId>paho</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
</configuration>
</execution>
</executions>
</plugin>
당신은 내가 그것을 결합 것을 찾을 수 있습니다 내 로컬 repository.My의 pom.xml 파일에 항아리를 설치 - 설치 파일을 다음과 같이 기록 단계는 '나는 순서 .IT는 아주 잘 작동 mvn eclipse:eclipse
사용 후-resources'.And를 생성하고 난 오류가있어 순서 mvn install:install-file
를 사용할 때 단지 내 로컬 repository.But에 복사되었습니다
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project xxx:
The parameters 'file' for goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file are missing or invalid -> [Help 1]
오류 메시지를 사용시 mvn compile
[ERROR] Failed to execute goal on project android-engine: Could not resolve dependencies for project com.youku.wireless:android-engine:jar:1.0-SNAPSHOT: Could not find artifact org.eclipse:paho:jar:1.0.0 in spring-milestone (http://maven.springframework.org/milestone) -> [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
나는 이해할 수 없다. 나는 'mvn compile'을 실행하지만 여전히 오류가있다. 나는 무엇인가 놓친다? – plucury
@ plucury. 'mvn compile'을 실행할 때 질문을 편집하고 maven 출력을 게시 할 수 있습니까? – Raghuram
@Raghurm 나는 이미 게시물을 편집했습니다. 도움을 청합니다. – plucury