Paul Martin
2016-04-16 eecaad8b8e2c447429c31a01d49260ddd6b4ee03
commit | author | age
f6b200 1 #
JM 2 # Gitblit project descriptor
3 #
4
5 # Specify minimum Moxie version required to build
dbcf2f 6 requires: 0.9.4
f6b200 7
JM 8 # Project Metadata
9 name: Gitblit
10 description: pure Java Git solution
11 groupId: com.gitblit
12 artifactId: gitblit
1fe804 13 version: 1.7.2-SNAPSHOT
f6b200 14 inceptionYear: 2011
JM 15
16 # Current stable release
390909 17 releaseVersion: 1.7.1
JM 18 releaseDate: 2015-11-23
f6b200 19
JM 20 # Project urls
21 url: 'http://gitblit.com'
fa357d 22 issuesUrl: 'https://github.com/gitblit/gitblit'
f6b200 23 socialNetworkUrl: 'https://plus.google.com/114464678392593421684'
JM 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'
6bd25d 61 - compile 'src/main/gen' 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' }
94146d 98 - { id: gitblit, url: 'http://gitblit.github.io/gitblit-maven' }
f6b200 99
JM 100 # Source all dependencies from the following repositories in the specified order
b33147 101 repositories: central, eclipse-snapshots, eclipse, gitblit
f6b200 102
JM 103 # Convenience properties for dependencies
104 properties: {
9db678 105   jetty.version  : 9.2.13.v20150730
f06898 106   slf4j.version  : 1.7.12
e59d9d 107   wicket.version : 1.4.22
5f1c30 108   lucene.version : 4.10.4
174863 109   jgit.version   : 4.1.1.201511131810-r
714883 110   groovy.version : 2.4.4
536441 111   bouncycastle.version : 1.52
f6b200 112   selenium.version : 2.28.0
c05da6 113   wikitext.version : 1.4
d41034 114   sshd.version: 1.0.0
006651 115   mina.version: 2.0.9
7a19ab 116   guice.version : 4.0
94146d 117   # Gitblit maintains a fork of guice-servlet
7a19ab 118   guice-servlet.version : 4.0-gb2
f6b200 119   }
JM 120
121 # Dependencies
122 #
123 #   May be tagged with ":label" notation to group dependencies.
124 #
125 #   "@extension" fetches the artifact with the specified extension
126 #   and ignores all transitive dependencies.
127 #
128 #   "!groupId" or "!groupId:artifactId" excludes all matching transitive
129 #   dependencies in that dependency's dependency graph.
130 #
131
132 dependencies:
35fe70 133 - compile 'com.google.inject:guice:${guice.version}' :war :fedclient
575d4f 134 - compile 'com.google.inject.extensions:guice-servlet:${guice-servlet.version}' :war
006651 135 - compile 'com.google.guava:guava:18.0' :war :fedclient
c6f3d0 136 - compile 'com.intellij:annotations:12.0' :war
2e141f 137 - compile 'log4j:log4j:1.2.17' :war :fedclient :manager
JM 138 - compile 'org.slf4j:slf4j-api:${slf4j.version}' :war :fedclient :manager
139 - compile 'org.slf4j:slf4j-log4j12:${slf4j.version}' :war :fedclient :manager
35fe70 140 - compile 'com.sun.mail:javax.mail:1.5.1' :war
9ef027 141 - compile 'javax.servlet:javax.servlet-api:3.1.0' :fedclient
JM 142 - compile 'org.eclipse.jetty.aggregate:jetty-all:${jetty.version}' @jar
f6b200 143 - compile 'org.apache.wicket:wicket:${wicket.version}' :war !org.mockito
JM 144 - compile 'org.apache.wicket:wicket-auth-roles:${wicket.version}' :war !org.mockito
145 - compile 'org.apache.wicket:wicket-extensions:${wicket.version}' :war !org.mockito
146 - compile 'org.apache.lucene:lucene-core:${lucene.version}' :war :fedclient
db9832 147 - compile 'org.apache.lucene:lucene-analyzers-common:${lucene.version}' :war :fedclient
f6b200 148 - compile 'org.apache.lucene:lucene-highlighter:${lucene.version}' :war :fedclient
JM 149 - compile 'org.apache.lucene:lucene-memory:${lucene.version}' :war :fedclient
db9832 150 - compile 'org.apache.lucene:lucene-queryparser:${lucene.version}' :war :fedclient
269404 151 - compile 'org.pegdown:pegdown:1.5.0' :war
c05da6 152 - compile 'org.fusesource.wikitext:wikitext-core:${wikitext.version}' :war
JM 153 - compile 'org.fusesource.wikitext:twiki-core:${wikitext.version}' :war
154 - compile 'org.fusesource.wikitext:textile-core:${wikitext.version}' :war
155 - compile 'org.fusesource.wikitext:tracwiki-core:${wikitext.version}' :war
156 - compile 'org.fusesource.wikitext:mediawiki-core:${wikitext.version}' :war
157 - compile 'org.fusesource.wikitext:confluence-core:${wikitext.version}' :war
35fe70 158 - compile 'org.eclipse.jgit:org.eclipse.jgit:${jgit.version}' :war :fedclient :manager !junit
JM 159 - compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:${jgit.version}' :war :manager !junit
160 - compile 'org.bouncycastle:bcprov-jdk15on:${bouncycastle.version}' :war
161 - compile 'org.bouncycastle:bcmail-jdk15on:${bouncycastle.version}' :war
162 - compile 'org.bouncycastle:bcpkix-jdk15on:${bouncycastle.version}' :war
41124c 163 - compile 'org.apache.sshd:sshd-core:${sshd.version}' :war !org.easymock
9ba6bc 164 - compile 'org.apache.mina:mina-core:${mina.version}' :war !org.easymock
f6b200 165 - compile 'rome:rome:0.9' :war :manager :api
006651 166 - compile 'com.google.code.gson:gson:2.3.1' :war :fedclient :manager :api
f6b200 167 - compile 'org.codehaus.groovy:groovy-all:${groovy.version}' :war
006651 168 - compile 'com.unboundid:unboundid-ldapsdk:2.3.8' :war
f6b200 169 - compile 'org.apache.ivy:ivy:2.2.0' :war
JM 170 - compile 'com.toedter:jcalendar:1.3.2' :authority
171 - compile 'org.apache.commons:commons-compress:1.4.1' :war
f7286e 172 - compile 'commons-io:commons-io:2.2' :war
e8b8ee 173 - compile 'com.force.api:force-partner-api:24.0.0' :war
006651 174 - compile 'org.freemarker:freemarker:2.3.22' :war
JM 175 - compile 'com.github.dblock.waffle:waffle-jna:1.7.3' :war
176 - compile 'org.kohsuke:libpam4j:1.8' :war
177 - compile 'args4j:args4j:2.0.29' :war :fedclient
a0c34e 178 - compile 'commons-codec:commons-codec:1.7' :war
006651 179 - compile 'redis.clients:jedis:2.6.2' :war
22ed6a 180 - compile 'ro.fortsoft.pf4j:pf4j:0.9.0' :war
eecaad 181 - compile 'org.apache.tika:tika-core:1.12' :war
PM 182 - compile 'org.apache.tika:tika-parsers:1.12' :war
fc3a39 183 - compile 'org.jsoup:jsoup:1.7.3' :war
f6b200 184 - test 'junit'
JM 185 # Dependencies for Selenium web page testing
186 - test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar
187 - test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar
188 - test 'org.seleniumhq.selenium:selenium-firefox-driver:${selenium.version}'
e97c01 189 - test 'org.mockito:mockito-core:1.10.19'
f6b200 190 # Dependencies with the "build" scope are retrieved
JM 191 # and injected into the Ant runtime classpath
192 - build 'jacoco'