Hi,
I need to make a war file of my project who is dependent on the spring . I have referred the dependency as
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
</dependency>
The outcome i get is that in the lib folder of war file , I get two jars commons-logging.jar and spring-core.jar . I saw the pom.xml of spring-core module and it has also the dependency of commons-collections but that jar is not imported and included in my war file as <optional>true</optional> has bee set in spring-core pom.xml .
Is there any way to include all the jars whether optional , provided ,
test etc while building war