Hi all,
I would like to devel an application that depends on JOGL (from
http://jogl.dev.java.net). There is no repository for JOGL but I can
create mine using mvn deploy:deploy-file.
The problem is that JOGL provides several jar files depending on
os.arch and os.name variables values. How can I create dependency
declaration in my pom.xml?
I try the following with no success :
<dependency>
<groupId>jogl</groupId>
<artifactId>jogl-native-${os.name}-${os.arch}</artifactId>
<version>1.0</version>
</dependency>
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
[...]
Caused by: org.apache.maven.project.InvalidProjectModelException:
Failed to validate POM
I think this error is due to a space in the value of the os.name
variable (ie. "Windows XP").
If you take a look to the following jnlp files, you will notice that
dependencies depend on arch and os :
http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp
http://download.java.net/media/gluegen/webstart/gluegen-rt.jnlp
Any suggestion to make the same with maven2?
Thanks, Laurent.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]