maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederick N. Brier" <fbr...@multideck.com>
Subject dependency scope - provided and test
Date Sat, 21 Jul 2007 14:20:59 GMT
I am developing a portlet and the container provides the portlet 
implementation, so I used "provided" as the scope.  Unfortunately, the 
unit tests then generate NoClassDefFoundError(s).  If I use "test", the 
project does not build.  So what <scope> do I use?

      <dependency>
         <groupId>portlet-api</groupId>
         <artifactId>portlet-api</artifactId>
         <version>1.0</version>
         <scope>provided</scope>
      </dependency>

Also, if there are any examples out there for automated UI testing a 
Portlet, please let me know.  Thank you.

Fred

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


Mime
View raw message