maven: multi module HAR dependencies
Posted
by QuanNH
on Stack Overflow
See other posts from Stack Overflow
or by QuanNH
Published on 2010-04-06T06:15:05Z
Indexed on
2010/04/06
7:53 UTC
Read the original article
Hit count: 214
I have a multiple module project
The first module contains my hibernate xml files and data java beans and packages as har. The second module defines my DAO classes. This module has a dependancy on data java beans with in the har and is defined in pom.xml.
<dependency>
<groupId>myproject</groupId>
<artifactId>myhar</artifactId>
<version>1.0</version>
<type>har</type>
</dependency>
The first module compiles, packages and installs fine into my local repository. The problem is when the second modules compiles it has a problem finding the packages and class defined in my har module. I get the following output from running mvn install
package myproject.myhar does not exist
and build fails.
© Stack Overflow or respective owner