seunginah / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
0 stars 0 forks source link

Make semanticvectors available in central Maven repository #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm just looking at semanticvectors now. It would make it much easier to get 
started if the compiled jar were available for download from the central Maven 
repository. Most Java build systems look for libraries to be published there. 
It would make it much easier to run with not only with maven but also projects 
using gradle, ant+ivy, sbt, or most any other jvm build tool.

The steps would be:
1. Create a pom.xml file specifying the project's dependencies. You could do 
this manually or this can be done automatically with most build tools. It looks 
like if you setup ant to use ivy to automatically manage dependencies then you 
can use ant's makepom task 
http://ant.apache.org/ivy/history/latest-milestone/use/makepom.html (btw, I 
really prefer gradle to ant. you might want to check it out if you've never 
used it)
2. Create a username and password with Sonatype OSS. 
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage
+Guide
3. Sign the package. 
http://www.benmccann.com/blog/creating-asc-signature-files-with-gpg/
4. Upload the package to Sonatype

Original issue reported on code.google.com by benjamin...@gmail.com on 17 Oct 2013 at 7:23

GoogleCodeExporter commented 9 years ago
"Make the package work with maven" is certainly a medium-term goal. See 
https://code.google.com/p/semanticvectors/wiki/Ideas.

Would Sonatype be better than maven.org? Are they related? I'd assume by 
default that maven.org would be the place to get lists.

Getting the jar downloadable from somewhere other than the Google Code site 
might be necessary in the New Year anyway, since Google Code says they're 
discontinuing support for package downloads (sigh).

Original comment by dwidd...@gmail.com on 19 Oct 2013 at 4:08

GoogleCodeExporter commented 9 years ago
Sonatype is the organization that runs maven.org so you use the Sontaype OSS 
login to publish to maven.org

Original comment by benjamin...@gmail.com on 19 Oct 2013 at 4:17

GoogleCodeExporter commented 9 years ago
Revision 986 (https://code.google.com/p/semanticvectors/source/detail?r=986) 
sets up the project for maven.

For anyone interested, please checkout the latest code and run "mvn clean 
install" and check if it works. If so, we should move to release this as the 
main version soon.

I'll look into the Sonatype distribution as part of this process - thanks for 
the suggestion and explanation. 

Original comment by dwidd...@gmail.com on 11 Nov 2013 at 5:21

GoogleCodeExporter commented 9 years ago
This is finally accomplished I think. See 
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22semanticvectors%22

Please comment if anything should still be improved or changed. I'm still 
somewhat new to maven.

Original comment by dwidd...@gmail.com on 3 Dec 2013 at 11:16