James Moger
2014-03-09 6196cbe93c8d7501a364037b8f62c5084237cd56
commit | author | age
f6b200 1 #
JM 2 # Gitblit project descriptor
3 #
4
5 # Specify minimum Moxie version required to build
79cad5 6 requires: 0.9.1
f6b200 7
JM 8 # Project Metadata
9 name: Gitblit
10 description: pure Java Git solution
11 groupId: com.gitblit
12 artifactId: gitblit
6196cb 13 version: 1.4.0
f6b200 14 inceptionYear: 2011
JM 15
16 # Current stable release
6196cb 17 releaseVersion: 1.4.0
JM 18 releaseDate: 2014-03-09
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
71 # compile for Java 6 class format
72 tasks: {
73     'mx:javac' : {
74         source: 1.6
75         target: 1.6
76         compiler: javac1.6
77         encoding: UTF-8
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: {
d65a6b 104   jetty.version  : 8.1.13.v20130916
f6b200 105   wicket.version : 1.4.21
db9832 106   lucene.version : 4.6.0
f0950d 107   jgit.version   : 3.3.0.201403021825-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
f6b200 112   }
JM 113
114 # Dependencies
115 #
116 #   May be tagged with ":label" notation to group dependencies.
117 #
118 #   "@extension" fetches the artifact with the specified extension
119 #   and ignores all transitive dependencies.
120 #
121 #   "!groupId" or "!groupId:artifactId" excludes all matching transitive
122 #   dependencies in that dependency's dependency graph.
123 #
124
125 dependencies:
cacf8b 126 # Dagger dependency injection library (annotation processor)
JM 127 - compile 'com.squareup.dagger:dagger:1.1.0' :war apt
128 - compile 'com.squareup.dagger:dagger-compiler:1.1.0' :war optional apt
f6b200 129 # Standard dependencies
c6f3d0 130 - compile 'com.intellij:annotations:12.0' :war
f6b200 131 - compile 'com.beust:jcommander:1.17' :fedclient :authority
JM 132 - compile 'log4j:log4j:1.2.17' :war :fedclient :authority
e5c14e 133 - compile 'org.slf4j:slf4j-api:1.6.6' :war :fedclient :authority
f6b200 134 - compile 'org.slf4j:slf4j-log4j12:1.6.6' :war :fedclient :authority
23e08c 135 - compile 'javax.mail:mail:1.4.3' :war :authority
f6b200 136 - compile 'javax.servlet:javax.servlet-api:3.0.1' :fedclient
JM 137 - compile 'org.eclipse.jetty.aggregate:jetty-webapp:${jetty.version}' @jar
138 - compile 'org.eclipse.jetty:jetty-ajp:${jetty.version}' @jar
139 - compile 'org.apache.wicket:wicket:${wicket.version}' :war !org.mockito
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.wicketstuff:googlecharts:${wicket.version}' :war
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
160 - compile 'rome:rome:0.9' :war :manager :api
161 - compile 'com.google.code.gson:gson:1.7.2' :war :fedclient :manager :api
162 - compile 'org.codehaus.groovy:groovy-all:${groovy.version}' :war
163 - compile 'com.unboundid:unboundid-ldapsdk:2.3.0' :war
164 - compile 'org.apache.ivy:ivy:2.2.0' :war
165 - compile 'com.toedter:jcalendar:1.3.2' :authority
166 - compile 'org.apache.commons:commons-compress:1.4.1' :war
f7286e 167 - compile 'commons-io:commons-io:2.2' :war
e8b8ee 168 - compile 'com.force.api:force-partner-api:24.0.0' :war
430496 169 - compile 'org.freemarker:freemarker:2.3.19' :war
73c76b 170 - compile 'com.github.dblock.waffle:waffle-jna:1.5' :war
2659e7 171 - compile 'org.kohsuke:libpam4j:1.7' :war
a0c34e 172 - compile 'commons-codec:commons-codec:1.7' :war
5e3521 173 - compile 'redis.clients:jedis:2.3.1' :war
f6b200 174 - test 'junit'
JM 175 # Dependencies for Selenium web page testing
176 - test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar
177 - test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar
178 - test 'org.seleniumhq.selenium:selenium-firefox-driver:${selenium.version}'
179 # Dependencies with the "build" scope are retrieved
180 # and injected into the Ant runtime classpath
181 - build 'jacoco'