Bug 1281

Summary: jogl-demos pom.xml points to incorrect artifactId 2.0-rc11post03
Product: [JogAmp] General Reporter: Phil Jordan <p.j.nz>
Component: buildsAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: minor CC: gouessej
Priority: P4    
Version: tbd   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Phil Jordan 2016-01-07 15:35:20 CET
If I clone this in eclipse:
https://github.com/sgothel/jogl-demos.git

Which I presume should work out of the box.

I get error on each pom.xml for core and desktop 

<dependencies>
    <dependency>
      <groupId>org.jogamp.jogl</groupId>
      <artifactId>jogl-all</artifactId>
      <version>2.0-rc11post03</version>
    </dependency>
</dependencies>

I can only find 2.0-rc11 and 2.0.2-rc12 on Maven 
Gluegen-rt-android and jogl-all-android only have 2.0.2-rc12 so changing all to that fixes the problem

E.g. in jpda-android/pom.xml I set it to this:

<dependency>
      <groupId>org.jogamp.gluegen</groupId>
      <artifactId>gluegen-rt-android</artifactId>
      <version>2.0.2-rc12</version>
    </dependency>
    <!-- Depend on the correct natives for Android -->
    <dependency>
      <groupId>org.jogamp.gluegen</groupId>
      <artifactId>gluegen-rt</artifactId>
      <version>2.0.2-rc12</version>
      <classifier>natives-android-armv6</classifier>
    </dependency>
    <!-- Depend on the jogl Android package -->
    <dependency>
      <groupId>org.jogamp.jogl</groupId>
      <artifactId>jogl-all-android</artifactId>
      <version>2.0.2-rc12</version>
    </dependency>
    <!-- Depend on the correct natives for Android -->
    <dependency>
      <groupId>org.jogamp.jogl</groupId>
      <artifactId>jogl-all</artifactId>
      <version>2.0.2-rc12</version>
      <classifier>natives-android-armv6</classifier>
      <scope>runtime</scope>
    </dependency>
  </dependencies>

and it appears to work


Also jp4da-desktop has source folders set 
    src/main/resources
    src/test/resources

that don't appear to exist

Finally all the imports use the older package com.jogamp.opengl.* and need to be swapped to javax.media.opengl.*


Note I'm just learning this in eclipse so in jp4da-android I'm left with a final apk packaging error and plugin error I'm not fussed about at this stage
Comment 1 Phil Jordan 2016-01-07 21:19:33 CET
I note that I've put the package names to the older version, so if fact I presume the artifactId should be version 2.3.2 or something and the packages would be correct out of the box
Comment 2 Julien Gouesse 2016-02-16 20:01:36 CET
The problem comes from this line:
https://github.com/sgothel/jogl-demos/blob/master/maven/jp4da/jp4da-desktop/pom.xml#L37