Re:Java Pain
by schmichael on Friday June 20, 2014 @12:46PM
(#7921518)
I don't think you read the article. You don't address his certificate issues. Your solution also requires writing a pom.xml which is non-trivial.
Maven can generate one for you:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Which is not trivial I suppose, but it is pretty easy to do.::head desk::
A pom.xml at least has a schema and tons of copy/paste examples. Every language sucks in it's own way.
Re:Java Pain
by fsdfweafwe on Friday June 20, 2014 @12:54PM
(#7921549)
to be fair this wouldn't work unless you have assembly/shade plugin configured.
rhodey@rhodey$ mvn package
rhodey@rhodey$ java -jar <package-name>.jar <command line options>