ODL 개발시 삽질 내역..

빌드를 하다 난 에러

1
2
3
4
5
6
7
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-banned-dependencies) on project singletonsimple-impl: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException

위 에러는 odl repository에서 버전을 찾지 못해 발생한 경우인데 이경우 impl을 빌드하다 발생 하였다 조치방법은

1
2
3
4
5
6
<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>config-parent</artifactId>
<version>0.6.0-SNAPSHOT</version>
<relativePath/>
</parent>

위에서 parent의 version을 찾지 못해 발생한건데 version 정보를 변경해주면 된다.

공유하기