mvn clean
또는 mvn clean install
또는 mvn eclipse:eclipse
과 같은 maven 명령을 실행할 때 아래 오류가 발생합니다.확인할 수없는 빌드 확장 : 플러그인 com.opencloud.maven.plugins : maven-opencloud-jainslee-plugin : 1.1
하지만 내 시스템에서 다른 다른 프로젝트를 실행할 수 있으므로 경로 문제 또는 프록시와 관련이없는 것으로 확신합니다. 다음은
내 오류입니다1. 빌드 한 프로젝트를 읽을 수 없습니다 [ERROR] -> [도움말 1] org.apache.maven.project.ProjectBuildingException : 일부 문제가 가 발생하고 처리하는 동안 리딩 :
2. [ERROR] Unresolveable 빌드 확장 : 플러그인 com.opencloud.maven.plugins : 받는다는 - opencloud-jainslee - 플러그인 : 해당 종속성 중 1.1 또는 1 확인할 수 없습니다 : 을 찾을 실패 "COM .opencloud.maven.plugins : maven-opencloud-jainslee-plugin : jar : 1.1 "의 "로컬 저장소에 캐시 된, 해상도는 중앙의 업데이트 간격이 경과하거나 업데이트 @ 강제 될 때까지 재 시도되지 않습니다
3. [ERROR] 알 수없는 포장 :"나는 생성
maven 명령을 사용하는 sbb 파일 mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=http://developer.opencloud.com/maven2/public
이 성공적으로 생성되었습니다.
이상이 내가 명령 라인과 일식 모두 깨끗한 받는다는을 실행할 때 오류 아래 얻을 것이다 내 pom.xml 파일
<modelVersion>4.0.0</modelVersion>
<groupId>com.bt</groupId>
<artifactId>myapp-sbb</artifactId>
<packaging>jainslee-sbb-jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>myapp SBB</name>
<dependencies>
<dependency>
<groupId>javax.slee</groupId>
<artifactId>jainslee-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.opencloud</groupId>
<artifactId>jainslee-base-classes</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.opencloud.maven.plugins</groupId>
<artifactId>maven-opencloud-jainslee-plugin</artifactId>
<extensions>true</extensions>
<version>1.1</version>
<configuration>
<jainsleeVersion>1.1</jainsleeVersion>
<createLibrary>true</createLibrary>
<createDeploymentUnit>true</createDeploymentUnit>
</configuration>
</plugin>
</plugins>
</build>
입니다
C:\Users\611542579\Documents\NOAS-CSG\Sample\com.bt>mvn clean
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project myApp:com.bt-sbb:1.0-SNAPSHOT
(C:\Users\611542579\Documents\NOAS-CSG\Sample\com.bt\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Error resolving version for plugin
'com.opencloud.maven.plugins:maven-opencloud-jainslee-plugin'
from the repositories
[local (C:\Users\611542579\.m2\repository),
central (http://repo.maven.apache.org/maven2)]:
Plugin not found in any plugin repository -> [Help 2]
[ERROR] Unknown packaging: jainslee-sbb-jar @ line 7, column 16
[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/PluginVersionResolutionException
안녕하세요 Pirho, 답장을 보내 주셔서 감사합니다. mvn org.apache.maven.plugins를 실행할 때 자동 생성 된 POM입니다. maven-archetype-plugin : 2.4 : generate -DarchetypeCatalog = http : //developer.opencloud.com/maven2/public 명령. 다른 시스템에서도 작동합니다. 그러나이 문제가 발생하는 것은 이상합니다. –
@chethanbhounsleyg는이 _system_s에 관한 정보를 제공하는 질문을 편집 할 수 있습니까? 그 중 어떤 것이 작동하고 작동하지 않습니까? – pirho
@chethanbhounsleyg 대답은 – pirho