You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: getting-started/project-setup.adoc
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,15 @@
2
2
include::../partials/attributes.adoc[]
3
3
4
4
//tag::maven-setup[]
5
-
First step: Install Apache Maven.
6
-
You can find instructions for doing so at https://maven.apache.org/install.html[the Apache Maven website].
5
+
== Requirements
6
+
Set up your Maven environment, following these instructions for doing so xref:../installation/gav-mapping-rules.adoc[Configuring Maven with BAMOE binaries].
7
7
8
8
== Project Setup Options
9
-
With the migration of the BAMOE product to Quarkus 3 the instructions on how to generate a new Maven project have changee. Currently, there are a number of options:
9
+
With the migration of the BAMOE product to Quarkus 3 the instructions on how to generate a new Maven project have changed. You now have these options:
10
+
11
+
* Create a project manually
12
+
* xref:../installation/configure-maven.adoc[Use BAMOE Canvas] to create a new project using the {CANVAS} accelerator functionality.
10
13
11
-
* xref:../editing/creating-new-projects.adoc[Use BAMOE Canvas] to create a new project using Canvas' accelerator features..
12
-
* **Create Project Manually**
13
14
14
15
== Creating a BAMOE Project Manually
15
16
Typically, Maven projects are created either using plugins or archetypes. You can use a simple Maven archetype to generate a basic Maven project, for example:
@@ -19,7 +20,7 @@ Typically, Maven projects are created either using plugins or archetypes. You c
then update the project's `pom.xml` with content from one of the followin templates:
23
+
then update the `pom.xml` for the project with content from one of the following templates:
23
24
24
25
xref:../partials/rules-sample-pom.adoc[Sample Rules/Decision Application POM Template] a sample POM that describes a typical rules/decisions project dependencies and plugins.
25
26
@@ -34,8 +35,8 @@ mvn clean package
34
35
== Editing within VS Code
35
36
36
37
. Open the project in VS Code.
37
-
From here we can see the workspace's contents, and if we expand the contents of `/src/main` you will see the creation of several artifacts.
38
-
Within `java` you will have a `GreetingResource.java` and within `resources` you will have an `application.properties` and `pricing.dmn` file.
38
+
From here we can see the workspace contents, and if we expand the contents of `/src/main` you can see the creation of several artifacts.
39
+
Within `java` you have a `GreetingResource.java` and within `resources` you have an `application.properties` and `pricing.dmn` file.
39
40
These are sample files that can be later modified or deleted.
. From here you will see the Decision Table that is associated with the Base Price decision.
74
75
From here you will see two (*2*) input columns (`Age` and `Previous Incidents`), as well as one output column (`Base price`) all with their types below them.
75
-
These types are controlled from the properties panel similarly to how they were opened when looking at `Age` a few steps ago.
76
+
These types are controlled from the properties panel similarly to how they were opened when we previously looked at `Age`.
76
77
This decision has 4 different rows that could fire, with a Hit Policy of `UNIQUE` signified by the **U** in the top left corner of the table.
77
-
A decision writer could make any comments they want to the table and have them saved towards the decision here.
78
+
A decision writer could make any comments they want to the table and have them saved with the decision here.
78
79
+
79
80
image::dt-stable.png[Viewing DMN Decision]
80
81
81
82
== Source Control
82
-
This is a Java based project, and any tools regularly used for storing Java based source code into a source repository would be applicable here.
83
+
This is a Java based project, and any tools regularly used for storing Java based source code in a source repository are applicable here.
0 commit comments