Skip to content

Commit 2c32a69

Browse files
committed
[Misc] Prepare the template repository
0 parents  commit 2c32a69

File tree

5 files changed

+619
-0
lines changed

5 files changed

+619
-0
lines changed

.gitignore

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# ---------------------------------------------------------------------------
2+
# See the NOTICE file distributed with this work for additional
3+
# information regarding copyright ownership.
4+
#
5+
# This is free software; you can redistribute it and/or modify it
6+
# under the terms of the GNU Lesser General Public License as
7+
# published by the Free Software Foundation; either version 2.1 of
8+
# the License, or (at your option) any later version.
9+
#
10+
# This software is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
# Lesser General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU Lesser General Public
16+
# License along with this software; if not, write to the Free
17+
# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18+
# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19+
# ---------------------------------------------------------------------------
20+
21+
# Maven
22+
target
23+
target-eclipse
24+
25+
# Gradle
26+
build
27+
.gradle
28+
29+
# IntelliJ IDEA
30+
*.iml
31+
*.ipr
32+
*.iws
33+
.idea
34+
atlassian-ide-plugin.xml
35+
36+
# Eclipse
37+
.classpath
38+
.project
39+
.settings
40+
.checkstyle
41+
.fbprefs
42+
bin
43+
# Automatically generated by WTP
44+
**/src/main/java/META-INF/
45+
**/src/test/java/META-INF/
46+
**/src/META-INF/
47+
# PyDev
48+
.pydevproject
49+
50+
# NetBeans
51+
nbproject
52+
53+
# Gradle Enterprise
54+
.mvn/.gradle-enterprise
55+
56+
# Misc
57+
*.log.*
58+
*.log
59+
.sonar-ide.properties
60+
.clover
61+
*~

Jenkinsfile

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* See the NOTICE file distributed with this work for additional
3+
* information regarding copyright ownership.
4+
*
5+
* This is free software; you can redistribute it and/or modify it
6+
* under the terms of the GNU Lesser General Public License as
7+
* published by the Free Software Foundation; either version 2.1 of
8+
* the License, or (at your option) any later version.
9+
*
10+
* This software is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
* Lesser General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU Lesser General Public
16+
* License along with this software; if not, write to the Free
17+
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18+
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19+
*/
20+
21+
// It's assumed that Jenkins has been configured to implicitly load the vars/xwikiModule.groovy library which exposes
22+
// the "xwikiModule" global function/DSL.
23+
// Note that the version used is the one defined in Jenkins but it can be overridden as follows:
24+
// @Library("XWiki@<branch, tag, sha1>") _
25+
// See https://github.com/jenkinsci/workflow-cps-global-lib-plugin for details.
26+
27+
// TODO: Uncomment to have this maven project be built by https://ci.xwiki.org and to have SonarQube validate it at
28+
// https://sonarcloud.io/organizations/xwiki/projects
29+
/*
30+
xwikiModule {
31+
// Note: Java 11+ is required for Sonar/Sonarcloud
32+
goals = 'clean deploy jacoco:report sonar:sonar'
33+
profiles = 'quality,integration-tests,docker'
34+
sonar = true
35+
}
36+
*/

0 commit comments

Comments
 (0)