On Thu, Oct 14, 2010 at 3:39 AM, Stephen Connolly <[email protected]> wrote: > Our C/C++ guys just use curl to POST the binaries to Nexus over > http... we also POST the .pom file and the .md5 and .sha1 files... > that is because one of their build toolchain envs cannot have Java on > it... Nexus will rebuild the metadata.xml files for you, so all you > really need is to post the .pom and the e.g. .so and the .pom.md5, > .pom.sha1, .so.md5 and .so.sha1 files and you're done.
I would think that you'd need whatever protocol Maven uses to actually put files on the repository. I guess the Maven protocol is simpler than I thought and simply uses webdav authentication and the mvn file::deploy simply calculates the URL for you. That's good to know. That means you can replace all of Maven with some fairly simple shell scripts using curl. Then in a non-Java project, all the Maven repositories do is provide a nice interface for searching and administration of a HTTP based repository. -- David Weintraub [email protected]
