maven.adoc 6.7 KB

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