I'm in a bit of a problem here:
I have to make a maven project for native (jni & C) code.
I am using this plugin: http://mojo.codehaus.org/maven-nativ...gin/index.html
and trying to make this example build:
http://mojo.codehaus.org/maven-nativ...s/jni-dll.html
(the jni one in svn)
The profile is win32 and MSVC is the compiler provider.
I get the following error:
Expand|Select|Wrap|Line Numbers
- [ERROR]
- Maven encountered an error while looking up the following Mojo:
- Group-Id: org.codehaus.mojo
- Artifact-Id: native-maven-plugin
- Version: 1.0-alpha-2
- Mojo: compile
- brought in via: Direct invocation
- Referenced from project:
- Group-Id: org.codehaus.mojo.natives.it.jni.win32
- Artifact-Id: hello
- Version: 1.0-SNAPSHOT
- From file: \\Sfil0\UserData$\pjovanovic05\workspace\jni\native\win32\pom.xml
- Reason: Unable to lookup component 'org.apache.maven.plugin.Mojo', it could not be started.
- role: org.apache.maven.plugin.Mojo
- roleHint: org.codehaus.mojo:native-maven-plugin:1.0-alpha-2:compile
- classRealm: /plugins/org.codehaus.mojo:native-maven-plugin:1.0-alpha-2@48/thread:main
- Root cause: Component descriptor cannot be found in the component repository: org.codehaus.mojo.natives.manager.CompilerManager [default] (lookup realm: ClassRealm[/plugins/org.codehaus.mojo:native-maven-plugin:1.0-alpha-2@48/thread:main, parent: ClassRealm[/projects/org.codehaus.mojo.natives.it.jni.win32:hello:1.0-SNAPSHOT/thread:main, parent: ClassRealm[plexus.core, parent: null]]]).
- role: org.codehaus.mojo.natives.manager.CompilerManager
- roleHint: default
- classRealm: /plugins/org.codehaus.mojo:native-maven-plugin:1.0-alpha-2@48/thread:main
Anybody seen anything like this?