Resolved bugs reported in Issue 947. Also added SNAPSHOT suffix to the version by default.

This commit is contained in:
Anthony Whitford 2013-11-10 11:01:31 -08:00 committed by Mark Harrah
parent f3c050921a
commit 86b0098078
1 changed files with 6 additions and 8 deletions

View File

@ -9,8 +9,6 @@ A project should define :key:`name` and :key:`version`. These will be used in v
:type: setting :type: setting
:title: Set the project name :title: Set the project name
name := "demo"
:: ::
name := "Your project name" name := "Your project name"
@ -22,17 +20,17 @@ For published projects, this name is normalized to be suitable for use as an art
:type: setting :type: setting
:title: Set the project version :title: Set the project version
version := "1.0"
:: ::
version := "1.0" version := "1.0-SNAPSHOT"
.. howto:: .. howto::
:id: organization :id: organization
:type: setting :type: setting
:title: Set the project organization :title: Set the project organization
::
organization := "org.example" organization := "org.example"
By convention, this is a reverse domain name that you own, typically one specific to your project. It is used as a namespace for projects. By convention, this is a reverse domain name that you own, typically one specific to your project. It is used as a namespace for projects.
@ -41,9 +39,9 @@ A full/formal name can be defined in the :key:`organizationName` setting. This
:: ::
organization := "Example, Inc." organizationName := "Example, Inc."
organizationHomepage := "org.example" organizationHomepage := Some(url("http://example.org"))
.. howto:: .. howto::
:id: other :id: other
@ -59,5 +57,5 @@ A full/formal name can be defined in the :key:`organizationName` setting. This
description := "A build tool for Scala." description := "A build tool for Scala."
licenses += "GPLv2" -> "http://www.gnu.org/licenses/gpl-2.0.html" licenses += "GPLv2" -> url("http://www.gnu.org/licenses/gpl-2.0.html")