diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..c5f3f6b
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "interactive"
+}
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index e39ef3a..2609620 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,7 @@
FROM openjdk
+
COPY target/*.jar /
+
EXPOSE 8080
+
ENTRYPOINT ["java","-jar","/my-app-1.0-SNAPSHOT.jar"]
\ No newline at end of file
diff --git a/README.md b/README.md
index a0ff74e..d329ca8 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,2 @@
-# jenkins-docker-example
\ No newline at end of file
+# jenkins-docker-example
+# sample example
diff --git a/desktop.ini b/desktop.ini
new file mode 100644
index 0000000..d957fd1
--- /dev/null
+++ b/desktop.ini
@@ -0,0 +1,4 @@
+[ViewState]
+Mode=
+Vid=
+FolderType=Generic
diff --git a/pom.xml b/pom.xml
index 8671f90..31b8940 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,10 +13,9 @@
http://www.example.com
- UTF-8
- 1.7
- 1.7
-
+ UTF-8
+ 17
+
diff --git a/src/main/java/com/mycompany/app/App.java b/src/main/java/com/mycompany/app/App.java
index 77cf3e0..2c948c4 100644
--- a/src/main/java/com/mycompany/app/App.java
+++ b/src/main/java/com/mycompany/app/App.java
@@ -6,8 +6,8 @@
*/
public class App
{
- public static void main( String[] args )
+ public static void main(String[] args)
{
- System.out.println( "Hello World!" );
+ System.out.println("Hello world!");
}
}
diff --git a/target/classes/com/mycompany/app/App.class b/target/classes/com/mycompany/app/App.class
new file mode 100644
index 0000000..89d06db
Binary files /dev/null and b/target/classes/com/mycompany/app/App.class differ
diff --git a/target/test-classes/com/mycompany/app/AppTest.class b/target/test-classes/com/mycompany/app/AppTest.class
new file mode 100644
index 0000000..422bca7
Binary files /dev/null and b/target/test-classes/com/mycompany/app/AppTest.class differ