-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.moxie
117 lines (100 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
116
117
#
# gitblit-tbacl-plugin project descriptor
#
# Specify minimum Moxie version required to build
requires: 0.9.2
# Project Metadata
name: gitblit-tbacl-plugin
description: Gitblit Team-Branch ACLs
groupId: com.gitblit.plugin
artifactId: tbacl
version: 1.1.1-SNAPSHOT
packaging: zip
inceptionYear: 2014
organization: gitblit.com
url: 'http://gitblit.com'
issuesUrl: 'https://github.com/gitblit-org/gitblit-tbacl-plugin/issues'
# Current stable release
releaseVersion: 1.1.0
releaseDate: 2014-06-13
# 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-tbacl-plugin.git'
developerConnection: 'scm:git:https://github.com/gitblit-org/gitblit-tbacl-plugin.git'
url: 'https://github.com/gitblit-org/gitblit-tbacl-plugin'
tag: HEAD
}
# Moxie supports multiple source directories and allows you to assign
# a scope to each directory.
sourceDirectories:
- compile 'src/main/java'
- test 'src/test/java'
resourceDirectories:
- compile 'src/main/resources'
- test 'src/test/resources'
# Define the main class for the build process
mainclass: com.gitblit.plugin.tbacl.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'