To set up a Maven Repository, all you have to do is set up a http browseable web structure similar to your local repository. The simplest way to do this is to set up a subversion repository on a web server and use that. If you don't have a web server, just set up a subversion project on code.google.com and use that.
After you set up your subversion web server. Do a checkout and add your dependencies.
After checking out, create a folder at the same level as braches/tag/trunk called repository.
The simplest way to then add dependencies is to install a jar to your local repository and move its path to your repository folder:
1. Install the jar to your local repository (~/Users/yourname/.m2/repository)
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
-DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> \
-DgeneratePom=true
e.g.:
mvn install:install-file -Dfile=gaelyk-0.4.jar -DgroupId=groovyx.gaelyk \
-DartifactId=gaelyk -Dversion=0.4 -Dpackaging=jar -DgeneratePom=true
2. Move the path to your subversion repository folder.
mv /Users/yourname/.m2/repository/groovyx/yourcheckoutfolder/repository
Then commit those files:
svn add .
svn commit -m "Commited Gaelyk 0.4 to my maven repo."
Now all you have to do is add your svn url to the repository section of any pom.xml that you want to use your repository and you are done.
e.g.:
<repositories>
<repository>
<id>maven-gaelyk-repo</id>
<name>maven-gaelyk repository</name>
<url>http://maven-gaelyk.googlecode.com/svn/repository</url>
</repository>
</repositories>