05-01-2014 04:24 PM
I'm trying to create a plugin project, and I'm having trouble understanding how maven dependencies are supposed to work. My IDE is Eclipse Kepler with the Nuxeo IDE modules installed. I have Maven 3.2.1 installed and Eclipse is set to use that. I'm using the Nuxeo SDK v5.9.2.
I've created a new plugin project through the project wizard. Then I've added some code to project, including for example some test cases which use org.nuxeo.runtime.test.runner.FeaturesRunner. those classes aren't in the SDK, so I've added a maven dependency:
<dependency>
<groupId>org.nuxeo.runtime</groupId>
<artifactId>nuxeo-runtime-test</artifactId>
<scope>test</scope>
</dependency>
However, the project's eclipse build path doesn't include maven dependencies, so Eclipse still flags classes like FeaturesRunner as missing.
I'm not sure how best to proceed here:
Could you clarify what I should do here?
05-05-2014 08:04 AM
Hi,
This is a known issue, consequence of our Maven 3 migration since 5.8. The fix is in progress. https://jira.nuxeo.com/browse/NXBT-719
Waiting for it, you can add manually dependencies you need by "Preferences -> Nuxeo -> User Libraries” and add different jars to resolve it.
05-05-2014 08:04 AM
Hi,
This is a known issue, consequence of our Maven 3 migration since 5.8. The fix is in progress. https://jira.nuxeo.com/browse/NXBT-719
Waiting for it, you can add manually dependencies you need by "Preferences -> Nuxeo -> User Libraries” and add different jars to resolve it.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.