# HG changeset patch # User Lars Hupel # Date 1464122783 -7200 # Node ID ef72b104fa323eb8980b039e776040c372917885 # Parent 4cf6726eb85ed4780a3359d4196ad2f8b0e5e710 new Isabelle component for CI infastructure diff -r 4cf6726eb85e -r ef72b104fa32 Admin/components/ci-extras --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/components/ci-extras Tue May 24 22:46:23 2016 +0200 @@ -0,0 +1,2 @@ +#components required for the CI infrastructure +ci-extras-1 diff -r 4cf6726eb85e -r ef72b104fa32 Admin/jenkins/ci-extras/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/jenkins/ci-extras/README Tue May 24 22:46:23 2016 +0200 @@ -0,0 +1,11 @@ +This contains a Maven project which assembles all third-party dependencies for +the Jenkins build script and packages them up as an Isabelle component. + +To produce the Isabelle component, run './package'. This will create a tarball +in the 'dist' folder. + +The constituent packages, including sources and individual copyright notices, +can be found in the 'contrib' folder. + + +Lars Hupel, 24-May-2016 diff -r 4cf6726eb85e -r ef72b104fa32 Admin/jenkins/ci-extras/etc/settings --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/jenkins/ci-extras/etc/settings Tue May 24 22:46:23 2016 +0200 @@ -0,0 +1,1 @@ +classpath "$COMPONENT/lib/ci-extras.jar" diff -r 4cf6726eb85e -r ef72b104fa32 Admin/jenkins/ci-extras/package --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/jenkins/ci-extras/package Tue May 24 22:46:23 2016 +0200 @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -e + +VERSION=1 + +# Build JAR and fetch sources +mvn package + +# Copy to correct location +mkdir -p lib +cp "target/ci-extras-1.0-SNAPSHOT-jar-with-dependencies.jar" "lib/ci-extras.jar" + +# Clean up +mvn clean + +# Package component +rm -rf dist && mkdir -p dist +tar czf "dist/ci-extras-${VERSION}.tar.gz" --exclude dist --transform "s/^\\./ci-extras-${VERSION}/" . diff -r 4cf6726eb85e -r ef72b104fa32 Admin/jenkins/ci-extras/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Admin/jenkins/ci-extras/pom.xml Tue May 24 22:46:23 2016 +0200 @@ -0,0 +1,76 @@ + + 4.0.0 + edu.tum.cs.isabelle + ci-extras + jar + 1.0-SNAPSHOT + ci-extras + http://maven.apache.org + + + org.apache.commons + commons-configuration2 + 2.0 + + + javax.mail + mail + 1.4.7 + + + javax.activation + activation + 1.1.1 + + + + + + + maven-assembly-plugin + + + jar-with-dependencies + + + + + package + + single + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + copy-dependencies-sources + package + + copy-dependencies + + + ${project.basedir}/contrib + sources + + + + copy-dependencies + package + + copy-dependencies + + + ${project.basedir}/contrib + + + + + + +