Thanks Stanimir,
I modified my code like this.
JUNIT Module POM.XML
sample-project-ws
sample-project-ws
${project.version}
classes
test
My sample-project-ws POM.XML
org.apache.maven.plugins
maven-war-plugin
Tue, 1 May 2012 11:44:27 -0700, /Daivish Shah/:
I have following dependency declared in my UNIT Testing module project.
sample-project-ws
sample-project-ws
${project.version}
war
test
[...]
If you control the POM of "sample-project-ws" you could produce
additional 'clas
Break the WAR project into 2 projects.
One with code that makes a JAR and one without code to make a WAR.
You could put your unit tests in the jar project which is what most
people do or make a third project that has some test routines that test
your code.
Ron
On 01/05/2012 3:12 PM, Daivish
I have some integration UNIT test cases.
Which require me to include those JAVA files in my integration unit test
module, And this module is designed to include all UNIT test case for that
parent project.
I hope you got it. But do you have any solution of my question ?
On Tue, May 1, 2012 at 1
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.
sample-project