Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 16:18
    sivaprasadreddy edited #806
  • Jan 31 2019 16:18
    sivaprasadreddy edited #806
  • Jan 31 2019 16:17
    sivaprasadreddy opened #806
  • Jan 31 2019 15:32
  • Jan 31 2019 15:14

    snicoll on new-generator

    Adapt to latest API change Move InitializrDefaultStarterBu… (compare)

  • Jan 31 2019 10:42

    snicoll on new-generator

    Switch project structure to use… (compare)

  • Jan 31 2019 10:34

    snicoll on master

    Upgrade to JUnit 5.4.0-RC1 Split metadata specific excepti… (compare)

  • Jan 31 2019 09:43

    snicoll on master

    Initiate 0.8.0.BUILD-SNAPSHOT v… (compare)

  • Jan 31 2019 08:13
    phoenigm starred spring-io/initializr
  • Jan 31 2019 03:43
  • Jan 31 2019 03:04

    mbhave on new-generator

    Adapt tests to use new API Customize build version based o… (compare)

  • Jan 30 2019 19:28
    mbhave closed #805
  • Jan 30 2019 19:27

    mbhave on master

    Fix generate release notes scri… (compare)

  • Jan 30 2019 19:26
    mbhave edited #805
  • Jan 30 2019 19:26
    mbhave commented #805
  • Jan 30 2019 19:05
    snicoll milestoned #805
  • Jan 30 2019 19:05
    snicoll labeled #805
  • Jan 30 2019 19:05
    snicoll assigned #805
  • Jan 30 2019 19:05
    snicoll opened #805
  • Jan 30 2019 19:04
    snicoll milestoned #804
