diff --git a/helloWorld/pom.xml b/helloWorld/pom.xml new file mode 100644 index 0000000..92a8cce --- /dev/null +++ b/helloWorld/pom.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.mycompany</groupId> + <artifactId>helloWorld</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>jar</packaging> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>22</maven.compiler.source> + <maven.compiler.target>22</maven.compiler.target> + <exec.mainClass>com.mycompany.helloworld.HelloWorld</exec.mainClass> + </properties> +</project> \ No newline at end of file diff --git a/helloWorld/src/main/java/com/mycompany/helloworld/HelloWorld.java b/helloWorld/src/main/java/com/mycompany/helloworld/HelloWorld.java new file mode 100644 index 0000000..dc0f75d --- /dev/null +++ b/helloWorld/src/main/java/com/mycompany/helloworld/HelloWorld.java @@ -0,0 +1,16 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + */ + +package com.mycompany.helloworld; + +/** + * + * @author fakee + */ +public class HelloWorld { + + public static void main(String[] args) { + System.out.println("Hello World!"); + } +}