maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Setya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MNG-6067) Local repository could not be found
Date Sun, 17 Jul 2016 14:52:20 GMT
Setya created MNG-6067:
--------------------------

             Summary: Local repository could not be found
                 Key: MNG-6067
                 URL: https://issues.apache.org/jira/browse/MNG-6067
             Project: Maven
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 3.3.9
            Reporter: Setya


We have setup local repository, but Maven is not able to find it with the following exception

[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException:
No repository found at file:/home/setya/Documents/Project/repos/luna. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException:
No repository found at file:/home/setya/Documents/Project/repos/luna.
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No
repository found at file:/home/setya/Documents/Project/repos/luna.
	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$RepositoryLoader.loadRepositories(RepositoryArtifactProvider.java:62)
	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.init(RepositoryArtifactProvider.java:108)
	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.contains(RepositoryArtifactProvider.java:119)
	at org.eclipse.tycho.repository.local.MirroringArtifactProvider.contains(MirroringArtifactProvider.java:107)
	at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile(CompositeArtifactProvider.java:84)
	at org.eclipse.tycho.p2.target.TargetPlatformBaseImpl.getLocalArtifactFile(TargetPlatformBaseImpl.java:128)
	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addUnit(P2ResolverImpl.java:254)
	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:217)
	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:209)
	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:116)
	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:367)
	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:335)
	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:117)
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	... 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/home/setya/Documents/Project/repos/luna.
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)
	at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:104)
	at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100)
	at org.eclipse.tycho.p2.remote.RemoteArtifactRepositoryManager.loadRepository(RemoteArtifactRepositoryManager.java:103)
	at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$RepositoryLoader.loadRepositories(RepositoryArtifactProvider.java:58)
	... 27 more

Regards,
Setya



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message