karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aritra Chatterjee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2732) Karaf doesn't start without internet connection
Date Sat, 01 Mar 2014 02:36:19 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916735#comment-13916735
] 

Aritra Chatterjee commented on KARAF-2732:
------------------------------------------

Any ETA on this? I have tried to create a custom distribution with features scope as "compile",
that would download pax-web-features and spring and cache in system folder, however, the "wrap:mvn"
dependencies throw errors as follows during build:

{quote}
[WARNING] could not resolve wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.2.2
org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find wrap:mvn:jar:org.eclipse.jdt.core.compiler/ecj/4.2.2
in http://<dummyurl>:8081/nexus/content/groups/public was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has elapsed or updates
are forced
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
	at org.apache.karaf.tooling.features.InstallKarsMojo.resolve(InstallKarsMojo.java:354)
	at org.apache.karaf.tooling.features.InstallKarsMojo.install(InstallKarsMojo.java:334)
	at org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:278)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find wrap:mvn:jar:org.eclipse.jdt.core.compiler/ecj/4.2.2
in http://<dummyurl>:8081/nexus/content/groups/public was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has elapsed or updates
are forced
	at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
	at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
{quote}

I was trying the custom installation with pax-web 4.0.0-SNAPSHOT because I was getting similar
errors with pax-web 3.0.6-RELEASE.

> Karaf doesn't start without internet connection
> -----------------------------------------------
>
>                 Key: KARAF-2732
>                 URL: https://issues.apache.org/jira/browse/KARAF-2732
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 3.0.1
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message