-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.moxie
115 lines (98 loc) · 3 KB
/
build.moxie
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#
# gitblit-powertools-plugin project descriptor
#
# Specify minimum Moxie version required to build
requires: 0.9.2
# Project Metadata
name: gitblit-powertools-plugin
description: Control and command Gitblit over SSH
groupId: com.gitblit.plugin
artifactId: powertools
version: 1.3.1-SNAPSHOT
packaging: zip
inceptionYear: 2014
organization: gitblit.com
url: 'http://gitblit.com'
issuesUrl: 'https://github.com/gitblit-org/gitblit-powertools-plugin/issues'
# Current stable release
releaseVersion: 1.3.0
releaseDate: 2014-05-01
# Licenses section included for POM generation
licenses:
- {
name: Apache ASL v2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
}
# Developers section included for POM generation
developers:
- {
id: james
name: James Moger
url: 'https://plus.google.com/u/0/116428776452027956920'
organization: VAS
organizationUrl: 'http://www.vas.com'
roles: developer
}
# SCM section included for POM generation
scm: {
connection: 'scm:git:git://github.com/gitblit-org/gitblit-powertools-plugin.git'
developerConnection: 'scm:git:https://github.com/gitblit-org/gitblit-powertools-plugin.git'
url: 'https://github.com/gitblit-org/gitblit-powertools-plugin'
tag: HEAD
}
# Moxie supports multiple source directories and allows you to assign
# a scope to each directory.
sourceDirectories:
- compile 'src/main/java'
resourceDirectories:
- compile 'src/main/resources'
# Define the main class for the build process
mainclass: com.gitblit.plugin.powertools.Plugin
# compile for Java 7 class format
tasks: {
'mx:javac' : {
source: 1.7
target: 1.7
compiler: javac1.7
encoding: UTF-8
# stop complaints about bootstrap classpath when compiling with Java 7
compilerArgs: '-Xlint:-options'
}
}
# Generate Eclipse project files.
# Generate IntelliJ IDEA module files.
# Generate a distribution Maven POM (not suitable for building with Maven).
apply: eclipse, intellij, pom
# Copy all retrieved dependencies to the "ext" directory.
# Generated IDE settings (.classpath, etc) will use the artifacts
# from this project-relative directory. This allows the IDE settings
# to be version-controlled and shared.
dependencyDirectory: ext
# Register the Gitblit Maven repository
registeredRepositories:
- {
id: 'com.gitblit'
url: 'http://gitblit-org.github.io/gitblit-maven/'
affinity: [ 'com.gitblit' ]
}
repositories: 'central', 'com.gitblit'
# Convenience properties for dependencies
properties: {
gitblit.version : 1.5.0
}
# Dependencies
#
# May be tagged with ":label" notation to group dependencies.
#
# "@extension" fetches the artifact with the specified extension
# and ignores all transitive dependencies.
#
# "!groupId" or "!groupId:artifactId" excludes all matching transitive
# dependencies in that dependency's dependency graph.
#
dependencies:
- provided 'com.gitblit:gitblit:${gitblit.version}'
- test 'junit'
# Dependencies with the "build" scope are retrieved
# and injected into the Ant runtime classpath
- build 'jacoco'