But as you see in the webapps pom.xml;
compile scope does not prevent jars from being copied to the war.
Any other suggestion?
Carlos Sanchez writes:
test-ejb should have test scope
On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote:
When I'm using mvn war:war
all dependent jars are copied into my war.
I put the dependencies in my pom to be able to compile.
Hers my pom:
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.mycompany.Test</groupId>
<artifactId>test-ejb</artifactId>
<version>1.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
In adition comses also j2ee.jar which is a dependency
in my ..\ejb\pom.xml for compiling test-ejb
Any solution?
I don't need this files because they are allready in Geronimo classpath, I
beleave.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]