ryanjbaxter / generator-sb

Spring Boot Yeoman Generator
Apache License 2.0
3 stars 3 forks source link

maven pom.xml #1

Closed tspannatpivotal closed 10 years ago

tspannatpivotal commented 10 years ago

When the yeoman generator completes, I get a pom with unreplaced tags:

<version><%= springBootVersion %></version>
ryanjbaxter commented 10 years ago

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

tspannatpivotal commented 10 years ago

None were replaced. I selected a lot of options. Test jpa mongo websocl amqp

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

tspannatpivotal commented 10 years ago

Using h2 andbasic options worked

This is on mac

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

ryanjbaxter commented 10 years ago

OK let me look at that....I had been using it with a very specific set of options...probably a bug in my logic.

On Mon, Oct 20, 2014 at 7:22 PM, Tim Spann notifications@github.com wrote:

Using h2 andbasic options worked

This is on mac

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59856111 .

ryanjbaxter commented 10 years ago

You would of had to select h2 (or one of the other options) originally if you selected JPA. I tried running it without selecting JPA and it produced a valid POM....not sure what you chose that messed things up. Mind trying to reproduce it again?

On Mon, Oct 20, 2014 at 7:27 PM, Ryan Baxter rbaxter85@gmail.com wrote:

OK let me look at that....I had been using it with a very specific set of options...probably a bug in my logic.

On Mon, Oct 20, 2014 at 7:22 PM, Tim Spann notifications@github.com wrote:

Using h2 andbasic options worked

This is on mac

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59856111 .

tspannatpivotal commented 10 years ago

timothynpivotal:sbootprojects tspann$ yo sb


/ / ____(_ __ _ / ) / / \/ \/ **/ / \/ `/ / / \/ \/ / __/ / // / / / / / / / // / / // / // / // / /_ /**/ .// /// /_/\, / /_/**/**// /_/ // Scaffolds your Spring Boot application. ? What would you like to call this app? weather ? What version of Spring Boot would you like to use? 1.1.8.RELEASE ? What package name would you like to use for your app? io.pivotal.wather ? Select which application starters you would like to use. JPA - Support for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate. ? Select the in-memory DB you want to use for development. H2 ? Do you want to deploy this app to Cloud Foundry? Yes ? Do you want to add the Spring Cloud Connectors to your app? Yes ? Which version of Spring Cloud would you like to use? 1.1.0.RELEASE ? Select which cloud services you would like to configure. Data Source ? Would you like to add the MySQL driver dependency for the cloud data source? Yes ? Would you like to add a Maven Profile to deploy your app to Cloud Foundry? No create src/main/java/io/pivotal/wather/App.java create src/main/resources/application.properties create src/main/java/io/pivotal/wather/config/Config.java create .gitignore create README.md create pom.xml timothynpivotal:sbootprojects tspann$ more pom.xml

4.0.0 io.pivotal.wather weather 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent 1.1.8.RELEASE

imothynpivotal:weather tspann$ yo sb


/ / ____(_ __ _ / ) / / \/ \/ **/ / \/ `/ / / \/ \/ / __/ / // / / / / / / / // / / // / // / // / /_ /**/ .// /// /_/\, / /_/**/**// /_/ // Scaffolds your Spring Boot application. ? What would you like to call this app? weather ? What version of Spring Boot would you like to use? 1.1.8.RELEASE ? What package name would you like to use for your app? io.pivotal.weather ? Select which application starters you would like to use. JPA - Support for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate. ? Select the in-memory DB you want to use for development. ? Do you want to deploy this app to Cloud Foundry? Yes ? Do you want to add the Spring Cloud Connectors to your app? Yes ? Which version of Spring Cloud would you like to use? 1.1.0.RELEASE ? Select which cloud services you would like to configure. Data Source, Mongo DB, Redis, Rabbit MQ ? Which Rabbit MQ Client version would you like to use? 3.0.3 ? Would you like to add the MySQL driver dependency for the cloud data source? Yes ? Would you like to add a Maven Profile to deploy your app to Cloud Foundry? No create src/main/java/io/pivotal/weather/App.java create src/main/resources/application.properties create src/main/java/io/pivotal/weather/config/Config.java create .gitignore create README.md create pom.xml timothynpivotal:weather tspann$ more pom.xml

4.0.0 <%= packageName %> <%= appName %> 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent <%= springBootVersion %> UTF-8 <%= packageName %>.App 1.7

On Mon, Oct 20, 2014 at 7:27 PM, Ryan Baxter notifications@github.com wrote:

