You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exec:java currently needs a maven project (pom.xml) to load the project dependencies in order to find the main class (and its dependencies). It would be nice to run a exec:java without this requirement, so the goal could resolve dependencies passed by command line arguments and run the main method (also passed by command line argument).
exec:java goal could be altered, or a new goal (say, exec:anyjava) could be created so the impact on exec:java would be minimum. Also, a mechanism similar to dependency:get would be needed to resolve the dependencies that are passed by command line.
I have some working code that I'll send in a PR soon.
The text was updated successfully, but these errors were encountered:
exec:java
currently needs a maven project (pom.xml
) to load the project dependencies in order to find the main class (and its dependencies). It would be nice to run aexec:java
without this requirement, so the goal could resolve dependencies passed by command line arguments and run the main method (also passed by command line argument).exec:java
goal could be altered, or a new goal (say,exec:anyjava
) could be created so the impact onexec:java
would be minimum. Also, a mechanism similar to dependency:get would be needed to resolve the dependencies that are passed by command line.I have some working code that I'll send in a PR soon.
The text was updated successfully, but these errors were encountered: