Skip to content

Commit a6f59d9

Browse files
committed
Adding dependencies
1 parent 36d83b4 commit a6f59d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ Navigate to your app newly created directory and then install dependencies speci
9595
mvn clean install
9696
```
9797

98+
If you want to add new dependencies to the project once you already created, you'll edit the pom.xml file (just like
99+
you'd on the Gemfile). See an example on [this
100+
commit](https://github.com/lidimayra/from-rails-to-spring-boot/commit/ea16127ab9528ccb071f42614233643893ea5fcf), where
101+
I'm adding [spring-boot-devtools](https://docs.spring.io/spring-boot/reference/using/devtools.html). These tools add
102+
some capabilities that are convenient for development (for example: automatically restart the server whenever files on
103+
the classpath are changed). After adding a dependency, remember to run `mvn install` again.
104+
98105
Start the server using `spring-boot:run`, a task that's provided by Maven
99106
plugin:
100107
```

0 commit comments

Comments
 (0)