OK let me look at that....I had been using it with a very specific set of options...probably a bug in my logic.

On Mon, Oct 20, 2014 at 7:22 PM, Tim Spann notifications@github.com wrote:

Using h2 andbasic options worked

This is on mac

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub < https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59856111>

.

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59856589 .

_Timothy Spann Senior Field Engineer_Direct: 848-250-1531 |* tspann@pivotal.io http://pivotal.io*

tspannatpivotal commented 10 years ago

It breaks when i add a lot of options like actUator jpa mobile gemfire log4j and more with cf and cloud and configure all cloud services

Tim Spann Pivotal

On Oct 20, 2014, at 7:35 PM, Ryan Baxter notifications@github.com wrote:

You would of had to select h2 (or one of the other options) originally if you selected JPA. I tried running it without selecting JPA and it produced a valid POM....not sure what you chose that messed things up. Mind trying to reproduce it again?

On Mon, Oct 20, 2014 at 7:27 PM, Ryan Baxter rbaxter85@gmail.com wrote:

OK let me look at that....I had been using it with a very specific set of options...probably a bug in my logic.

On Mon, Oct 20, 2014 at 7:22 PM, Tim Spann notifications@github.com wrote:

Using h2 andbasic options worked

This is on mac

Tim Spann Pivotal

On Oct 20, 2014, at 6:54 PM, Ryan Baxter notifications@github.com wrote:

@tspannatpivotal this generally happens when I screw up the logic in the generator. Can you tell me how you answered the questions? Is that the only tag that was unreplaced or are there others? Did you specify your own spring boot version?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59856111 .

— Reply to this email directly or view it on GitHub.

tspannatpivotal commented 10 years ago

timothynpivotal:weather tspann$ yo sb


/ / ____(_ __ _ / ) / / \/ \/ **/ / \/ `/ / / \/ \/ / __/ / // / / / / / / / // / / // / // / // / /_ /**/ .// /// /_/\, / /_/**/**// /_/ // Scaffolds your Spring Boot application. ? What would you like to call this app? weather ? What version of Spring Boot would you like to use? 1.1.8.RELEASE ? What package name would you like to use for your app? io.pivotal.weather ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ◉ Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. Actuator - Adds production ready features such as metrics and monitoring., JPA - Support for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate., Websocket - Support for websocket development with Tomcat., AMQP - Support for the “Advanced Message Queuing Protocol” via spring-rabbit., MongoDB - Support for the MongoDB NoSQL Database, including spring-data-mongodb., Mobile - Support for spring-mobile., Redis - Support for the REDIS key-value data store, including spring-redis., Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring-test module., Remote Shell - Adds remote ssh shell support., Log4j - Support the Log4J logging framework., GemFire - Support for the GemFire distributed data store including spring-data-gemfire. ? Select the in-memory DB you want to use for development. H2 ? Do you want to deploy this app to Cloud Foundry? Yes ? Do you want to add the Spring Cloud Connectors to your app? Yes ? Which version of Spring Cloud would you like to use? 1.1.0.RELEASE ? Select which cloud services you would like to configure. Data Source, Mongo DB, Redis, Rabbit MQ ? Which Rabbit MQ Client version would you like to use? 3.0.3 ? Would you like to add the MySQL driver dependency for the cloud data source? Yes ? Would you like to add a Maven Profile to deploy your app to Cloud Foundry? No create src/main/java/io/pivotal/weather/App.java create src/main/resources/application.properties create src/main/java/io/pivotal/weather/config/Config.java create .gitignore create README.md create pom.xml timothynpivotal:weather tspann$ more pom.xml

4.0.0 <%= packageName %> <%= appName %> 0.0.1-SNAPSHOT org.springframework.boot spring-boot-starter-parent <%= springBootVersion %>
ryanjbaxter commented 10 years ago

Pull in the change I just submitted and give it another shot there was a problem with the rabbitmq cloud service.

On Mon, Oct 20, 2014 at 7:56 PM, Tim Spann notifications@github.com wrote:

timothynpivotal:weather tspann$ yo sb

/ _/ __( _ / )__ ___ / / \/ __ \/

/ / \/ `/ / / \/ \/ / / / // / / / / / / / // / / // / // / // / / // .// /// //_, / /___//// // /_/ Scaffolds your Spring Boot application. ? What would you like to call this app? weather ? What version of Spring Boot would you like to use? 1.1.8.RELEASE ? What package name would you like to use for your app? io.pivotal.weather ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ◉ Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. Actuator - Adds production ready features such as metrics and monitoring., JPA - Support for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate., Websocket - Support for websocket development with Tomcat., AMQP - Support for the “Advanced Message Queuing Protocol” via spring-rabbit., MongoDB - Support for the MongoDB NoSQL Database, including spring-data-mongodb., Mobile - Support for spring-mobile., Redis - Support for the REDIS key-value data store, including spring-redis., Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring-test module., Remote Shell - Adds remote ssh shell support., Log4j - Support the Log4J logging framework., GemFire - Support for the GemFire distributed data store including spring-data-gemfire. ? Select the in-memory DB you want to use for development. H2 ? Do you want to deploy this app to Cloud Foundry? Yes ? Do you want to add the Spring Cloud Connectors to your app? Yes ? Which version of Spring Cloud would you like to use? 1.1.0.RELEASE ? Select which cloud services you would like to configure. Data Source, Mongo DB, Redis, Rabbit MQ ? Which Rabbit MQ Client version would you like to use? 3.0.3 ? Would you like to add the MySQL driver dependency for the cloud data source? Yes ? Would you like to add a Maven Profile to deploy your app to Cloud Foundry? No create src/main/java/io/pivotal/weather/App.java create src/main/resources/application.properties create src/main/java/io/pivotal/weather/config/Config.java create .gitignore create README.md create pom.xml timothynpivotal:weather tspann$ more pom.xml

