Running ETL files from Maven

If you are using Maven, and your project includes dependency to scriptella-tools:

      <dependency>
        <groupId>com.javaforge.scriptella</groupId>
        <artifactId>scriptella-tools</artifactId>
        <version>1.0</version>
      </dependency>

You can always use the following command to execute various ETL files:

mvn exec:java -Dexec.mainClass="scriptella.tools.launcher.EtlLauncher" -Dexec.args="/path/to/etl/file.xml"
Advertisements