Skip to content

Cantara/maven-infrastructure

Folders and files

NameName
Last commit message
Last commit date
May 22, 2020
Jan 2, 2024
Feb 3, 2025
May 22, 2020
Dec 7, 2024
Sep 13, 2016
Jul 20, 2015
May 12, 2015
Oct 24, 2020
Sep 9, 2021
Oct 16, 2024

Repository files navigation

Maven Infrastructure using Docker

A collection of tools and recepies to make your Maven world shine :/)

The basics: Some good small Java JDK Docker Baseimages

Java 8 JDK

Tools

Nexus

Jenkins

SonarCube

Webproxy

Not using docker yet.

sudo aptitude install apache and use something like the following for webproxy config:

NameVirtualHost *:80
<VirtualHost *:80>
        ServerName jenkins.company.no
        ProxyRequests     Off
        ProxyPreserveHost ON
        ProxyPass / http://localhost:8080/ nocanon
        ProxyPassReverse / http://localhost:8080/
        ProxyPassReverse  /  http://jenkins.company.no/i
        AllowEncodedSlashes NoDecode
</VirtualHost>
<VirtualHost *:80>
        ServerName mvnrepo.company.no
        ProxyPreserveHost ON
        ProxyPass / http://localhost:8081/
        ProxyPassReverse / http://localhost:8081/
</VirtualHost>

Maven Parent POM

https://github.com/Cantara/maven-infrastructure/tree/master/parentpom

Version Control

https://github.com/ or set up your own git server.

Aggregated log-server

An initial setup for the greylog2 log-server is provided