Skip to content

Apaq/parent-pom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apaq Parent POM

The parent Maven POM for CodeZoo Maven Projects.

What is it?

The Apaq arent POM provides default configuration for Maven builds.

  • Recommended/Default versions for the most commonly used Maven plugins
  • Profiles for generating docker builds, and enforcing a minimum versions of Java and Maven
  • Distribution Management and other configuration for deploying to the Apaq Maven repositories

How to use it?

Start out by adding the public repository to settings.xml

    <profiles>
   
        <profile>
            <id>apaq</id>
            <repositories>
                <repository>
                    <id>apaq-public</id>
                    <name>Apaq public repo</name>
                    <url>http://apaq-repository-public.s3-website-eu-west-1.amazonaws.com/release</url>
                </repository>
            </repositories>
        </profile>
   
    </profiles>
 
    <activeProfiles>
        <activeProfile>codezoo</activeProfile>
    </activeProfiles>  

The add the parent configuration to your pom.

    <parent>
      <groupId>dk.apaq</groupId>
      <artifactId>parent</artifactId>
      <version>1.1.0</version>
    </parent>

The pom includes properties which allow various build configuration to be customized. For example, to override the default version of the maven-compiler-plugin, just set a property.

For the full list of properties, refer to the POM itself.

parent-pom

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published