<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7" -->
<rss version="0.92">
<channel>
	<title>mariolatronico.org</title>
	<link>http://mariolatronico.org/blog</link>
	<description>My personal blog</description>
	<lastBuildDate>Tue, 22 Sep 2009 13:46:30 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Maven deploy file to a repository</title>
		<description>How to deploy third party artifact to a maven repository :

mvn deploy:deploy-file -DgroupId=myGroupId -DartifactId=myArtifactId -Dversion=2.6.5 -Dfile=filename.jar -Dpackaging=jar -Durl=http://mymavenrepo/

For example, to deploy the eclipse eswt to a repository :
mvn deploy:deploy-file -DgroupId=org.eclipse.eswt -DartifactId=eswt-converged
-win32 -Dversion=1.3.0 -Dfile=eswt-converged.jar -Dpackaging=jar -Durl=http://www.myurl.org/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty

In case of deploying of sources or javadoc use -Dclassifier=javadoc or -Dclassifier=sources
 </description>
		<link>http://mariolatronico.org/blog/?p=9</link>
			</item>
	<item>
		<title>Dynamically change CSS on body tag with dojo</title>
		<description>I searched on the net a quick and dirty way to change the CSS applied to the body tag and I eventually wrote a piace of code cutting and pasting from various sources on the net:


var cssRef = document.createElement("link");
cssRef.href = "mycss.css"
cssRef.rel = 'stylesheet';
cssRef.type = 'text/css';
dojo.query('head')[0].appendChild(cssRef);
dojo.body().setAttribute("class",value);
 </description>
		<link>http://mariolatronico.org/blog/?p=6</link>
			</item>
</channel>
</rss>
