Use convention based code imports
Closes gh-29647
This commit is contained in:
@@ -137,10 +137,7 @@ If you run `mvn dependency:tree` again, you see that there are now a number of a
|
||||
To finish our application, we need to create a single Java file.
|
||||
By default, Maven compiles sources from `src/main/java`, so you need to create that directory structure and then add a file named `src/main/java/MyApplication.java` to contain the following code:
|
||||
|
||||
[source,java,indent=0,subs="verbatim"]
|
||||
----
|
||||
include::{docs-java}/gettingstarted/firstapplication/code/MyApplication.java[]
|
||||
----
|
||||
include::code:MyApplication[]
|
||||
|
||||
Although there is not much code here, quite a lot is going on.
|
||||
We step through the important parts in the next few sections.
|
||||
|
||||
Reference in New Issue
Block a user