karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-2743) karaf-maven-plugin can not create custom Karaf with Apache Camel
Date Wed, 09 Apr 2014 19:18:16 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-2743:
----------------------------------------

    Fix Version/s:     (was: 3.0.1)
                   3.0.2

> karaf-maven-plugin can not create custom Karaf with Apache Camel
> ----------------------------------------------------------------
>
>                 Key: KARAF-2743
>                 URL: https://issues.apache.org/jira/browse/KARAF-2743
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>         Environment: Fedora 20, Oracle JDK 1.7.0_51, Maven 3.0.4, karaf-maven-plugin
3.0.0
>            Reporter: Partha Roy
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.2
>
>         Attachments: karaf-camel-bug.tar.gz
>
>
> This has already been posted to the mailing lists and seems like a fix is on the way.
Just wanted to report it here as well so that people can find when this gets fixed easily.
However, I am using more recent versions of camel for this.
> The following email in the mailing list addresses the same issue that I have been having:
> http://mail-archives.apache.org/mod_mbox/karaf-user/201401.mbox/%3C1389690368747-4030997.post@n3.nabble.com%3E
> I'll upload a sample project to reproduce this. When I do `mvn clean install`, I get
the following stack trace in the maven output:
> {code}
> [WARNING] could not resolve wrap:mvn:org.facebook4j/facebook4j-core/1.1.12
> org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find wrap:mvn:jar:org.facebook4j/facebook4j-core/1.1.12
in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will
not be reattempted until the update interval of central 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.facebook4j/facebook4j-core/1.1.12
in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will
not be reattempted until the update interval of central 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message