News for hackers. Stuff that matters.
Re:Java Pain by not_rhodey on Friday June 20, 2014 @12:38PM (#7921456)
you're kidding me, right?

rhodey@rhodey$ mvn package

rhodey@rhodey$ java -jar <package-name>.jar <command line options>

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.
Re:Java Pain by Malus on Friday June 20, 2014 @01:05PM (#7921595)
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.
Re:Java Pain by exabrial on Friday June 20, 2014 @01:54PM (#7921866)
::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.