Commit Graph

90 Commits

Author SHA1 Message Date
Stephane Nicoll
3849a7b5b9 Add support for custom dependency
Prior to this commit, only spring boot starters can be added as project
dependency using a simple String denoting the suffix of the artifactId.
The standard 'org.springframework.boot' and 'spring-boot-starter-'
artifactId prefix were assumed.

This commit allows to define arbitrary dependencies with arbitrary
identifiers; the groupId, artifactId and version of the dependency can
be specified. Internally, all dependencies are converted to that format
even the ones defined as standard spring boot starters.

To allow that, a ProjectRequest is now resolved against the initializr
metadata. If a request defines an unknown dependency, a simple String
will be still considered a spring-boot-starter but a more complex
unknown id will lead to an exception (e.g. 'org.foo:bar').

Fixes gh-17
2014-08-19 04:07:47 +02:00
Stephane Nicoll
964aef8bdb polishing 2014-08-19 02:56:49 +02:00
Stephane Nicoll
c22e357ee9 Add more configurable defaults
This commit introduces a set of customizable defaults for the generated
project, that is: groupId, artifactId, version, name, description and
packageName.

This complement the existing configurable defaults that are already
provided for action type, build type, language, java version and spring
boot version.

Fixes gh-19
2014-08-19 02:50:58 +02:00
Stephane Nicoll
a748819900 Fix indent 2014-08-19 02:15:27 +02:00
Stephane Nicoll
1ea33488f6 Initializr library
This commit splits the single file script in a library that can be
released and published to the central repository.

This allows anyone to start its own initializr instance with a
proper configuration file and the following simple script:

package app

@Grab('io.spring.initalizr:initializr:1.0.0.BUILD-SNAPSHOT')
class InitializerService { }

The integration tests have been migrated so that they run as
part of the build. Additional tests have been added to extract
the content of the generated archive and assert the directory
structure as well as the content of key files.

Fixes gh-20
2014-08-18 17:50:21 +02:00
Brian Clozel
4fbec9e0c0 Initializr UI update
This commit fully revisits the main UI of the service:

* upgrade to Twitter Bootstrap 3.2.x (CSS, theme, font, glyphs)
* add specific CSS
* add favicon

Besides, starters are now regrouped by themes and those themes
are nicely displayed in the UI

