From 775c27f2907e3480fe66d4d3edd125d89b6206ad Mon Sep 17 00:00:00 2001
From: Christopher Bohn <bohn@unl.edu>
Date: Wed, 19 Jan 2022 13:49:22 -0600
Subject: [PATCH] updated pom.xml to work with 2021-22 VM

---
 pom.xml | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 73b9734..d79ea40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,11 +18,37 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.8.1</version>
                 <configuration>
-                    <source>8</source>
-                    <target>8</target>
+                    <source>11</source>
+                    <target>11</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.openjfx</groupId>
+                <artifactId>javafx-maven-plugin</artifactId>
+                <version>0.0.8</version>
+                <configuration>
+                    <mainClass>edu.unl.cse.soft161.event_driven.PurchasingApp</mainClass>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>run</id>
+                        <configuration>
+                            <mainClass>edu.unl.cse.soft161.event_driven.PurchasingApp</mainClass>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>debug</id>
+                        <configuration>
+                            <mainClass>edu.unl.cse.soft161.event_driven.PurchasingApp</mainClass>
+                            <options>
+                                <option>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8000</option>
+                            </options>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
+        
     </build>
 
     <dependencies>
-- 
GitLab