James Moger
2013-07-24 e05f2266e8f11d22efe13e0588efc5c7f8268cd1
commit | author | age
f6b200 1 #
JM 2 # Gitblit project descriptor
3 #
4
5 # Specify minimum Moxie version required to build
32ada7 6 requires: 0.7.4
f6b200 7
JM 8 # Project Metadata
9 name: Gitblit
10 description: pure Java Git solution
11 groupId: com.gitblit
12 artifactId: gitblit
e05f22 13 version: 1.3.1
f6b200 14 inceptionYear: 2011
JM 15
16 # Current stable release
e05f22 17 releaseVersion: 1.3.1
JM 18 releaseDate: 2013-07-24
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'
25
26 # Licenses section included for POM generation
27 licenses:
28 - {
29     name: Apache ASL v2.0
30     url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
31   }
32
33 # Developers section included for POM generation
34 developers:
35 - {
36   id: james
37   name: James Moger
38   url: 'https://plus.google.com/u/0/116428776452027956920'
39   organization: VAS
40   organizationUrl: 'http://www.vas.com'
41   roles: developer
42   }
43
44 # SCM section included for POM generation
45 scm: {
46   connection: 'scm:git:git://github.com/gitblit/gitblit.git'
47   developerConnection: 'scm:git:https://github.com/gitblit/gitblit.git'
48   url: 'https://github.com/gitblit/gitblit'
49   tag: HEAD
50   }
51
52 # Mainclass is used for setting jar manifests and using the mx:run target
53 mainclass: com.gitblit.GitBlitServer
54
55 # Moxie supports multiple source directories and allows you to assign
56 # a scope to each directory.
57 sourceDirectories:
58 - compile 'src/main/java'
59 - test 'src/test/java'
60 # Moxie supports one site-scoped directory for mx:doc
61 - site 'src/site'
62
63 resourceDirectories:
64 - compile 'src/main/resources'
65 - site 'src/site/resources'
66
67 # compile for Java 6 class format
68 tasks: {
69     'mx:javac' : {
70         source: 1.6
71         target: 1.6
72         compiler: javac1.6
73         encoding: UTF-8
74         # stop complaints about bootstrap classpath when compiling with Java 7
75         compilerArgs: '-Xlint:-options'
76     }
77 }
78
79 # Generate Eclipse project files.
80 # Generate IntelliJ IDEA module files.
81 # Generate a distribution Maven POM (not suitable for building with Maven).
82 apply: eclipse, intellij, pom
83
84 # Copy all retrieved dependencies to the "ext" directory.
85 # Generated IDE settings (.classpath, etc) will use the artifacts
86 # from this project-relative directory. This allows the IDE settings
87 # to be version-controlled and shared.
88 dependencyDirectory: ext
89
90 # Register the Eclipse JGit Maven repositories
91 registeredRepositories:
92 - { id: jgit, url: 'http://download.eclipse.org/jgit/maven' }
93 - { id: jgit-snapshots, url: 'https://repo.eclipse.org/content/groups/snapshots' }
94
95 # Source all dependencies from the following repositories in the specified order
96 repositories: central, jgit-snapshots, jgit
97
98 # Convenience properties for dependencies
99 properties: {
100   jetty.version  : 7.6.8.v20121106
101   wicket.version : 1.4.21
102   lucene.version : 3.6.1
9cce80 103   jgit.version   : 3.0.0.201306101825-r
f6b200 104   groovy.version : 1.8.8
JM 105   bouncycastle.version : 1.47
106   selenium.version : 2.28.0
107   }
108
109 # Dependencies
110 #
111 #   May be tagged with ":label" notation to group dependencies.
112 #
113 #   "@extension" fetches the artifact with the specified extension
114 #   and ignores all transitive dependencies.
115 #
116 #   "!groupId" or "!groupId:artifactId" excludes all matching transitive
117 #   dependencies in that dependency's dependency graph.
118 #
119
120 dependencies:
121 # Standard dependencies
122 - compile 'com.beust:jcommander:1.17' :fedclient :authority
123 - compile 'log4j:log4j:1.2.17' :war :fedclient :authority
e5c14e 124 - compile 'org.slf4j:slf4j-api:1.6.6' :war :fedclient :authority
f6b200 125 - compile 'org.slf4j:slf4j-log4j12:1.6.6' :war :fedclient :authority
JM 126 - compile 'javax.mail:mail:1.4.3' :war :fedclient :authority
127 - compile 'javax.servlet:javax.servlet-api:3.0.1' :fedclient
128 - compile 'org.eclipse.jetty.aggregate:jetty-webapp:${jetty.version}' @jar
129 - compile 'org.eclipse.jetty:jetty-ajp:${jetty.version}' @jar
130 - compile 'org.apache.wicket:wicket:${wicket.version}' :war !org.mockito
131 - compile 'org.apache.wicket:wicket-auth-roles:${wicket.version}' :war !org.mockito
132 - compile 'org.apache.wicket:wicket-extensions:${wicket.version}' :war !org.mockito
133 - compile 'org.wicketstuff:googlecharts:${wicket.version}' :war
134 - compile 'org.apache.lucene:lucene-core:${lucene.version}' :war :fedclient
135 - compile 'org.apache.lucene:lucene-highlighter:${lucene.version}' :war :fedclient
136 - compile 'org.apache.lucene:lucene-memory:${lucene.version}' :war :fedclient
137 - compile 'org.tautua.markdownpapers:markdownpapers-core:1.3.2' :war
138 - compile 'org.eclipse.jgit:org.eclipse.jgit:${jgit.version}' :war :fedclient :manager :authority
139 - compile 'org.eclipse.jgit:org.eclipse.jgit.http.server:${jgit.version}' :war :fedclient :manager :authority
140 - compile 'org.bouncycastle:bcprov-jdk15on:${bouncycastle.version}' :war :authority
141 - compile 'org.bouncycastle:bcmail-jdk15on:${bouncycastle.version}' :war :authority
142 - compile 'org.bouncycastle:bcpkix-jdk15on:${bouncycastle.version}' :war :authority
143 - compile 'rome:rome:0.9' :war :manager :api
144 - compile 'com.google.code.gson:gson:1.7.2' :war :fedclient :manager :api
145 - compile 'org.codehaus.groovy:groovy-all:${groovy.version}' :war
146 - compile 'com.unboundid:unboundid-ldapsdk:2.3.0' :war
147 - compile 'org.apache.ivy:ivy:2.2.0' :war
148 - compile 'com.toedter:jcalendar:1.3.2' :authority
149 - compile 'org.apache.commons:commons-compress:1.4.1' :war
e8b8ee 150 - compile 'com.force.api:force-partner-api:24.0.0' :war
430496 151 - compile 'org.freemarker:freemarker:2.3.19' :war
73c76b 152 - compile 'com.github.dblock.waffle:waffle-jna:1.5' :war
2659e7 153 - compile 'org.kohsuke:libpam4j:1.7' :war
f6b200 154 - test 'junit'
JM 155 # Dependencies for Selenium web page testing
156 - test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar
157 - test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar
158 - test 'org.seleniumhq.selenium:selenium-firefox-driver:${selenium.version}'
159 # Dependencies with the "build" scope are retrieved
160 # and injected into the Ant runtime classpath
161 - build 'jacoco'