Skip to content

Cantara/maven-infrastructure

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