maven: multi module HAR dependencies
- by QuanNH
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.