maven.adoc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. = Maven Artifacts
  2. :author:
  3. :revnumber:
  4. :revdate: 2016/03/17 20:48
  5. :relfileprefix: ../
  6. :imagesdir: ..
  7. ifdef::env-github,env-browser[:outfilesuffix: .adoc]
  8. You can use jME3 with maven compatible build systems.
  9. == jME3.2
  10. Artifacts for jME3.1 and jME3.2 releases are available in repositories :
  11. * link:https://jcenter.bintray.com/org/jmonkeyengine/[JCenter]
  12. * link:https://bintray.com/jmonkeyengine/org.jmonkeyengine[Bintray repo: org.jmonkeyengine] every artifact of the group org.jmonkeyengine (same as jcenter + few artifacts not eligible for jcenter), click on the `SET ME UP` button to view instruction for Gradle, Maven,...
  13. The group id for all jME3 libraries is `org.jmonkeyengine`.
  14. The following artifacts are currently available (version `3.2.0-stable`):
  15. * jme3-android-native - Native libraries needed for Android
  16. * jme3-android - Android renderer for jME3
  17. * jme3-blender - Blender file loader, only works on desktop renderers
  18. * jme3-bullet-native-android - Native libraries needed for bullet (not jbullet) on android (beta)
  19. * jme3-bullet-native - Native libraries needed for bullet (not jbullet) on desktop (beta)
  20. * jme3-bullet - Physics support using native bullet, needs jme3-bullet-native or jme3-bullet-native-android (beta)
  21. +
  22. NOTE: *Only one version of jme3-jbullet OR jme3-bullet with a single "`natives`" library can be used.*
  23. * jme3-core - Core libraries needed for all jME3 projects
  24. * jme3-desktop - Parts of the jME3 +++<abbr title="Application Programming Interface">API</abbr>+++ that are only compatible with desktop renderers, needed for image loading on desktop
  25. * jme3-effects - Effects libraries for water and other post filters
  26. * jme3-jogg - Loader for jogg audio files
  27. * jme3-jogl - JOGL based renderer (optional replacement for lwjgl / lwjgl3)
  28. * jme3-lwjgl - Desktop renderer for jME3
  29. * jme3-lwjgl3 - NEW since jME3.1! LWJGL3-based desktop renderer for jME3 (beta)
  30. * jme3-networking - jME3 networking libraries (aka spidermonkey)
  31. * jme3-niftygui - NiftyGUI support for jME3 (Not available in JCenter)
  32. * jme3-plugins - Loader plugins for OgreXML and jME-XML
  33. * jme3-terrain - Terrain generation +++<abbr title="Application Programming Interface">API</abbr>+++
  34. * jme3-jbullet - Physics support using jbullet (desktop only, not available in JCenter)
  35. +
  36. NOTE: *Only one version of jme3-jbullet OR jme3-bullet with a single "`natives`" library can be used.*
  37. * jme3-ios - iOS renderer for jME3 (Not available in JCenter)
  38. * jme3-vr - New since jME3.2! Support for virtual reality. (Not available in JCenter)
  39. For a basic desktop application to work you need to import at least
  40. * jme3-core
  41. * jme3-desktop
  42. * jme3-lwjgl OR jme3-lwjgl3
  43. For a basic android application to work you need to import at least
  44. * jme3-core
  45. * jme3-android
  46. * jme3-android-native
  47. === Gradle
  48. [source]
  49. ----
  50. repositories {
  51. jcenter()
  52. //maven { url "http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine" }
  53. }
  54. def jme3 = [v:'3.2.0-stable', g:'org.jmonkeyengine']
  55. dependencies {
  56. compile "${jme3.g}:jme3-core:${jme3.v}"
  57. runtime "${jme3.g}:jme3-desktop:${jme3.v}"
  58. runtime "${jme3.g}:jme3-lwjgl:${jme3.v}"
  59. }
  60. ----
  61. === Maven
  62. [source]
  63. ----
  64. <properties>
  65. <jme3_g>org.jmonkeyengine</jme3_g>
  66.   <jme3_v>3.2.0-stable</jme3_v>
  67. </properties>
  68. <repositories>
  69. <repository>
  70. <id>jcenter</id>
  71. <url>https://jcenter.bintray.com</url>
  72. </repository>
  73. </repositories>
  74. <dependencies>
  75. <dependency>
  76. <groupId>${jme3_g}</groupId>
  77. <artifactId>jme3-core</artifactId>
  78. <version>${jme3_v}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>${jme3_g}</groupId>
  82. <artifactId>jme3-desktop</artifactId>
  83. <version>${jme3_v}</version>
  84. <scope>runtime</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>${jme3_g}</groupId>
  88. <artifactId>jme3-lwjgl</artifactId>
  89. <version>${jme3_v}</version>
  90. </dependency>
  91. </dependencies>
  92. ----
  93. == jME3.0
  94. You can use jME3 with maven compatible build systems, the official maven repository for jME3:
  95. * link:https://bintray.com/jmonkeyengine/com.jme3[Bintray repo: com.jme3] (click on the `SET ME UP` button to view instruction for Gradle, Maven,...)
  96. The group id for all jME3 libraries is `com.jme3`, the following artifacts are currently available (version `3.0.10`):
  97. * jme3-core - Core libraries needed for all jME3 projects
  98. * jme3-effects - Effects libraries for water and other post filters
  99. * jme3-networking - jME3 networking libraries (aka spidermonkey)
  100. * jme3-plugins - Loader plugins for OgreXML and jME-XML
  101. * jme3-jogg - Loader for jogg audio files
  102. * jme3-terrain - Terrain generation +++<abbr title="Application Programming Interface">API</abbr>+++
  103. * jme3-blender - Blender file loader, only works on desktop renderers
  104. * jme3-jbullet - Physics support using jbullet (desktop only) *Only jme3-jbullet OR jme3-bullet can be used*
  105. * jme3-bullet - Physics support using native bullet, needs jme3-bullet-natives or jme3-bullet-natives-android (alpha)
  106. * jme3-bullet-natives - Native libraries needed for bullet (not jbullet) on desktop (alpha)
  107. * jme3-bullet-natives-android - Native libraries needed for bullet (not jbullet) on android (alpha)
  108. * jme3-niftygui - NiftyGUI support for jME3
  109. * jme3-desktop - Parts of the jME3 +++<abbr title="Application Programming Interface">API</abbr>+++ that are only compatible with desktop renderers, needed for image loading on desktop
  110. * jme3-lwjgl - Desktop renderer for jME3
  111. * jme3-android - Android renderer for jME3
  112. * jme3-ios - iOS renderer for jME3
  113. For a basic desktop application to work you need to import at least
  114. * jme3-core
  115. * jme3-desktop
  116. * jme3-lwjgl
  117. For a basic android application to work you need to import at least
  118. * jme3-core
  119. * jme3-android
  120. === Gradle
  121. If you happen to be using Gradle, you'll first need to add the repository, perhaps so it looks like this:
  122. [source]
  123. ----
  124. repositories {
  125. jcenter()
  126. maven { url "http://dl.bintray.com/jmonkeyengine/com.jme3" }
  127. }
  128. def jme3 = [v:'3.0.10', g:'com.jme3']
  129. dependencies {
  130. compile "${jme3.g}:jme3-core:${jme3.v}"
  131. runtime "${jme3.g}:jme3-desktop:${jme3.v}"
  132. runtime "${jme3.g}:jme3-lwjgl:${jme3.v}"
  133. }
  134. ----
  135. === Maven
  136. [source]
  137. ----
  138. <properties>
  139. <jme3_g>com.jme3</jme3_g>
  140. <jme3_v>3.0.10</jme3_v>
  141. </properties>
  142. <repositories>
  143. <repository>
  144. <id>com_jme3-repo</id>
  145. <url>http://dl.bintray.com/jmonkeyengine/com.jme3</url>
  146. </repository>
  147. </repositories>
  148. <dependencies>
  149. <dependency>
  150. <groupId>${jme3_g}</groupId>
  151. <artifactId>jme3-core</artifactId>
  152. <version>${jme3_v}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>${jme3_g}</groupId>
  156. <artifactId>jme3-desktop</artifactId>
  157. <version>${jme3_v}</version>
  158. <scope>runtime</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>${jme3_g}</groupId>
  162. <artifactId>jme3-lwjgl</artifactId>
  163. <version>${jme3_v}</version>
  164. <scope>runtime</scope>
  165. </dependency>
  166. </dependencies>
  167. ----