/home/wpollock1/public_html/AJava/Maven/pom.xml

<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.wpollock.hello</groupId>
  <artifactId>hello</artifactId>
  <packaging>jar</packaging>
  <version>1.0.0-SNAPSHOT</version>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.release>11</maven.compiler.release>
    <main.class>com.wpollock.hello.App</main.class>

    <maven.jar.plugin.version>3.1.1</maven.jar.plugin.version>
    <maven.jxr.plugin.version>3.0.0</maven.jxr.plugin.version>
    <maven.javadoc.plugin.version>3.1.0</maven.javadoc.plugin.version>
    <maven.project.info.reports.plugin.version>3.0.0</maven.project.info.reports.plugin.version>
    <maven.site.plugin.version>3.7.1</maven.site.plugin.version>
    <maven.surefire.report.plugin.version>2.22.1</maven.surefire.report.plugin.version>

    <junit.jupiter.version>5.4.1</junit.jupiter.version>
    <exec.maven.version>1.6.0</exec.maven.version>
    <versions.maven.version>2.7</versions.maven.version>
  </properties>

  <name>hello</name>
  <url>https://wpollock.com</url>

  <description>
    Demo project showing executable Jar for "Hello, World" non-GUI app.
    This is the generated archetype POM with an extra description,
    updated JUnit from version 3 to 5, uses Java 11, uses UTF-8 for text files,
    added plugin to allow goal of "mvn exec:java", updated the site plugin to
    include the unit test report, added source code cross-reference
    plugin to the reports, and added versions plugin to view and manage
    versions of plugins.  See https://maven.apache.org/pom.html for
    details on POM.xml settings.
  </description>
  <inceptionYear>2019</inceptionYear>

  <licenses>
    <license>
      <name>Apache 2</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly FOSS license</comments>
    </license>
   </licenses>

   <organization>
     <name>WP Software Construction Co.</name>
     <url>https://wpollock.com/</url>
   </organization>

   <developers>
     <developer>
       <id>wpollock</id>
       <name>Wayne Pollock</name>
       <email>pollock@acm.org</email>
       <url>https://wpollock.com/</url>
       <organization>HCC</organization>
       <organizationUrl>https://www.hccfl.edu/</organizationUrl>
       <roles>
         <role>developer</role>
       </roles>
       <timezone>-5</timezone>
      <properties>
        <picUrl>https://wpollock.com/images/Wayne.jpg</picUrl>
      </properties>
     </developer>
   </developers>

  <dependencies>
	<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter -->
	<dependency>
	    <groupId>org.junit.jupiter</groupId>
	    <artifactId>junit-jupiter</artifactId>
	    <version>${junit.jupiter.version}</version>
	    <scope>test</scope>
	</dependency>
    <dependency>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven.project.info.reports.plugin.version}</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/versions-maven-plugin -->
    <dependency>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
        <version>${versions.maven.version}</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>${maven.jar.plugin.version}</version>
        <configuration>
          <archive>
           <manifest>
            <mainClass>${main.class}</mainClass>
           </manifest>
          </archive>
        </configuration>
      </plugin>

      <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-site-plugin</artifactId>
       <version>${maven.site.plugin.version}</version>
      </plugin>

          <!-- 	http://www.mojohaus.org/exec-maven-plugin -->
          <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>exec-maven-plugin</artifactId>
          <version>${exec.maven.version}</version>
          <executions>
            <execution>
              <goals>
                <goal>java</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <mainClass>${main.class}</mainClass>
            <!--
            <arguments>
              <argument>foo</argument>
            </arguments>
            -->
          </configuration>
        </plugin>
    </plugins>
  </build>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${maven.surefire.report.plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>${maven.jxr.plugin.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven.javadoc.plugin.version}</version>
        <!--
        <configuration> ... </configuration>
        -->
      </plugin>
    </plugins>
  </reporting>

</project>