Stéphane Nicoll
@snicoll
There some initial hacking here if you want to have a look: https://github.com/snicoll/initializr/tree/gh-870
it’s basic but I am considering abstracting the loading of contributors so that filtering is an implementation details
Stéphane Nicoll
@snicoll
@tgeens I’ve pushed something if you want to give it a try :)
zooobbby
@zooobbby
Hi, I'm currently using Java 14, but see that it is not an option on Spring Initializr. Any workaround? Thanks.
Stéphane Nicoll
@snicoll
Hello. Java 14 is no longer supported now that 15 is out. You can create a project and just change java.version to 14 (if you’re using Maven). Also, this is just setting the target level, it doesn’t prevent you from using Java 14 in any way
zooobbby
@zooobbby
OK, thanks.
Jaco van Tonder
@jacovt
Hello guys, I am fiddling with the start.spring.io code and I was wondering if anyone knows if there are keys in the config to change the defaults for group / artifact / name / description that are present on the display?
Stéphane Nicoll
@snicoll
Have you reviewed the reference documentation already?
Jaco van Tonder
@jacovt
Ugh. Facepalm moment. I did go though that, but it must not have clicked. Thanks for pointing that out. Much appreciated.
Stéphane Nicoll
@snicoll
It’s no problem at all. The relationship between start.spring.io, initializr and the rest of the ecossytem is not easy to grasp at first.
Jaco van Tonder
@jacovt
Hopefully will get the hang of it soon, but I will come knocking if I get stuck.
Abhinav Chawla
@abhinavchawla13
Hey everyone, firstly I'll like to clear I'm very new to Spring world, so please bare with me :D
I'm trying to use an initializer to generate a project, I have the @ProjectGenerationConfiguration setup with few beans, and it runs fine on the /starter.zip when called from CLI. But I'm trying to generate the entire folder structure on running the main() of the service, basically looking to generate this zip (or project folder) in my service directly without using the endpoint externally. Is there a way to do that?
Stéphane Nicoll
@snicoll
Yeah there’s a way to do that
Look at what ProjectGenerationInvoker does. It maps the web request to a ProjectDescription. In your case you could bypass all that completely
Doing the setup in a main is a bit more involved though as you need to load the infrastructure that’s currently done by InitializrAutoConfiguration
Jaco van Tonder
@jacovt
Hello everyone, nore sure if this has been addressed before, does initializr provide hooks / interfaces to create a multi-module structure? Has anyone attempted this. I am asking because we almost always create multi-module structures and are looking to generate that as a standard project internally. (We will be running our own customised version of Initializr). Any pointers here? Thanks in advance.
Stéphane Nicoll
@snicoll
Can you please refrain from using “guys”. While it may seem a small thing, some people feel excluded by "guys" and we don't want them to.
Jaco van Tonder
@jacovt
Understood. :)
Stéphane Nicoll
@snicoll
There’s an issue in the tracker with some context, have you seen it? spring-io/initializr#663
It’s definitely doable but the library does not provide “opinions” out-of-the-box for that
Jaco van Tonder
@jacovt
Yes, I have gone through that issue. I was checking if there might have been some change on that landscape since. Thank you for the feedback, @snicoll .
Stéphane Nicoll
@snicoll
None I am aware of besides some users have custom code that does that. I haven’t seen anything open source yet though
Jaco van Tonder
@jacovt
Would "opinions" / hooks be considered in the future for a more standardised approach for this? Even although it will not be someting that comes out the box for say start.spring.io?
Stéphane Nicoll
@snicoll
That’s the reason the issue is there and open, yes :)
Jaco van Tonder
@jacovt
Awesome, thank you!
wangxw
@christophe-liwei
I want to build start.spring.io on 0.9.2, but there is no version available. What should I do?
Stéphane Nicoll
@snicoll
@christophe-liwei Hello. I don’t understand what you mean by “no version available"
wangxw
@christophe-liwei
@snicoll I want to build my start.spring.io based on Spring Initializr 0.9.2, but the version of start.spring.io depends on GitHub is 0.10.0-snapshot, which is not available in the Maven repository. What should I do?
Stéphane Nicoll
@snicoll
You can try to downgrade and see what happens. start.spring.io is our service really, it’s not meant to be consumed “as a library”. If you want to use it, then you need to build 0.10.0-SNAPSHOT
Why do you start with start.spring.io? What do you need from it?
btw, 0.10.0-SNAPSHOT is available in the Maven repository. Perhaps your environment has blocked access to third party repo?
wangxw
@christophe-liwei
Not in the Maven central repository?
@snicoll
@snicoll Because I want to add some of my own dependencies to start.spring.io
Stéphane Nicoll
@snicoll
Then you need to follow along, sorry. start.spring.io is not a library
wangxw
@christophe-liwei
@snicoll ok, thanks
afanasevek
@afanasevek
hello everyone. I have project witch use spring boot 1.3.8. I have to upgrade version hibernate to v5. What I must add to resolve dependencies conflict ? When I tried, I have problems with with other dependencies (for example: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ussdDBEntityManagerFactory' defined in class path resource [com/intech/kievstar/config/DBUssdConfiguration.class]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError)
Toon Geens
@tgeens
I guess you'll have to upgrade spring boot first to a supported version ;-)
but this channel is not about spring-boot support - it's about https://start.spring.io and more specifically the library behind it (initializr)
Stéphane Nicoll
@snicoll
Thanks @tgeens. @afanasevek, please ask such questions on #spring-boot
afanasevek
@afanasevek
@tgeens thank you :)
shreyasprabhu121
@shreyasprabhu121
Hi guys, is there a way where I can capture the Project Description and Print it in my custom-initializer console when a new project is created?
Example:- my custom-initializer is running on port 8080 and whenever I create a new project out of it, all the new Project Details like groupid, artifactid must be printed in my custom-initializer console.
thank you.
Stéphane Nicoll
@snicoll
Hello. Not sure what you mean by “console"
shreyasprabhu121
@shreyasprabhu121
Hi, lets just say i just want to capture the new project details like atrifactid, groupid etc,
Stéphane Nicoll
@snicoll
I understood what you’re trying to capture. What is a “custom initializr console”?
shreyasprabhu121
@shreyasprabhu121
sry, i meant to say IDE terminal
Stéphane Nicoll
@snicoll
ProjectDescription is a bean in the project generation context you can inject like any other bean.