Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (34 loc) · 2.76 KB

README.md

File metadata and controls

44 lines (34 loc) · 2.76 KB

base-pom Build Status Join the chat at https://gitter.im/Viascom/base-pom

The POM module provides a parent pom which is also use in the GroundWork Project. It is part of the GroundWork Project by Viascom.

Version:

release
develop

Profiles:

JavaDoc (javadoc)

This profile generates in addition to the build also a file with the extension -javadoc which contains all javadoc's from the project.

Source (source)

This profile generates in addition to the build also a file with the extension -source which contains all source code from the project.

Coverage (coverage)

This profile generates a code coverage file based on your unit tests.

Executable-Jar

This profile creates a executable jar with the name of the build + -jar-with-dependencies You have to define the following properties.

  • <executable.mainClass>Your Main-Class</executable.mainClass>
  • <executable.finalName>Your executable name</executable.finalName>
  • <executable.outputDirectory>Your output directory</executable.outputDirectory>
  • <executable.jar.appendAssemblyId>true</executable.jar.appendAssemblyId>

Wildfly (wildfly)

This profile automaticaly (if install goal is used) deploys your build to a wildfly applicationserver. If you have a multi module project you have to define <applicationserver.wildfly.deploy.skip>true</applicationserver.wildfly.deploy.skip> in every module you won't deploy.

If you activate this profile make sure your define the following properties according to your setup.

  • <applicationserver.wildfly.hostname>localhost</applicationserver.wildfly.hostname>
  • <applicationserver.wildfly.username>admin</applicationserver.wildfly.username>
  • <applicationserver.wildfly.password>password</applicationserver.wildfly.password>

JBoss (jboss)

This profile automaticaly (if install goal is used) deploys your build to a jboss applicationserver. If you activate this profile make sure your define the following properties according to your setup.

  • <applicationserver.jboss.hostname>localhost</applicationserver.jboss.hostname>
  • <applicationserver.jboss.port>9990</applicationserver.jboss.port>
  • <applicationserver.jboss.username>admin</applicationserver.jboss.username>
  • <applicationserver.jboss.password>password</applicationserver.jboss.password>