the solution to the problem was that i had declared
dw-web in the parent pom both as a module and dependency. after removing the dependency declaration the project compiled.
the "parent" pom should be an "aggregator", that is it should include modules of both dw-web and dw-test and itself have a packaging pom:
<project> ... <packaging>pom</packaging> <modules> <module>dw-web</module> <module>dw-test</module> </modules> </project>
with this setup, maven will automatically resolve the dependency graph and compile everything in the correct order (
dw-web first, and
so make sure that you have such a setup. of course there can be other reasons as well, the best would be adding relevant code snippets from all the pom files in the question.
- Error resolving dependency for maven multi module project
- Is this duplicating a Maven dependency in a multi module project (i.e Spring)?
- Maven dependencies not coming in eclipse for multi module maven project
- Multi module maven project not deploying executable Jar for dependent module
- Error "No GWT module found" for Maven project imported into Eclipse
- Maven Build Error during Build of Multi Module Project
- Eclipse error setting up Maven project for class exercise: Check $M2_HOME environment variable and mvn script match
- How to download sources for an specific JAR dependency of a Maven project
- Maven Multi Module Project Structuring Issues
- Maven error "Archetype catalog is empty" while creating Maven project for WebDriver with TestNG
- Trouble importing multi module maven project in to Eclipse (STS 2.5.2)
- Maven project dependency error in eclipse using m2e plugin (for maven)
- How to setup/import a multi maven module SVN-connected project in Eclipse the best way?
- Maven builds multi module project succesfully, Eclipse shows errors
- How do I import a multi module Maven project from SVN into Eclipse (Indigo) so that child modules can be built independently?
- Multi module maven project in a new local git repository?
- Eclipse or Spring Suit Error - Maven Project - Dynamic Web module cannot be changed to 3.1
- How to fix 'No plugin found for prefix 'archetype' error when creating a maven project
- How to fix internal error updating maven project for PMD
- Importing multiple multi module projects as maven project at once in eclipse
- multi module maven project structure in eclipse
- Maven and Eclipse: project build error dependency
- How to substitute a Maven dependency of a project for its fork on GitHub?
- Multi module maven project is not showing in package structure but as folder structure in eclipse
- Maven Multi Module Project breaking compile-time class resolution
- Problems with creating multi module maven project from SCM
- How to use (or integrate) maven pom.xml with an Eclipse Plugin project for dependency management
- SVN Checkout of multi module maven project causing build issues
- Eclipse Maven multi module project
- Getting Tomcat dependency error in Maven project
More Query from same tag
- JUnit testcase passes with eclipse but fails with maven build
- .gdbinit file missing
- CGIHTTPRequestHandler and SimpleHTTPRequestHandler in Eclipse on Mac in Firefox
- How to import external dependencies in gradle?
- Getting Eclipse CDT to use relative include paths in generated Makefiles
- Docker Toolbox on Windows set up from Eclipse
- Step 'Any Text' does not have a matching glue code after adding .feature file into eclipse
- hbase java program to create table build in maven eclipse giving error
- Integrating Spring MVC Apache Tiles and Hibernate
- Is there a way to make Eclipse Package Explorer show output directory content?
- Getting started with struts2
- How to edit XML parameter using Ant
- PrintWriter & File in java
- Selecting OSX SDK version in Eclipse and Makefiles
- How to create JUnit test cases for Guava's ArrayListMultiMap class in Eclipse?
- Tizen ide quits when tries to create new project
- how to scroll top of the page automatically when page is submitted
- utf8 without BOM encoding in eclipse
- Run single test within a test suite in Eclipse
- Eclipse: how to format all xml files in workspace?
- Header ImageView in Navigation Drawer - Android Eclipse
- Maven Dependency Errors in Eclipse
- The type org.pentaho.metastore.api.IMetaStore cannot be resolved
- Install Eclipse on Windows through Chef.
- SyntaxError: Non-UTF-8 code starting with '\x82'
- What are some tools to replace conventional performance testing (using stopwatch) of Java EE Spring projects in Eclipse?
- how to create an Eclipse View inside eclipse bundle class
- The method addElement is undefined for the type LinkedList
- Import ecore package / referenced resources in Xtext/MWE2