You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.moxie 5.7KB

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