[forge-issues] [JBoss JIRA] (FORGE-2638) project-new wizard to support Spring projects using the spring initializer wizard
Claus Ibsen (JIRA)
issues at jboss.org
Mon Apr 25 05:15:01 EDT 2016
[ https://issues.jboss.org/browse/FORGE-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196296#comment-13196296 ]
Claus Ibsen commented on FORGE-2638:
------------------------------------
As a first attempt we can call the start.spring.io rest url with the selection and let it generate the project.
{code}
To create a default demo.zip:
$ curl https://start.spring.io/starter.zip -o demo.zip
To create a web project using Java 7:
$ curl https://start.spring.io/starter.zip -d dependencies=web \
-d javaVersion=1.7 -o demo.zip
To create a web/data-jpa gradle project unpacked:
$ curl https://start.spring.io/starter.tgz -d dependencies=web,data-jpa \
-d type=gradle-project -d baseDir=my-dir | tar -xzvf -
To generate a Maven POM with war packaging:
$ curl https://start.spring.io/pom.xml -d packaging=war -o pom.xml
{code}
This is also how IDEA integrates with spring-boot wizard
> project-new wizard to support Spring projects using the spring initializer wizard
> ---------------------------------------------------------------------------------
>
> Key: FORGE-2638
> URL: https://issues.jboss.org/browse/FORGE-2638
> Project: Forge
> Issue Type: Feature Request
> Reporter: James Strachan
>
> The Spring Initalizr is a great way to create new spring based projects:
> https://github.com/spring-io/initializr
> e.g. you can try it online here:
> http://start.spring.io/
> it'd be great to have a Spring ProjectType which if selected takes you to a second wizard page that lets you configure the spring related capabilities when creating new projects via Forge
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the forge-issues
mailing list