Skip to content

JavaCL generator with Maven #279

@jopasserat

Description

@jopasserat

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:

  <pluginRepository>
     <id>sonatype</id>
     <name>Sonatype OSS Snapshots Repository</name>
     <url>http://oss.sonatype.org/content/groups/public</url>
  </pluginRepository>

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions