Hi Eduardo,

>It's not enough to have the jar's in your repository, you must list  
>them in the pom.xml file so they are used during compilation.

Here is my modification in the main pom.xml:

bal...@black:/usr/local/src/geotools-2.5.8$ less pom.xml
...
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar
-DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
-->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>ojdbc6</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2.0/dbhome_1/lib/xmlparserv2.jar
-DgroupId=com.oracle -DartifactId=xmlparserv2 -Dversion=11.2.0
-Dpackaging=jar -->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>xmlparserv2</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2.0/dbhome_1/md/jlib/georasterapi.jar
-DgroupId=com.oracle -DartifactId=georasterapi -Dversion=11.2.0
-Dpackaging=jar -->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>georasterapi</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2.0/dbhome_1/md/jlib/sdoapi.jar
-DgroupId=com.oracle -DartifactId=sdoapi -Dversion=11.2.0 -Dpackaging=jar
-->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>sdoapi</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2
.0/dbhome_1/md/jlib/sdoutl.jar -DgroupId=com.oracle -DartifactId=sdoutl
-Dversio
n=11.2.0 -Dpackaging=jar -->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>sdoutl</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
        <!-- mvn install:install-file
-Dfile=/home/balazs/georaster/product/11.2.0/dbhome_1/rdbms/jlib/xdb.jar
-DgroupId=com.oracle -DartifactId=xdb -Dversion=11.2.0 -Dpackaging=jar -->
        <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>xdb</artifactId>
                <version>11.2.0</version>
                <type>jar</type>
                <optional>false</optional>
        </dependency>
...

best regards: Balázs Bámer
-- 
View this message in context: 
http://old.nabble.com/build-problem-tp27754729p27756402.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to