Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] 'Workspace-Local Code Search' project Compile error

Hi,

> Thank you very much for your response.
> 
> I run the project as 'Maven build'
> 
> Then I get these errors
> 
> 
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> further details.
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]  
> [ERROR]   The project
> org.eclipse.recommenders.codesearch:org.eclipse.recommenders.codesearch.rcp.index:0.1.0-SNAPSHOT
> (/home/malintha/eclipse-gsoc/project/org.eclipse.recommenders.codesearch/org.eclipse.recommenders.codesearch.rcp.index/pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM for
> org.eclipse.recommenders.codesearch:org.eclipse.recommenders.codesearch.parent:1.0.0-SNAPSHOT:
> Could not transfer artifact org.eclipse:eclipse-parent:pom:3 from/to
> eclipse-juno (http://download.eclipse.org/releases/juno): No connector
> available to access repository eclipse-juno
> (http://download.eclipse.org/releases/juno) of type p2 using the
> available factories AsyncRepositoryConnectorFactory,
> WagonRepositoryConnectorFactory and 'parent.relativePath' points at
> wrong local POM @
> org.eclipse.recommenders.codesearch:org.eclipse.recommenders.codesearch.parent:1.0.0-SNAPSHOT,
> /home/malintha/eclipse-gsoc/project/org.eclipse.recommenders.codesearch/pom.xml,
> line 5, column 13 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

ah, now that's much more helpful.

The POM of the org.eclipse.recommenders.codesearch.parent project says
it inherits from the eclipse-parent project, but that project cannot be
found in a Maven repository declared in the POM.

It is available at the Eclipse Nexus repo, however:
<http://maven.eclipse.org/nexus/index.html#nexus-search;quick~eclipse-parent>.
Simply at this repository
<http://maven.eclipse.org/nexus/content/groups/public/> to your
settings.xml; Maven should then pick up the eclipse-parent from there.

Hope this helps.

Andreas
-- 
Codetrails.com - the knowledge transfer company


Back to the top