ochafik/nativelibs4java — Issue #279: JavaCL generator with Maven
Author: jHackTheRipper
Created: 2012-03-05 15:45:55+00:00
State: open

Hi Olivier,

I've spotted a small problem with JavaCL generator when trying to reuse the pom.xml provided here: http://code.google.com/p/javacl/wiki/Usage?ts=1329347267&updated=Usage#With_Maven

I had to add the Sonatype repository as a pluginRepository in my pom to enable Maven to use the maven-javacl-plugin.
This what I added:

sonatype
Sonatype OSS Snapshots Repository
http://oss.sonatype.org/content/groups/public

Moreover, the problem also appears when trying to start a Maven JavaCL project from an archetype.

mvn archetype:generate -DarchetypeGroupId=com.nativelibs4java -DarchetypeArtifactId=javacl-simple-tutorial -DarchetypeVersion=1.0-SNAPSHOT -DarchetypeRepository=http://oss.sonatype.org/content/groups/public

Here, the issued pom.xml still refers to javacl-parent as a parent POM in the upstream directory, whereas it should mention the sonatype repositories.

Thanks for having a look at that :)
Cheers,