How to run a java class using maven

If you want to run a java class using maven, you can do it in this way:

time mvn -Dexec.classpathScope=runtime "-Dexec.args=-classpath %classpath
ro.www.operations.StaticAds" -Dexec.executable=java process-classes

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.