4.0.0 <%= packageName %> <%= appName %> 0.0.1-SNAPSHOT

org.springframework.boot spring-boot-starter-parent <%= springBootVersion %>

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59859190 .

tspannatpivotal commented 10 years ago

fixed!

On Mon, Oct 20, 2014 at 8:01 PM, Ryan Baxter notifications@github.com wrote:

Pull in the change I just submitted and give it another shot there was a problem with the rabbitmq cloud service.

On Mon, Oct 20, 2014 at 7:56 PM, Tim Spann notifications@github.com wrote:

timothynpivotal:weather tspann$ yo sb

/ _/ __( _ / )__ ___ / / \/ __ \/

/ / \/ `/ / / \/ \/ / / / // / / / / / / / // / / // / // / // / / // .// /// //_, / /___//// // /_/ Scaffolds your Spring Boot application. ? What would you like to call this app? weather ? What version of Spring Boot would you like to use? 1.1.8.RELEASE ? What package name would you like to use for your app? io.pivotal.weather ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ◉ Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. ? Select which application starters you would like to use. Actuator - Adds production ready features such as metrics and monitoring., JPA - Support for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate., Websocket - Support for websocket development with Tomcat., AMQP - Support for the “Advanced Message Queuing Protocol” via spring-rabbit., MongoDB - Support for the MongoDB NoSQL Database, including spring-data-mongodb., Mobile - Support for spring-mobile., Redis - Support for the REDIS key-value data store, including spring-redis., Test - Support for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring-test module., Remote Shell - Adds remote ssh shell support., Log4j - Support the Log4J logging framework., GemFire - Support for the GemFire distributed data store including spring-data-gemfire. ? Select the in-memory DB you want to use for development. H2 ? Do you want to deploy this app to Cloud Foundry? Yes ? Do you want to add the Spring Cloud Connectors to your app? Yes ? Which version of Spring Cloud would you like to use? 1.1.0.RELEASE ? Select which cloud services you would like to configure. Data Source, Mongo DB, Redis, Rabbit MQ ? Which Rabbit MQ Client version would you like to use? 3.0.3 ? Would you like to add the MySQL driver dependency for the cloud data source? Yes ? Would you like to add a Maven Profile to deploy your app to Cloud Foundry? No create src/main/java/io/pivotal/weather/App.java create src/main/resources/application.properties create src/main/java/io/pivotal/weather/config/Config.java create .gitignore create README.md create pom.xml timothynpivotal:weather tspann$ more pom.xml

4.0.0 <%= packageName %> <%= appName %> 0.0.1-SNAPSHOT

org.springframework.boot spring-boot-starter-parent <%= springBootVersion %>

— Reply to this email directly or view it on GitHub < https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59859190>

.

— Reply to this email directly or view it on GitHub https://github.com/ryanjbaxter/generator-sb/issues/1#issuecomment-59859594 .

_Timothy Spann Senior Field Engineer_Direct: 848-250-1531 |* tspann@pivotal.io http://pivotal.io*

ryanjbaxter commented 10 years ago

Great, thanks for trying it out!