java - Multi module vaadin applicationproblem -


i begin work vaadin framework , maven , face trouble. had application works vaadin , maven. tried divide application in 2 sub-modules, 1 business method (compiled in jar) , 1 vaadin ui.

so project following:

vaadin-maven

vaadin-maven-biz (business code)
vaadub-maven-web (with vaadin code)

in web pom, add business app dependency.

when run maven package on parent project, ok, build success both project, if try run webapp on jetty jetty:run had following problem.

[info] ------------------------------------------------------------------------ [info] building vaadin web application 0.0.1-snapshot [info] ------------------------------------------------------------------------ [info] >>> jetty-maven-plugin:8.1.13.v20130916:run (default-cli) @ vaadin-maven-web >>> [info] ------------------------------------------------------------------------ [info] build failure<br> [info] ------------------------------------------------------------------------ [info] total time: 1.263s [info] finished at: mon oct 07 17:08:46 cest 2013 [info] final memory: 5m/102m [info] ------------------------------------------------------------------------ [error] failed execute goal on project vaadin-maven-web: not resolve dependencies project example.vaadin-maven:vaadin-maven-web:war:0.0.1-snapshot: failed collect dependencies (all dependies list there): failed read artifact descriptor example.vaadin-maven:vaadin-maven-biz:jar:0.0.1-snapshot: failure find example.vaadin-maven:vaadin-maven:pom:0.0.1-snapshot in http://maven.vaadin.com/vaadin-addons cached in local repository, resolution not reattempted until update interval of vaadin-addons has elapsed or updates forced -> [help 1] [error] 

i search lot on internet , tried solution nothing works.
me?

i think jetty has problem finding maven submodules. try this


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -