Hi everyone!
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:
(the jni one in svn)
The profile is win32 and MSVC is the compiler provider.
I get the following error:
Anybody seen anything like this?
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:
(the jni one in svn)
The profile is win32 and MSVC is the compiler provider.
I get the following error:
Code:
[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?
Comment