External libraries and jme3stuff

Thanks Normen,

As I work on the same stuff today (see post about jme3stuff), I’ll be happy to help improve both repo (jme3stuff isn’t limited to jme3 main distribution).

I toke a quick look, diff between both publication :

  • official : more artifacts, minimal metadata into pom.xml
  • jme3stuff : less artifacts, better metadata including dependencies (IMHO pom.xml without dependencies defined is near to useless)

How can I help ?

@david.bernard.31 said: (IMHO pom.xml without dependencies defined is near to useless)

What dependencies are you talking about? The dependency on jme3-core?

the dependency to jme3-core,…
by ex for jme3-jbullet (extract of pom I generate):

  <groupId>com.jme3</groupId>
  <artifactId>jme3-jbullet</artifactId>
  <version>3.0.10</version>
  <dependencies>
    <dependency>
      <groupId>java3d</groupId>
      <artifactId>vecmath</artifactId>
      <version>1.3.1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.jme3</groupId>
      <artifactId>jbullet</artifactId>
      <version>3.0.10</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.jme3</groupId>
      <artifactId>stack-alloc</artifactId>
      <version>3.0.10</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.jme3</groupId>
      <artifactId>jme3-core</artifactId>
      <version>3.0.10</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.jme3</groupId>
      <artifactId>jme3-terrain</artifactId>
      <version>3.0.10</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
...

dependencies definition is the main difference between my publication script and the previously existing one.

Well jme3-core is a dependency for everything, it would always be the first artifact you add to a project, the only relevant dependencies are jbullet/terrain (which is only a compile time dependency really) and blender/desktop. Anyway I added jme3-core and also the javadocs and sources, uploading in a sec.

Yay, finally.

Btw this has nothing to do with eclipse (well maybee the eclipse users publish more librarys for others to consume?)

Finally i dont need to have a provided JME3 in the JME3-Jfx gui, to let it build (read via gradle not eclipse), and can clean the build and the git of it.

I’m converting JME3-JFX, need some code change (I’ll do PR).

So when will you publish jME3-JFX in the official plugin library for the SDK?

JME3-JFX require jdk8, and some fixes to work 3.0.10 (the jme3-core.jar in the lib dir is not a released 3.0.x, it use some Image.Format not available, I’m experimenting some workaround).

@david.bernard.31 said: JME3-JFX require jdk8, and some fixes to work 3.0.10 (the jme3-core.jar in the lib dir is not a released 3.0.x, it use some Image.Format not available, I'm experimenting some workaround).

Oh nice, then the whole maven thing makes a lot of sense for it :roll: