I have a Project A (util_common) which is a multi-module project which
generates a zip file during its assembly (which contains all its sub-module
jars) and i installed  it in the local repository using
install:install-file.

Now, I want to add dependency to Project A (util_common) zip file in the
Project B pom file.  
<dependency>
        <groupId>com.proj.risk</groupId>
        <artifactId>util_common</artifactId>                    
        <version>1.0</version>
        <type>zip</type>
</dependency>

However, the dependency to the jar files inside the util_common zip file is
not getting resolved from Project B.

I  tried unpack all the jar files during the assembly phase, so that zip
file contains the sources of jar files rather individual jar files. But, it
did not work.

I think the problem might be due to some classpath issue while referencing,
though not sure. 

I would like to know if this is possible in maven?  If so, how?

Thanks in advance, Murali



-- 
View this message in context: 
http://www.nabble.com/Issue-in-dependency-resolution-to-zip-file-%28having-muliple-jars%29-tf4888364s177.html#a13991793
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to