Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Tuesday, October 25, 2011

Uploading jar into local maven

So here is the commands I did to upload my jars into local maven .m2 folder


mvn install:install-file -Dfile=CKFinder-2.1.jar -DgroupId=com.fm.ckfinder -DartifactId=core -Dversion=2.1.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -Dfile=CKFinderPlugin-FileEditor-2.1.jar -DgroupId=com.fm.ckfinder -DartifactId=file-editor -Dversion=2.1.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -Dfile=CKFinderPlugin-ImageResize-2.1.jar -DgroupId=com.fm.ckfinder -DartifactId=image-resize -Dversion=2.1.0 -Dpackaging=jar -DgeneratePom=true

Then I edited core-2.1.0.pom and added the dependencies




com.fm.ckfinder
file-editor
${project.version}


com.fm.ckfinder
image-resize
${project.version}



That's all!

Wednesday, January 19, 2011

Tomcat utf-8 config

make the following changes and it will ok

<connector acceptcount="100" connectiontimeout="20000" executor="tomcatThreadPool" maxkeepaliverequests="15" port="${http.port}" protocol="HTTP/1.1" redirectport="8443" URIEncoding="UTF-8"></connector>