Results 1 to 2 of 2
Thread: Running my own Maven repo
- 03-09-2013, 09:56 AM #1
Running my own Maven repo
I'm starting to convert my personal projects to Maven. They currently reside in public svn repos on SourceForge. I just got Linux hosting, and I'm planning to set up a nightly cron job on the web host to check out (or update) the svn repos and build them with Maven.
Would creating a public Maven repo be as simple as copying the contents of my .m2 directory into public_html/maven2? (Or even symlinking it, if the server is configured to resolve symlinks outside the document root...)Get in the habit of using standard Java naming conventions!
- 03-18-2013, 09:17 AM #2
Re: Running my own Maven repo
To answer my own question:
My host gives me shell access, so I set up my POMs to deploy via ssh-wagon. Since my POMs are publicly distributed, the POM references the scp url as a property injected by my ~/.m2/settings.xml. Now I just type 'mvn deploy' and it uploads into my remote $HOME/public_html/maven.Get in the habit of using standard Java naming conventions!
- By arfeen.java in forum Apache MavenReplies: 0Last Post: 12-17-2012, 02:32 PM
- By rodneyc8063 in forum Java AppletsReplies: 7Last Post: 12-18-2011, 05:13 AM
- By kjkrum in forum EclipseReplies: 3Last Post: 06-14-2011, 04:49 AM
- By Sanjay Dwivedi in forum AWT / SwingReplies: 0Last Post: 08-26-2009, 02:03 PM
- By sbutt in forum EclipseReplies: 0Last Post: 04-20-2009, 07:26 PM