Skip to content

Commit bb30102

Browse files
author
Sebastian Bär
authored
Merge pull request #10 from itsallcode/develop
1.0.0
2 parents 4ac8b0e + 5be68b9 commit bb30102

File tree

112 files changed

+2819
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+2819
-184
lines changed

.classpath

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" output="target/classes" path="src/main/java">
4-
<attributes>
5-
<attribute name="optional" value="true"/>
6-
<attribute name="maven.pomderived" value="true"/>
7-
</attributes>
8-
</classpathentry>
9-
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
104
<attributes>
11-
<attribute name="optional" value="true"/>
125
<attribute name="maven.pomderived" value="true"/>
136
</attributes>
147
</classpathentry>
15-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
8+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
169
<attributes>
1710
<attribute name="maven.pomderived" value="true"/>
1811
</attributes>
1912
</classpathentry>
20-
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
13+
<classpathentry kind="src" output="target/classes" path="src/main/java">
2114
<attributes>
15+
<attribute name="optional" value="true"/>
2216
<attribute name="maven.pomderived" value="true"/>
2317
</attributes>
2418
</classpathentry>
25-
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
19+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
2620
<attributes>
21+
<attribute name="optional" value="true"/>
2722
<attribute name="maven.pomderived" value="true"/>
23+
<attribute name="test" value="true"/>
2824
</attributes>
2925
</classpathentry>
3026
<classpathentry kind="output" path="target/classes"/>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
4+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.jdt.core.javabuilder"/>
5+
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
6+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
7+
</launchConfiguration>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
4+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.m2e.core.maven2Builder"/>
5+
<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>
6+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
7+
</launchConfiguration>

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/target/
2+
**/*.md.html

.project

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@
66
</projects>
77
<buildSpec>
88
<buildCommand>
9-
<name>org.eclipse.jdt.core.javabuilder</name>
9+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
10+
<triggers>full,incremental,</triggers>
1011
<arguments>
12+
<dictionary>
13+
<key>LaunchConfigHandle</key>
14+
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch</value>
15+
</dictionary>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
20+
<triggers>full,incremental,</triggers>
21+
<arguments>
22+
<dictionary>
23+
<key>LaunchConfigHandle</key>
24+
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch</value>
25+
</dictionary>
1126
</arguments>
1227
</buildCommand>
1328
<buildCommand>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
23
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
34
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
47
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8+
org.eclipse.jdt.core.compiler.release=disabled
59
org.eclipse.jdt.core.compiler.source=1.5

Jenkinsfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
pipeline {
2+
agent {
3+
label "docker"
4+
}
5+
6+
environment{
7+
def DOCKER_IMAGE = "jenkins-oft-arch-builder"
8+
def DOCKER_REGISTRY = ""
9+
}
10+
11+
stages{
12+
stage("checkout") {
13+
steps{
14+
checkout scm
15+
}
16+
}
17+
18+
stage("build docker") {
19+
steps{
20+
sh "docker build -t ${DOCKER_IMAGE} -f docker/Dockerfile ."
21+
}
22+
}
23+
24+
stage("render html") {
25+
steps {
26+
sh "docker run --rm -v $WORKSPACE:/home/jenkins -v $WORKSPACE/.m2/:/root/.m2/repository ${DOCKER_IMAGE} mvn -B -U clean compile"
27+
archiveArtifacts artifacts: '**/target/*.html,**/target/**/*', fingerprint: true
28+
}
29+
}
30+
31+
stage("render pdf") {
32+
steps {
33+
sh "docker run --rm -v $WORKSPACE:/home/jenkins -v $WORKSPACE/.m2/:/root/.m2/repository ${DOCKER_IMAGE} mvn -B -U compile -P render-pdf"
34+
archiveArtifacts artifacts: '**/target/*.pdf', fingerprint: true
35+
}
36+
}
37+
}
38+
39+
options {
40+
buildDiscarder(logRotator(numToKeepStr:'10'))
41+
timeout(time: 60, unit: 'MINUTES')
42+
disableConcurrentBuilds()
43+
}
44+
}

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)