Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
f60654c1
Commit
f60654c1
authored
1 year ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetics
parent
cb5b2572
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ws/Archetypes/mi-maven-archetype-javafxml/README.md
+8
-7
8 additions, 7 deletions
ws/Archetypes/mi-maven-archetype-javafxml/README.md
with
8 additions
and
7 deletions
ws/Archetypes/mi-maven-archetype-javafxml/README.md
+
8
−
7
View file @
f60654c1
...
@@ -13,21 +13,22 @@ https://maven.mi.hdm-stuttgart.de/nexus/#browse/browse:mi-maven:de%2Fhdm_stuttga
...
@@ -13,21 +13,22 @@ https://maven.mi.hdm-stuttgart.de/nexus/#browse/browse:mi-maven:de%2Fhdm_stuttga
<!-- language-all: bash -->
<!-- language-all: bash -->
1.
Follow https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html#sd1_fig_mavenMiRepo to configure the above MI
1.
Follow https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html#sd1_fig_mavenMiRepo to configure the above MI
Maven Nexus Maven repository server for CLI usage.
Maven Nexus Maven repository server for CLI usage
in your
`~/.m2/settings.xml`
configuration
.
2
.
Choose your desired archetype version and create a new project by executing:
1
.
Choose your desired archetype version and create a new project by executing:
mvn archetype:generate -DarchetypeCatalog=local -DarchetypeGroupId=de.hdm-stuttgart.mi \
mvn archetype:generate -DarchetypeCatalog=local -DarchetypeGroupId=de.hdm-stuttgart.mi \
-DarchetypeArtifactId=mi-maven-archetype-javafxml -DarchetypeVersion=21.0.1 \
-DarchetypeArtifactId=mi-maven-archetype-javafxml -DarchetypeVersion=21.0.1 \
-DgroupId=de.mi.hdm_stuttgart -DartifactId=hellojavafx -DinteractiveMode=false
-DgroupId=de.mi.hdm_stuttgart -DartifactId=hellojavafx -DinteractiveMode=false
4
.
Execute
`mvn
javafx:run`
. You should see a GUI window popping up. Enter input and see corresponding log entries
1
.
Execute
`mvn javafx:run`
. You should see a GUI window popping up. Enter input and see corresponding log entries
in your underlying shell. In case you favour the Idea GUI over terminal commands you may click
in your underlying shell. In case you favour the Idea GUI over terminal commands you may click
`Run
-->
Edit Configurations`
. Then add a Maven run configuration entering
`javafx:run`
in the Run / Command line
`Run
🠖
Edit Configurations`
. Then add a Maven run configuration entering
`javafx:run`
in the Run / Command line
textfield mimicking the previous
`mvn
javafx:run`
terminal command.
textfield mimicking the previous
`mvn javafx:run`
terminal command.
4
.
Optional: Working with I
ntelliJ IDEA
follow
1
.
Optional: Working with I
dea
follow
https://freedocs.mi.hdm-stuttgart.de/sd1_sect_idea.html#sd1_fig_mavenIdeaArchetypeCatalogPlugin to configure
https://freedocs.mi.hdm-stuttgart.de/sd1_sect_idea.html#sd1_fig_mavenIdeaArchetypeCatalogPlugin to configure
the MI Maven Nexus Maven repository server in your IDE as well. This allows for using the current archetype for
the MI Maven Nexus Maven repository server in your IDE as well. This allows for using the current archetype for
creating new JavaFXML projects by virtue of Idea's GUI.
creating new JavaFXML projects by virtue of Idea's GUI.
> Note: You still need `~/.m2/settings.xml` as a prerequisite.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment