maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anamika gupta <anam...@hcl.com>
Subject Error at dbupgrade-maven-plugin:filelist-upgrade
Date Mon, 08 Aug 2011 06:12:29 GMT
Hi, 
 I am getting the following error while executing dbupgrade:fileList. Any
help would be greatly appreciated. Thanks a lot in advance.


*Error:-*

Failed to execute goal
org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade
(default) on project contactusDataAccessServices: Execution default of goal
org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade failed:
An API incompatibility was encountered while executing
org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade:
java.lang.NoSuchMethodError: java.sql.SQLException: method
<init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found


*where as my pom.xml*
<plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>dbupgrade-maven-plugin</artifactId>
           <version>1.0-beta-1</version>
          <dependencies>
              <dependency>
                   <groupId>com.oracle</groupId>
                    <artifactId>ojdbc14</artifactId>
                     <version>10.2.0.1.0XE</version>
                      <scope>compile</scope>
                </dependency>
         </dependencies>
           <executions>
                <execution>
                    <phase>compile</phase>
                     <goals><goal>filelist-upgrade</goal></goals>
                      <configuration>
                         <config>
                             
<driver>oracle.jdbc.driver.OracleDriver</driver>
                              <url>jdbc:oracle:thin:@***:ORCL</url>
                               <username>**</username>
                              <password>**</password>
                              
<scriptDirectory>src/main/resources/db-scripts</scriptDirectory>
                               
<upgradeFile>src/main/resources/db-scripts/testUpgrade.txt</upgradeFile>
                               
<versionTableName>_version</versionTableName>
                                
<versionColumnName>version</versionColumnName>
                             </config>
                         </configuration>
                    </execution>
            </executions>
     </plugin>


--
View this message in context: http://maven.40175.n5.nabble.com/Error-at-dbupgrade-maven-plugin-filelist-upgrade-tp4676684p4676684.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Mime
View raw message