maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: How to include WAR dependency in project
Date Tue, 01 May 2012 18:59:13 GMT
What are you trying to do?
It is unusual for a WAR to be a dependency.
  Even more unusual for a WebService to be a dependency.

What are you testing?

Ron

On 01/05/2012 2:44 PM, Daivish Shah wrote:
> Hi,
>
> I have following dependency declared in my UNIT Testing module project.
>
> <dependency>
>      <groupId>sample-project-ws</groupId>
>      <artifactId>sample-project-ws</artifactId>
>
>       <version>${project.version}</version>
>
>      <type>war</type>
>      <scope>test</scope>
> </dependency>
>
>
> And i also have following entry in my unit testing module project
> which is different then my web service project.
>
> <plugins>
>      <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-war-plugin</artifactId>
>          <configuration>
>              <overlays>
>                  <overlay/>
>                  <overlay>
>                      <groupId>sample-project-ws</groupId>
>                      <artifactId>your-project-artifactId</artifactId>
>                  </overlay>
>              </overlays>
>          </configuration>
>      </plugin>
>
> And i am using Webservice depedency classes, in my JUNIT module which
> is build under that WAR project.
>
> But i am not able to add it, Please help me out on this.
>
>
> Thanks.
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message