Login  Register

Re: maven artifacts

Posted by Michael Bien on Sep 11, 2010; 9:31pm
URL: https://forum.jogamp.org/What-about-Maven-tp844816p1458692.html

On 09/11/2010 10:49 PM, utgarda [via jogamp] wrote:
Michael Bien wrote:
Just want to note that this are actually two distinct goals:
1. provide maven artefacts
2. build with maven
Michael Bien wrote:
you would have to start somewhere. Having a temporary mix of ant + maven is completely fine. As long nobody starts at the root of the tree.
JOAL/JOCL are leaves.
Yep, just put GlueGen 1.0-beta07-SNAPSHOT to oss.sonatype.org : https://oss.sonatype.org/index.html#nexus-search;quick~gluegen
Gonna update the snapshot on commits to master and deploy further tagged versions. Currently there are natives present only for linux-amd64, cause I didn't do the crossbuild yet. But you can use the new buildfile to quickly install to the local repo everything you build on your system with target "maven.install"
great!


And yes, that's just calling maven from ant to install/deploy artifacts. Didn't touch the build itself - currently it's too much of a task for me to rewrite gluegen build from ant to maven, and no need to do it too, cause it works fine as it is. So just added maven calls to deploy created files at the bottom of build.xml

Guess I'll do it the same way for the rest of jogamp.org, but let me finish it with GlueGen first. To do it properly I need to fulfill requirements of sonatype's forge (and, for that matter, those of maven central repo ), and compose some valid and descriptive pom files. To help me do this, you can answer these questions:

   1) What are the artifacts dependencies - what depends on what? natives on gluegen.jar, or the contrary, or neither. Sorry, I don't use gluegen directly, so I don't understand that. And what does -rt and -cdc mean? Just give me a link please, I'll read and try to understand that myself.
all projects depend on gluegen-rt.jar (speak gluegen runtime). gluegen.jar is just build-time infrastructure... not needed at runtime.
cdc means connected device configuration (->low end mobile... lets ignore it for now.)

JOGL is more complicated since it has tons of potential artifacts.
but lets start with the full distribution:
- jogl.all.jar
- newt.all.jar
- nativewindow.all.jar

where:
- jogl.all.jar depends on newt.all.jar + nativewindow.all.jar
- newt.all.jar depends on nativewindow.all.jar (but I am not sure about that, maybe even in the other direction)


   2) Is there some link to the BSD license version used in gluegen officially published on the net?
http://jogamp.org/gluegen/LICENSE.txt
(we should update the license since the Sun copyright does obviously not apply to the code we contributed since the fork happened)



   3) As part of future better maven compatibility, can you guys rename your artifacts so they have the os-and-platform part of their names at the end? I mean, name them gluegen-rt-natives-cdc-linux-amd64.jar, not gluegen-rt-natives-linux-amd64-cdc.jar That would gradually simplify maven deployment, cause maven puts platform classifier at the end of filenames, and I can't change that.
i suppose we could do that. At least I don't see anything blocking this. But lets ignore cdc for now :)


Think I already know all the other info I need for now.

Thank you for your efforts!

michael
-- 
- - - -
http://michael-bien.com