>>>>> Stanimir Stamenkov <s7a...@aim.com.INVALID>:

> Does it work adding the dependency to the plugin dependencies, instead?

>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>exec-maven-plugin</artifactId>
>         <version>3.5.0</version>
>         <dependencies>
>             <dependency>
>                 <groupId>net.java.dev.msv</groupId>
>                 <artifactId>msv-rngconverter</artifactId>
>                 <version>2022.7</version>
>             </dependency>
>         </dependencies>
>         <executions>
>             ...
>         </executions>
>     </plugin>

No, that gave me the same error was when changing the scope to test:
 
https://gist.github.com/steinarb/7521ccc87c2e843aa7ee80f23df24911#file-pom-xml-L163

Ie. unable to find the mainClass specified.

I have tried both with just adding the dependency as in your example, as
well as with adding executableDependency in the above example (with the
executableDependency it was necessary to have the dependency on the top
level to set the <version>, so I know that something was picked up).


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

Reply via email to