spring-boot/spring-boot-cli
Stephane Nicoll 73ee6652fd Use project location to infer the artifactId
On start.spring.io, if you customize the artifactId it creates a zip file
with the same name. The `spring init` command did not have a similar
shortcut.

This commit updates the request to customize the artifactId if none is
set and a custom location was specified. Just as we check for the
presence of a dot to figure out if we have to extract the archive or not,
we check for it to generate an artifactId without an extension.

In practice, `spring init foo` creates a foo directory with a project
whose artifactId is `foo` and `spring init foo.zip` stores a foo.zip
file with the same project (i.e. the artifactId is `foo`).

Closes gh-3714
2015-08-14 17:10:21 +02:00
..
samples Polish 2015-06-15 11:44:44 -07:00
src Use project location to infer the artifactId 2015-08-14 17:10:21 +02:00
test-samples Start building against Reactor 2.0.1 snapshots 2015-04-27 13:47:42 +01:00
pom.xml Add Maven incantation to make STS 3.7 happy 2015-07-10 15:56:40 +01:00