Closed luyseyal closed 6 years ago
I figured it out, I needed to move the dependencies block into the plugin.
<build>
<plugins>
<plugin>
<groupId>com.khubla.antlr</groupId>
<artifactId>antlr4test-maven-plugin</artifactId>
<version>1.9</version>
<configuration>
<verbose>false</verbose>
<showTree>false</showTree>
<entryPoint>sql_script</entryPoint>
<grammarName>PlSql</grammarName>
<caseInsensitiveType>UPPER</caseInsensitiveType>
<packageName></packageName>
<exampleFiles>src/main/plsql/</exampleFiles>
</configuration>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.antlr.grammarsv4</groupId>
<artifactId>plsql</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Error I'm getting:
I'm building an internal project with pom.xml like this and I'm wondering how to get a Lexer/Parser into the classpath of the test.
(We are building the standard PL/SQL grammar/lexer jar internally and uploading to an internal maven repo, thus the dependency below...)
Thank you for your time,
Stephen