Hi everyone,
I am new to Maven and even more so to M2ECLIPSE.
I have a fairly small maven project in eclipse, which relies on the FreeHep-NAR-plugin to compile and package JNI code. The project compiles and tests fine when run from the command line, but it doesnt even build with Eclipse. The reason being:
...
[DEBUG] Resolving plugin: org.freehep:freehep-nar-plugin with version: 2.0-alpha-10
[DEBUG] In verifyVersionedPlugin for: org.freehep:freehep-nar-plugin
[DEBUG] Trying repository central
url = http://repo1.maven.org/maven2
Downloading: http://repo1.maven.org/maven2/org/freehep/freehep-nar-plugin/2.0-alpha-10/freehep-nar-plugin-2.0-alpha-10.pom [DEBUG] Unable to get resource 'org.freehep:freehep-nar-plugin:pom:2.0-alpha-10' from repository central (http://repo1.maven.org/maven2) org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository
...
That s normal because this plugin doesnt live in the maven central repo, but in FreeHep's repo. I have created a new index with the FreeHep repo. I know m2eclipse found and used this new index because the FreeHep NAR plugin shows up in the list when using m2eclipse's "add plugin" menu. However, the build still fails with the same error as above. What am I missing ? Also, FreeHep-nar-plugin is in my local repository (because I built my application from the command line just before). Why doesnt m2eclipse use it ?
I can paste my pom.xml if required.

Thanks
Gilles


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to