James Moger
2014-10-28 5e0491c607e53cf9c9161df52c895d85c85f6782
commit | author | age
f6b200 1 #
JM 2 # Gitblit project descriptor
3 #
4
5 # Specify minimum Moxie version required to build
41dd02 6 requires: 0.9.3
f6b200 7
JM 8 # Project Metadata
9 name: Gitblit
10 description: pure Java Git solution
11 groupId: com.gitblit
12 artifactId: gitblit
5e0491 13 version: 1.6.2
f6b200 14 inceptionYear: 2011
JM 15
16 # Current stable release
5e0491 17 releaseVersion: 1.6.2
JM 18 releaseDate: 2014-10-28
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' }
10643e 98 - { id: atlassian-contrib, url: 'https://maven.atlassian.com/content/repositories/atlassian-3rdparty' }
f6b200 99
JM 100 # Source all dependencies from the following repositories in the specified order
10643e 101 repositories: central, eclipse-snapshots, eclipse, atlassian-contrib
f6b200 102
JM 103 # Convenience properties for dependencies
104 properties: {
af0c3c 105   jetty.version  : 9.2.3.v20140905
f6b200 106   wicket.version : 1.4.21
db9832 107   lucene.version : 4.6.0
2bce51 108   jgit.version   : 3.5.1.201410131835-r
f6b200 109   groovy.version : 1.8.8
644667 110   bouncycastle.version : 1.49
f6b200 111   selenium.version : 2.28.0
c05da6 112   wikitext.version : 1.4
afee18 113   sshd.version: 0.12.0
9ba6bc 114   mina.version: 2.0.7
f6b200 115   }
JM 116
117 # Dependencies
118 #
119 #   May be tagged with ":label" notation to group dependencies.
120 #
121 #   "@extension" fetches the artifact with the specified extension
122 #   and ignores all transitive dependencies.
123 #
124 #   "!groupId" or "!groupId:artifactId" excludes all matching transitive
125 #   dependencies in that dependency's dependency graph.
126 #
127
128 dependencies:
cacf8b 129 # Dagger dependency injection library (annotation processor)
JM 130 - compile 'com.squareup.dagger:dagger:1.1.0' :war apt
131 - compile 'com.squareup.dagger:dagger-compiler:1.1.0' :war optional apt
f6b200 132 # Standard dependencies
c6f3d0 133 - compile 'com.intellij:annotations:12.0' :war
f6b200 134 - compile 'log4j:log4j:1.2.17' :war :fedclient :authority
a4f7cc 135 - compile 'org.slf4j:slf4j-api:1.7.5' :war :fedclient :authority
JM 136 - compile 'org.slf4j:slf4j-log4j12:1.7.5' :war :fedclient :authority
4d1f6a 137 - compile 'com.sun.mail:javax.mail:1.5.1' :war :authority
9ef027 138 - compile 'javax.servlet:javax.servlet-api:3.1.0' :fedclient
JM 139 - compile 'org.eclipse.jetty.aggregate:jetty-all:${jetty.version}' @jar
f6b200 140 - compile 'org.apache.wicket:wicket:${wicket.version}' :war !org.mockito
JM 141 - compile 'org.apache.wicket:wicket-auth-roles:${wicket.version}' :war !org.mockito
142 - compile 'org.apache.wicket:wicket-extensions:${wicket.version}' :war !org.mockito
143 - compile 'org.apache.lucene:lucene-core:${lucene.version}' :war :fedclient
db9832 144 - compile 'org.apache.lucene:lucene-analyzers-common:${lucene.version}' :war :fedclient
f6b200 145 - compile 'org.apache.lucene:lucene-highlighter:${lucene.version}' :war :fedclient
JM 146 - compile 'org.apache.lucene:lucene-memory:${lucene.version}' :war :fedclient
db9832 147 - compile 'org.apache.lucene:lucene-queryparser:${lucene.version}' :war :fedclient
0c0bb9 148 - compile 'org.pegdown:pegdown:1.4.2' :war
c05da6 149 - compile 'org.fusesource.wikitext:wikitext-core:${wikitext.version}' :war
JM 150 - compile 'org.fusesource.wikitext:twiki-core:${wikitext.version}' :war
151 - compile 'org.fusesource.wikitext:textile-core:${wikitext.version}' :war
152 - compile 'org.fusesource.wikitext:tracwiki-core:${wikitext.version}' :war
153 - compile 'org.fusesource.wikitext:mediawiki-core:${wikitext.version}' :war
154 - compile 'org.fusesource.wikitext:confluence-core:${wikitext.version}' :war
f0950d 155 - compile 'org.eclipse.jgit:org.eclipse.jgit:${jgit.version}' :war :fedclient :manager :authority !junit
JM 156 - compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:${jgit.version}' :war :manager :authority !junit
f6b200 157 - compile 'org.bouncycastle:bcprov-jdk15on:${bouncycastle.version}' :war :authority
JM 158 - compile 'org.bouncycastle:bcmail-jdk15on:${bouncycastle.version}' :war :authority
159 - compile 'org.bouncycastle:bcpkix-jdk15on:${bouncycastle.version}' :war :authority
41124c 160 - compile 'org.apache.sshd:sshd-core:${sshd.version}' :war !org.easymock
9ba6bc 161 - compile 'org.apache.mina:mina-core:${mina.version}' :war !org.easymock
f6b200 162 - compile 'rome:rome:0.9' :war :manager :api
JM 163 - compile 'com.google.code.gson:gson:1.7.2' :war :fedclient :manager :api
164 - compile 'org.codehaus.groovy:groovy-all:${groovy.version}' :war
165 - compile 'com.unboundid:unboundid-ldapsdk:2.3.0' :war
166 - compile 'org.apache.ivy:ivy:2.2.0' :war
167 - compile 'com.toedter:jcalendar:1.3.2' :authority
168 - compile 'org.apache.commons:commons-compress:1.4.1' :war
f7286e 169 - compile 'commons-io:commons-io:2.2' :war
e8b8ee 170 - compile 'com.force.api:force-partner-api:24.0.0' :war
430496 171 - compile 'org.freemarker:freemarker:2.3.19' :war
73c76b 172 - compile 'com.github.dblock.waffle:waffle-jna:1.5' :war
2659e7 173 - compile 'org.kohsuke:libpam4j:1.7' :war
50380b 174 - compile 'args4j:args4j:2.0.26' :war :fedclient :authority
a0c34e 175 - compile 'commons-codec:commons-codec:1.7' :war
5e3521 176 - compile 'redis.clients:jedis:2.3.1' :war
cc2665 177 - compile 'ro.fortsoft.pf4j:pf4j:0.8.0' :war
ca31f5 178 - compile 'org.apache.tika:tika-core:1.5' :war
fc3a39 179 - compile 'org.jsoup:jsoup:1.7.3' :war
f6b200 180 - test 'junit'
JM 181 # Dependencies for Selenium web page testing
182 - test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar
183 - test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar
184 - test 'org.seleniumhq.selenium:selenium-firefox-driver:${selenium.version}'
185 # Dependencies with the "build" scope are retrieved
186 # and injected into the Ant runtime classpath
187 - build 'jacoco'