by

Maven Error: Could not calculate build plan

Whenever this error popped out:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Just go to Eclipse » Preferences » Maven » User Settings
And point the value to
...more


by

Multiple JDK in Mac OSX 10.10 Yosemite

It is very common for developers to setup multiple JRE environment. Some developers prefer using VM to install another version of JDK and keeping the default version in their local, but i prefer to install multiple JRE in my local machine. Here's how i do it on my Mac.


...more

by

How To Remove Empty Field Value From Solr

This is the correct query to delete index from solr which have an empty title value. Example in XML format:

<delete><query>-title: [* TO *]</query></delete>

In CURL

curl http://example.com:8983/solr/collection1/update?wt=json \
    -d "stream.body=<delete><query>-name: [* TO *]</query></delete>"


...more