I have a maven project which runs on command line by running a script. I want to distribute it on both Windows and Linux. I have searched all the related posts but I didn't fully understood how I can create a .bat file for windows.
All my dependencies are copied to a folder named mavenLib and a jar file gets created in the target folder in ubuntu using:
export CLASSPATH=`ls -1 target/mavenLib/* | tr '\n' ':'`target/ClientPortfolioCreator-0.0.1-SNAPSHOT.jar
What is the alternative in windows?