I'm considering using a jQuery plugin in a commercial project. The plugin (datepicker) is "dual licensed":
Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
Now the MIT license is pretty permissive license, allowing me to use this code in a closed-source project. However, the GPL is a viral license, requiring me to license my software with the GPL or a more permissive license.
When software is licensed under two or more different license, do I have to comply with all the licenses or just one? How do you reconcile licenses if they conflict?