Fixes gh-23, gh-11
2014-08-18 14:31:28 +02:00
Dave Syer
143300aeb5 Update README with instructions for deploying app
The instructions should be explicit and precise enough for
anyone to deploy to production now. There is a Bamboo job
that should be doing it, but we've had some issue with it and
it often fails, whereas manual pushes always work. You need
a Cloudfoundry account with access to the Sagan organization
to push to production (ask Trevor Marshall).
2014-08-12 07:53:14 -07:00
Dave Syer
85de4b2bc2 Merge pull request #27 from snicoll/boot-1.1.5
Update to Boot 1.1.5
2014-08-12 07:40:14 -07:00
Stephane Nicoll
1db378281e Update to Boot 1.1.5
This commit updates the recommended version to Boot 1.1.5 and
provides an early access to boot 1.2.0 current build.
2014-08-12 10:56:23 +02:00
Dave Syer
868b31ca1b Bump versions 2014-07-08 15:09:47 +01:00
Dave Syer
5188402e16 Update versions 2014-07-07 14:55:17 +01:00
Dave Syer
81b789104a Update versions 2014-06-25 07:55:19 +01:00
Dave Syer
20697cd7ca Fix labelling of versions 2014-06-25 07:54:31 +01:00
Dave Syer
8b7c7898c3 Use snapshot to build app 2014-06-24 09:53:34 +01:00
Dave Syer
76e7f3f15c Add bootVersion to home page 2014-06-24 09:42:54 +01:00
Dave Syer
92f3e343b6 Add bootVersion feature as query param 2014-06-24 09:28:12 +01:00
Dave Syer
e184aa11d9 *.groovy has to be different filename (problem is CF buildpack) 2014-06-13 12:22:13 +01:00
Dave Syer
eff8f260f8 Update versions 2014-06-13 12:04:47 +01:00
Justin Wayne
f75833c488 correcting typo
Double ' removed.
2014-06-12 10:29:35 -04:00
Dave Syer
3b460d4ab3 Update versions 2014-06-11 08:30:09 +01:00
Dave Syer
70cbdafe31 Refactor templfile clean up 2014-06-05 13:26:32 +01:00
Dave Syer
844d1cf396 Use more groovy 2014-06-05 11:52:53 +01:00
Dave Syer
196fa8f2f0 Add additional gradle hints for eclipse
Fixes gh-16
2014-06-05 08:21:25 +01:00
Dave Syer
4f772e4a99 Add provided scope to war 2014-06-04 15:31:11 +01:00
Dave Syer
32b99a8350 Add title popovers to navbar links (fixes gh-15) 2014-05-30 14:07:05 +01:00
Dave Syer
8413c40c16 Fix bug in webStyle detection for zip 2014-05-30 11:12:43 +01:00
Dave Syer
009dcdcc4a Add templates and static dirs in webapp 2014-05-30 10:41:40 +01:00
Dave Syer
113b864e4b Add .groovy lang support 2014-05-30 09:50:24 +01:00
Dave Syer
eeb6a762a8 Fix bullet problem in UI 2014-05-30 08:56:22 +01:00
Dave Syer
ba480960c3 Add JavaVersion feature 2014-05-30 06:18:33 +01:00
Dave Syer
d6c77bb9ef Add support for WAR packaging 2014-05-29 16:26:47 +01:00
Dave Syer
f0e07531cc Extract config classes to TestConfiguration 2014-05-29 14:20:21 +01:00
Dave Syer
c62acf515e Use reactor-spring idioms 2014-05-29 14:20:17 +01:00
Dave Syer
54561770cc Add integration test 2014-05-28 17:26:53 +01:00
Tomas Lin
a243cf1685 Latest gradle version is 1.12 2014-05-06 17:26:21 -07:00
Dave Syer
58d4b29785 Fix version -> repo mapping in install.sh 2014-05-06 17:23:21 -07:00
Josh Long
ae9f7cbd81 Removed missing JMS option and fixed spelling of remote-shell
Fixes gh-8
2014-04-30 10:57:09 +01:00
Stephane Nicoll
bf95f10709 Fix maven warning
This commit fixes a warning displayed by Maven due to the fact that
no relativePath is set and maven defaults to the parent directory. As
the parent is never going to be available in such directory and we use
the maven repository to fetch it, this commit sets an unknown relative
path explicitly.

Also fixing to UTF-8 encoding which is a sane default. Fixing the
encoding removes some warning when copying filtered resources.
2014-04-30 09:58:53 +01:00
Stephane Nicoll
093ed35135 Fix pom alignment
This commit fixes an alignment issue for the test scope added for the
spring-boot-starter-test module.

Fixes gh-10
2014-04-30 09:58:33 +01:00
Dave Syer
63df612add Upgrade to 1.0.2 2014-04-24 18:08:51 +01:00
Tomas Lin
ce6582bc0f update to spring boot version 1.0.1.RELEASE 2014-04-11 09:30:31 -07:00
Tomas Lin
24a41ba3a1 update gradle version to 1.11 2014-04-11 05:30:15 +01:00
Dave Syer
eac229683f Remove unnecessary favicon 2014-04-11 05:24:43 +01:00
Andy Piper
d1c98423a3 Cleanup for spring.io, update docs
This commit contains a number of changes, no functional difference in
the app but a general cleanup of look and docs:

- removed the Gemfile which is now redundant, Cloud Foundry CLI is no
longer a Ruby app
- updated various parts of the README to reflect changes to Spring Boot
CLI (local flag no longer exists, etc) and new CF deployment procedure.
- fixed references to www.springsource.com -> spring.io throughout web
content
- added favicon reflecting new Spring branding
- updated github URLs springsource -> spring-projects
2014-04-11 05:19:02 +01:00
Dave Syer
7096aa8661 Add build.gradle to project 2014-04-01 19:46:00 +01:00
Dave Syer
218c7dd1e2 Leave out repositories if not necessary 2014-04-01 17:50:07 +01:00
Dave Syer
50f95ccf94 Add version to pom and gradle build 2014-04-01 17:22:18 +01:00
Dave Syer
9ed3be9ba9 Add 1.0.0.RELEASE to install.sh 2014-04-01 17:17:33 +01:00
Dave Syer
7b69933e25 Add boot version to info 2014-04-01 17:12:56 +01:00
Dave Syer
5beb8e45c7 Add application.properties 2014-04-01 08:57:06 +01:00