CURL for RESTful Web Services
As easy as:
% curl -X GET -H “My-Header-Here: value” http://localhost/item/id?param=value
Man pages and tutorial at:
Cygwin port is available as well.
Deploy maven artifacts to public repository
Use following command to deploy third-party artifact to public repository:
mvn deploy:deploy-file -Dfile=application-0.0.1.jar -DgroupId=com.company -DartifactId=application -Dversion=0.0.1 -Dpackaging=jar -Durl=http://company.com/repository/url/thirdparty -DrepositoryId=repo-id
Source: http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
Install Maven artifacts to local repository
To install maven artifact to local repository without affecting public repository you will do the following thing:
mvn install:install-file -DgroupId=com.company -DartifactId=application -Dversion=0.0.1 -Dfile=application-0.0.1.jar -Dpackaging=jar -DgeneratePom=true
Source: http://maven.apache.org/plugins/maven-install-plugin/usage.html
Hello world!
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Thanks WordPress for your charity. Now let me start my notes. No deep thoughts or investigations, just quick tips and tricks to remember instead of writing them down to text file.