Dear all,

I want to create a WAR application that contains some oracle jars.
However it seems maven only takes the first <dependency> of the same Id. 

The net effects are:
- missing JAR in the generated WAR.
- missing information in the "dependencies" web page

Here is a sample project.xml snip:

    <dependency>
            <id>oracle-jdbc</id> 
            <version>9i</version> 
            <jar>classes12.jar</jar> 
                  <properties>
                          <war.bundle>true</war.bundle>
                  </properties>
    </dependency>
    <dependency>
            <id>oracle-jdbc</id> 
            <version>9i</version>
            <jar>nls_charset.jar</jar> 
                  <properties>
                          <war.bundle>true</war.bundle>
                  </properties>
    </dependency>


Of course the jars exist in the correct location

Any idea?

Thanks,
Didier.

Reply via email to