Hey all,

  I'm having trouble with ${pom.basedir} in my project.  I have a few
XML files used by DBUnit, but DBUnit won't find the files when run in
netbeans (runs great on the command line).

The relevant parts:
          <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>dbunit-maven-plugin</artifactId>
                <dependencies>
                        <dependency>
                                <groupId>mysql</groupId>
                                <artifactId>mysql-connector-java</artifactId>
                                <version>5.0.5</version>
                        </dependency>
                </dependencies>
                <configuration>
                        <driver>com.mysql.jdbc.Driver</driver>
                        <format>flat</format>
                        <url>jdbc:mysql://localhost/quickstart</url>
                        <username>--</username>
                        <password>--</password>
                        <dataTypeWarning>true</dataTypeWarning>
                </configuration>
                                <executions>
                                        <execution>
                                                <id>testdata_upload_vto</id>
                                                <phase>test-compile</phase>
                                                
<goals><goal>operation</goal></goals>
                                                <configuration>
                                                        
<type>CLEAN_INSERT</type>
                                                        
<src>${pom.basedir}/src/test/data/db_vto.xml</src>
                                                        
<url>jdbc:mysql://localhost/vto</url>
                                                </configuration>
                                  ...


I get this back:

------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
src/test/data/db_vto.xml (No such file or directory)


Any ideas why ${pom.basedir} is apparently blank?

Where do I find documentation on the builtin properties like ${pom.basedir}?

And yeah, the file's still there :-)

Thanks in advance,

-Lally

-- 
H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to