Hacker News new | past | comments | ask | show | jobs | submit login

you're kidding me, right?

rhodey@rhodey$ mvn package

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




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.


::head desk::

A pom.xml at least has a schema and tons of copy/paste examples. Every language sucks in it's own way.


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.


to be fair this wouldn't work unless you have assembly/shade plugin configured.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: