I'm developing a maven project with following structure:
main // project which packaging is pom
|-- datalevel-project
|-- service-project
`-- web-ui-project
I'm trying to run project on tomcat but when I command mvn tomcat:run
on the folder of main project I get an error while it is building the service-project:
Failed to resolve artifact.
Missing:
1) datalevel-project:jar:0.0.1-SNAPSHOT
and so on..
I have set all child projects to main project with module
tag and all child projects have parent and its relativePath
to ../main
project.
Can somebody tell me where is the problem??