Hi,

I'm using Maven 2.2.  I think I read somewhere that you cannot have a WAR as
a dependency because maven doesn't know how to read the WEB-INF/classes
directory.  I am finding this to be true because I have this dependency in
my test project ...

    <dependency>
        <groupId>myco.galc.capitol.tours</groupId>
        <artifactId>myco-galc-capitol-tours</artifactId>
        <version>1.0-SNAPSHOT</version>
        <type>war</type>
    </dependency>

but I am still getting compilation errors complaining that a class cannot be
found that I know to be in my WAR file.  What is the work-around for this? 
That is, how can I include a WAR as a dependency?

Thanks,  - Dave
-- 
View this message in context: 
http://old.nabble.com/How-do-you-include-classes-from-a-WAR-as-a-dependency--tp26593382p26593382.html
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