-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2f9c4d
commit 7fe0b53
Showing
2 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Aspire4J Maven Tools | ||
|
||
If you want to use Aspire4J in your Java microservice projects, you can! Here's how you can create your own Aspire App Host: | ||
|
||
1. Clone this repository onto your machine. | ||
2. From the root of the repository, run `mvn -f aspire4j/aspire4j-maven-tools clean install`. | ||
3. Go to your existing Java project and run the following: | ||
|
||
```shell | ||
mvn archetype:generate \ | ||
-DarchetypeGroupId=com.microsoft.aspire \ | ||
-DarchetypeArtifactId=aspire4j-maven-tools \ | ||
-DarchetypeVersion=1.0-SNAPSHOT | ||
``` | ||
|
||
4. Follow the prompts to create your new Aspire4J project. | ||
5. You will see a new directory created in your project with the name you provided in the prompt. Inside this directory you will find a new `AspireAppHost` Java class that you can use to define your infrastructure as code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters