The ADF-specific WLST commands can be used with Maven.
To load a set of custom ADF-specific WLST commands, the com.oracle.adf
groupID and the adf-wlst-dependencies
artifactId must be specified in the POM's <build> section for the weblogic-maven-plugin as follows:
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>wlst-test</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>12.1.4-0-0</version> <executions> <execution> <phase>compile</phase> <goals> <goal>wlst-client</goal> </goals> <configuration> <fileName>${project.basedir}/misc/test.py</fileName> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>com.oracle.adf</groupId> <artifactId>adf-wlst-dependencies</artifactId> <version>12.1.4-0-0</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>