commit | author | age
|
f6b200
|
1 |
# |
JM |
2 |
# Gitblit project descriptor |
|
3 |
# |
|
4 |
|
|
5 |
# Specify minimum Moxie version required to build |
7cf5ed
|
6 |
requires: 0.9.2 |
f6b200
|
7 |
|
JM |
8 |
# Project Metadata |
|
9 |
name: Gitblit |
|
10 |
description: pure Java Git solution |
|
11 |
groupId: com.gitblit |
|
12 |
artifactId: gitblit |
98cee0
|
13 |
version: 1.6.0-SNAPSHOT |
f6b200
|
14 |
inceptionYear: 2011 |
JM |
15 |
|
|
16 |
# Current stable release |
8db2b5
|
17 |
releaseVersion: 1.5.1 |
JM |
18 |
releaseDate: 2014-05-07 |
f6b200
|
19 |
|
JM |
20 |
# Project urls |
|
21 |
url: 'http://gitblit.com' |
|
22 |
issuesUrl: 'http://code.google.com/p/gitblit/issues/list' |
|
23 |
socialNetworkUrl: 'https://plus.google.com/114464678392593421684' |
|
24 |
forumUrl: 'http://groups.google.com/group/gitblit' |
f12685
|
25 |
mavenUrl: 'http://gitblit.github.io/gitblit-maven' |
f6b200
|
26 |
|
JM |
27 |
# Licenses section included for POM generation |
|
28 |
licenses: |
|
29 |
- { |
|
30 |
name: Apache ASL v2.0 |
|
31 |
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' |
|
32 |
} |
|
33 |
|
|
34 |
# Developers section included for POM generation |
|
35 |
developers: |
|
36 |
- { |
|
37 |
id: james |
|
38 |
name: James Moger |
|
39 |
url: 'https://plus.google.com/u/0/116428776452027956920' |
|
40 |
organization: VAS |
|
41 |
organizationUrl: 'http://www.vas.com' |
|
42 |
roles: developer |
|
43 |
} |
|
44 |
|
|
45 |
# SCM section included for POM generation |
|
46 |
scm: { |
|
47 |
connection: 'scm:git:git://github.com/gitblit/gitblit.git' |
|
48 |
developerConnection: 'scm:git:https://github.com/gitblit/gitblit.git' |
|
49 |
url: 'https://github.com/gitblit/gitblit' |
|
50 |
tag: HEAD |
|
51 |
} |
|
52 |
|
|
53 |
# Mainclass is used for setting jar manifests and using the mx:run target |
|
54 |
mainclass: com.gitblit.GitBlitServer |
|
55 |
|
|
56 |
# Moxie supports multiple source directories and allows you to assign |
|
57 |
# a scope to each directory. |
|
58 |
sourceDirectories: |
|
59 |
- compile 'src/main/java' |
c6f3d0
|
60 |
- compile 'src/main/bugtraq' |
cacf8b
|
61 |
- compile 'src/main/dagger' apt |
f6b200
|
62 |
- test 'src/test/java' |
c6f3d0
|
63 |
- test 'src/test/bugtraq' |
f6b200
|
64 |
# Moxie supports one site-scoped directory for mx:doc |
JM |
65 |
- site 'src/site' |
|
66 |
|
|
67 |
resourceDirectories: |
|
68 |
- compile 'src/main/resources' |
|
69 |
- site 'src/site/resources' |
|
70 |
|
cff7cc
|
71 |
# compile for Java 7 class format |
f6b200
|
72 |
tasks: { |
JM |
73 |
'mx:javac' : { |
cff7cc
|
74 |
source: 1.7 |
JM |
75 |
target: 1.7 |
|
76 |
compiler: javac1.7 |
f6b200
|
77 |
encoding: UTF-8 |
JM |
78 |
# stop complaints about bootstrap classpath when compiling with Java 7 |
|
79 |
compilerArgs: '-Xlint:-options' |
|
80 |
} |
|
81 |
} |
|
82 |
|
|
83 |
# Generate Eclipse project files. |
|
84 |
# Generate IntelliJ IDEA module files. |
|
85 |
# Generate a distribution Maven POM (not suitable for building with Maven). |
|
86 |
apply: eclipse, intellij, pom |
|
87 |
|
|
88 |
# Copy all retrieved dependencies to the "ext" directory. |
|
89 |
# Generated IDE settings (.classpath, etc) will use the artifacts |
|
90 |
# from this project-relative directory. This allows the IDE settings |
|
91 |
# to be version-controlled and shared. |
|
92 |
dependencyDirectory: ext |
|
93 |
|
|
94 |
# Register the Eclipse JGit Maven repositories |
|
95 |
registeredRepositories: |
bd578c
|
96 |
- { id: eclipse, url: 'http://repo.eclipse.org/content/groups/releases' } |
JM |
97 |
- { id: eclipse-snapshots, url: 'http://repo.eclipse.org/content/groups/snapshots' } |
f6b200
|
98 |
|
JM |
99 |
# Source all dependencies from the following repositories in the specified order |
bd578c
|
100 |
repositories: central, eclipse-snapshots, eclipse |
f6b200
|
101 |
|
JM |
102 |
# Convenience properties for dependencies |
|
103 |
properties: { |
9ef027
|
104 |
jetty.version : 9.1.4.v20140401 |
f6b200
|
105 |
wicket.version : 1.4.21 |
db9832
|
106 |
lucene.version : 4.6.0 |
a0cefe
|
107 |
jgit.version : 3.3.1.201403241930-r |
f6b200
|
108 |
groovy.version : 1.8.8 |
644667
|
109 |
bouncycastle.version : 1.49 |
f6b200
|
110 |
selenium.version : 2.28.0 |
c05da6
|
111 |
wikitext.version : 1.4 |
646133
|
112 |
sshd.version: 0.11.0 |
9ba6bc
|
113 |
mina.version: 2.0.7 |
f6b200
|
114 |
} |
JM |
115 |
|
|
116 |
# Dependencies |
|
117 |
# |
|
118 |
# May be tagged with ":label" notation to group dependencies. |
|
119 |
# |
|
120 |
# "@extension" fetches the artifact with the specified extension |
|
121 |
# and ignores all transitive dependencies. |
|
122 |
# |
|
123 |
# "!groupId" or "!groupId:artifactId" excludes all matching transitive |
|
124 |
# dependencies in that dependency's dependency graph. |
|
125 |
# |
|
126 |
|
|
127 |
dependencies: |
cacf8b
|
128 |
# Dagger dependency injection library (annotation processor) |
JM |
129 |
- compile 'com.squareup.dagger:dagger:1.1.0' :war apt |
|
130 |
- compile 'com.squareup.dagger:dagger-compiler:1.1.0' :war optional apt |
f6b200
|
131 |
# Standard dependencies |
c6f3d0
|
132 |
- compile 'com.intellij:annotations:12.0' :war |
f6b200
|
133 |
- compile 'log4j:log4j:1.2.17' :war :fedclient :authority |
a4f7cc
|
134 |
- compile 'org.slf4j:slf4j-api:1.7.5' :war :fedclient :authority |
JM |
135 |
- compile 'org.slf4j:slf4j-log4j12:1.7.5' :war :fedclient :authority |
4d1f6a
|
136 |
- compile 'com.sun.mail:javax.mail:1.5.1' :war :authority |
9ef027
|
137 |
- compile 'javax.servlet:javax.servlet-api:3.1.0' :fedclient |
JM |
138 |
- compile 'org.eclipse.jetty.aggregate:jetty-all:${jetty.version}' @jar |
f6b200
|
139 |
- compile 'org.apache.wicket:wicket:${wicket.version}' :war !org.mockito |
JM |
140 |
- compile 'org.apache.wicket:wicket-auth-roles:${wicket.version}' :war !org.mockito |
|
141 |
- compile 'org.apache.wicket:wicket-extensions:${wicket.version}' :war !org.mockito |
|
142 |
- compile 'org.apache.lucene:lucene-core:${lucene.version}' :war :fedclient |
db9832
|
143 |
- compile 'org.apache.lucene:lucene-analyzers-common:${lucene.version}' :war :fedclient |
f6b200
|
144 |
- compile 'org.apache.lucene:lucene-highlighter:${lucene.version}' :war :fedclient |
JM |
145 |
- compile 'org.apache.lucene:lucene-memory:${lucene.version}' :war :fedclient |
db9832
|
146 |
- compile 'org.apache.lucene:lucene-queryparser:${lucene.version}' :war :fedclient |
0c0bb9
|
147 |
- compile 'org.pegdown:pegdown:1.4.2' :war |
c05da6
|
148 |
- compile 'org.fusesource.wikitext:wikitext-core:${wikitext.version}' :war |
JM |
149 |
- compile 'org.fusesource.wikitext:twiki-core:${wikitext.version}' :war |
|
150 |
- compile 'org.fusesource.wikitext:textile-core:${wikitext.version}' :war |
|
151 |
- compile 'org.fusesource.wikitext:tracwiki-core:${wikitext.version}' :war |
|
152 |
- compile 'org.fusesource.wikitext:mediawiki-core:${wikitext.version}' :war |
|
153 |
- compile 'org.fusesource.wikitext:confluence-core:${wikitext.version}' :war |
f0950d
|
154 |
- compile 'org.eclipse.jgit:org.eclipse.jgit:${jgit.version}' :war :fedclient :manager :authority !junit |
JM |
155 |
- compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:${jgit.version}' :war :manager :authority !junit |
f6b200
|
156 |
- compile 'org.bouncycastle:bcprov-jdk15on:${bouncycastle.version}' :war :authority |
JM |
157 |
- compile 'org.bouncycastle:bcmail-jdk15on:${bouncycastle.version}' :war :authority |
|
158 |
- compile 'org.bouncycastle:bcpkix-jdk15on:${bouncycastle.version}' :war :authority |
41124c
|
159 |
- compile 'org.apache.sshd:sshd-core:${sshd.version}' :war !org.easymock |
9ba6bc
|
160 |
- compile 'org.apache.mina:mina-core:${mina.version}' :war !org.easymock |
f6b200
|
161 |
- compile 'rome:rome:0.9' :war :manager :api |
JM |
162 |
- compile 'com.google.code.gson:gson:1.7.2' :war :fedclient :manager :api |
|
163 |
- compile 'org.codehaus.groovy:groovy-all:${groovy.version}' :war |
|
164 |
- compile 'com.unboundid:unboundid-ldapsdk:2.3.0' :war |
|
165 |
- compile 'org.apache.ivy:ivy:2.2.0' :war |
|
166 |
- compile 'com.toedter:jcalendar:1.3.2' :authority |
|
167 |
- compile 'org.apache.commons:commons-compress:1.4.1' :war |
f7286e
|
168 |
- compile 'commons-io:commons-io:2.2' :war |
e8b8ee
|
169 |
- compile 'com.force.api:force-partner-api:24.0.0' :war |
430496
|
170 |
- compile 'org.freemarker:freemarker:2.3.19' :war |
73c76b
|
171 |
- compile 'com.github.dblock.waffle:waffle-jna:1.5' :war |
2659e7
|
172 |
- compile 'org.kohsuke:libpam4j:1.7' :war |
50380b
|
173 |
- compile 'args4j:args4j:2.0.26' :war :fedclient :authority |
a0c34e
|
174 |
- compile 'commons-codec:commons-codec:1.7' :war |
5e3521
|
175 |
- compile 'redis.clients:jedis:2.3.1' :war |
cc2665
|
176 |
- compile 'ro.fortsoft.pf4j:pf4j:0.8.0' :war |
ca31f5
|
177 |
- compile 'org.apache.tika:tika-core:1.5' :war |
f6b200
|
178 |
- test 'junit' |
JM |
179 |
# Dependencies for Selenium web page testing |
|
180 |
- test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar |
|
181 |
- test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar |
|
182 |
- test 'org.seleniumhq.selenium:selenium-firefox-driver:${selenium.version}' |
|
183 |
# Dependencies with the "build" scope are retrieved |
|
184 |
# and injected into the Ant runtime classpath |
|
185 |
- build 'jacoco' |