Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Toolkit MD-SAL-Simple Archetype compilation failure

I've attemped following this guide.

I was able to complete every step successfully up until doing a "mvn clean install" in the application after running the Generator (i.e "mvn clean install" in the generate directory) and deleting the generate directory.

So when running the "mvn clean install" in the created app's root I get the following error:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] test-app .......................................... SUCCESS [0.220s]
[INFO] test-app-model .................................... SUCCESS [3.799s]
[INFO] test-app-provider ................................. FAILURE [2.161s]
[INFO] test-app-consumer ................................. SKIPPED
[INFO] test-app-web ...................................... SKIPPED
[INFO] features-test-app ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.703s
[INFO] Finished at: Sat Jan 31 15:42:07 CET 2015
[INFO] Final Memory: 41M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project test-app-provider: Compilation failure
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module

Is there any guide to creating an ODL application that actually works? Because I've tried a few at this point and every single time I run into some issue.

Toolkit MD-SAL-Simple Archetype compilation failure

I've attemped following this guide.. I'm running Ubuntu 14.04.

I was able to complete every step successfully up until doing a "mvn clean install" in the application after running the Generator (i.e "mvn clean install" in the generate directory) and deleting the generate directory.

So when running the "mvn clean install" in the created app's root I get the following error:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] test-app .......................................... SUCCESS [0.220s]
[INFO] test-app-model .................................... SUCCESS [3.799s]
[INFO] test-app-provider ................................. FAILURE [2.161s]
[INFO] test-app-consumer ................................. SKIPPED
[INFO] test-app-web ...................................... SKIPPED
[INFO] features-test-app ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.703s
[INFO] Finished at: Sat Jan 31 15:42:07 CET 2015
[INFO] Final Memory: 41M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project test-app-provider: Compilation failure
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module

Is there any guide to creating an ODL application that actually works? Because I've tried a few at this point and every single time I run into some issue.

Toolkit MD-SAL-Simple Archetype compilation failure

I've attemped following this guide. I'm running Ubuntu 14.04.

I was able to complete every step successfully up until doing a "mvn clean install" in the application after running the Generator (i.e "mvn clean install" in the generate directory) and deleting the generate directory.

So when running the "mvn clean install" in the created app's applications root I get the following error:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] test-app .......................................... SUCCESS [0.220s]
[INFO] test-app-model .................................... SUCCESS [3.799s]
[INFO] test-app-provider ................................. FAILURE [2.161s]
[INFO] test-app-consumer ................................. SKIPPED
[INFO] test-app-web ...................................... SKIPPED
[INFO] features-test-app ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.703s
[INFO] Finished at: Sat Jan 31 15:42:07 CET 2015
[INFO] Final Memory: 41M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project test-app-provider: Compilation failure
[ERROR] /home/ubuntu/odl-apps/test-app/provider/src/main/java/org/opendaylight/controller/config/yang/config/task_provider/impl/TaskProviderModule.java:[12,7] error: TaskProviderModule is not abstract and does not override abstract method canReuse(Module) in Module

Is there any guide to creating an ODL application that actually works? Because I've tried a few at this point and every single time I run into some issue.