Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the recommended way to make a Scala project available to the community?

I am currently writing a configuration file library (sort of Configgy replacement). For the moment, it's alpha release and stays well on GitHub. However, when the project will be stable enough, I plan to make the resulting JAR file widely available.

On Ruby I used the central RubyGems repository for that purpose. However, I have no idea what's the equivalent. I was thinking about using a Maven repository, but which one? And how?

I am using SBT 0.7.7 and I have no experience with Maven.

like image 406
paradigmatic Avatar asked Jul 03 '11 14:07

paradigmatic


People also ask

How do I make a Scala project?

Delegate a Scala project build to sbtPress Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment | Build Tools | sbt. In the sbt projects section, select a project for which you want to configure build actions. In the sbt shell section, select the builds option. Click OK to save the changes.

Which of the following build tools can be used to build Scala projects?

You can use several different tools to build your Scala projects, including Ant, Maven, Gradle, and more.


1 Answers

To get the most usage, I'd publish it to a Maven repository. There's the Scala Tools repository at http://scala-tools.org/ and there's Maven Central at http://maven.apache.org/guides/mini/guide-central-repository-upload.html.

There's also Scala's sbaz: http://www.scala-lang.org/node/93, which is similar to Ruby's gem.

like image 155
mpilquist Avatar answered Nov 15 '22 21:11

mpilquist