karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ehsan Zaery Moghaddam <zaerymoghad...@gmail.com>
Subject Re: Build failure on Karaf trunk...
Date Sat, 26 Oct 2013 20:41:55 GMT
Thanks Jean

You're right. It works by "mvn clean install".

Regards

Ehsan



On Sat, Oct 26, 2013 at 6:39 PM, Jean-Baptiste Onofré <jb@nanthrax.net>wrote:

> Hi,
>
> did you do a complete mvn clean install ?
>
> The karaf-maven-plugin is not yet present in your repo.
>
> Regards
> JB
>
>
> On 10/26/2013 04:31 PM, zaerymoghaddam wrote:
>
>> Hi all
>>
>> I've installed a new clean version of Ubuntu 13.01 with Maven 3.0.5,
>> JRockit
>> 1.6.0.45 . I've checked out a fresh copy of trunk and tried to build an
>> eclipse project using "mvn eclipse:eclipse" and it gives me this error:
>>
>> [ERROR] Plugin org.apache.karaf.tooling:**karaf-maven-plugin:3.0.0-**SNAPSHOT
>> or
>> one of its dependencies could not be resolved: Could not find artifact
>> org.apache.karaf.tooling:**karaf-maven-plugin:jar:3.0.0-**SNAPSHOT ->
>> [Help 1]
>> org.apache.maven.plugin.**PluginResolutionException: Plugin
>> org.apache.karaf.tooling:**karaf-maven-plugin:3.0.0-**SNAPSHOT or one of
>> its
>> dependencies could not be resolved: Could not find artifact
>> org.apache.karaf.tooling:**karaf-maven-plugin:jar:3.0.0-**SNAPSHOT
>>         at
>> org.apache.maven.plugin.**internal.**DefaultPluginDependenciesResol**
>> ver.resolve(**DefaultPluginDependenciesResol**ver.java:140)
>>         at
>> org.apache.maven.plugin.**internal.**DefaultMavenPluginManager.**
>> getPluginDescriptor(**DefaultMavenPluginManager.**java:142)
>>         at
>> org.apache.maven.plugin.**internal.**DefaultMavenPluginManager.**
>> getMojoDescriptor(**DefaultMavenPluginManager.**java:261)
>>         at
>> org.apache.maven.plugin.**DefaultBuildPluginManager.**getMojoDescriptor(*
>> *DefaultBuildPluginManager.**java:185)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateLifecycleMappings(**DefaultLifecycleExecutionPlanC**
>> alculator.java:280)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateForkedLifecycle(**DefaultLifecycleExecutionPlanC**
>> alculator.java:520)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateForkedExecutions(**DefaultLifecycleExecutionPlanC**
>> alculator.java:494)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.setupMojoExecution(**DefaultLifecycleExecutionPlanC**
>> alculator.java:166)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.setupMojoExecutions(**DefaultLifecycleExecutionPlanC**
>> alculator.java:139)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateExecutionPlan(**DefaultLifecycleExecutionPlanC**
>> alculator.java:116)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateExecutionPlan(**DefaultLifecycleExecutionPlanC**
>> alculator.java:129)
>>         at
>> org.apache.maven.lifecycle.**internal.BuilderCommon.**resolveBuildPlan(**
>> BuilderCommon.java:92)
>>         at
>> org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.**
>> buildProject(**LifecycleModuleBuilder.java:**81)
>>         at
>> org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.**
>> buildProject(**LifecycleModuleBuilder.java:**60)
>>         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:**39)
>>         at
>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>> DelegatingMethodAccessorImpl.**java:25)
>>         at java.lang.reflect.Method.**invoke(Method.java:597)
>>         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:354)
>> Caused by: org.sonatype.aether.**resolution.**ArtifactResolutionException:
>> Could
>> not find artifact
>> org.apache.karaf.tooling:**karaf-maven-plugin:jar:3.0.0-**SNAPSHOT
>>         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.maven.plugin.**internal.**DefaultPluginDependenciesResol**
>> ver.resolve(**DefaultPluginDependenciesResol**ver.java:136)
>>         ... 28 more
>> Caused by: org.sonatype.aether.transfer.**ArtifactNotFoundException:
>> Could not
>> find artifact org.apache.karaf.tooling:**karaf-maven-plugin:jar:3.0.0-**
>> SNAPSHOT
>>         at
>> org.sonatype.aether.impl.**internal.**DefaultArtifactResolver.**resolve(*
>> *DefaultArtifactResolver.java:**528)
>>         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.maven.plugin.**internal.**DefaultPluginDependenciesResol**
>> ver.resolve(**DefaultPluginDependenciesResol**ver.java:136)
>>         at
>> org.apache.maven.plugin.**internal.**DefaultMavenPluginManager.**
>> getPluginDescriptor(**DefaultMavenPluginManager.**java:142)
>>         at
>> org.apache.maven.plugin.**internal.**DefaultMavenPluginManager.**
>> getMojoDescriptor(**DefaultMavenPluginManager.**java:261)
>>         at
>> org.apache.maven.plugin.**DefaultBuildPluginManager.**getMojoDescriptor(*
>> *DefaultBuildPluginManager.**java:185)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateLifecycleMappings(**DefaultLifecycleExecutionPlanC**
>> alculator.java:280)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateForkedLifecycle(**DefaultLifecycleExecutionPlanC**
>> alculator.java:520)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateForkedExecutions(**DefaultLifecycleExecutionPlanC**
>> alculator.java:494)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.setupMojoExecution(**DefaultLifecycleExecutionPlanC**
>> alculator.java:165)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.setupMojoExecutions(**DefaultLifecycleExecutionPlanC**
>> alculator.java:139)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateExecutionPlan(**DefaultLifecycleExecutionPlanC**
>> alculator.java:116)
>>         at
>> org.apache.maven.lifecycle.**internal.**DefaultLifecycleExecutionPlanC**
>> alculator.**calculateExecutionPlan(**DefaultLifecycleExecutionPlanC**
>> alculator.java:129)
>>         at
>> org.apache.maven.lifecycle.**internal.BuilderCommon.**resolveBuildPlan(**
>> BuilderCommon.java:92)
>>         at
>> org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.**
>> buildProject(**LifecycleModuleBuilder.java:**81)
>>         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:**39)
>>         at
>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>> DelegatingMethodAccessorImpl.**java:25)
>>         at java.lang.reflect.Method.**invoke(Method.java:597)
>>         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)
>> [ERROR]
>> [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/**
>> PluginResolutionException<http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException>
>>
>> Here is the output of "mvn -version":
>>
>> Apache Maven 3.0.5 (**r01de14724cdef164cd33c7c8c2fe1**55faf9602da;
>> 2013-02-19
>> 17:21:28+0330)
>> Maven home: /home/moghaddam/Applications/**apache-maven-3.0.5
>> Java version: 1.6.0_45, vendor: Oracle Corporation
>> Java home:
>> /home/moghaddam/Applications/**jrockit-jdk1.6.0_45-R28.2.7-4.**1.0/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family:
>> "unix"
>>
>>
>>
>>
>> -----
>> E.Z.Moghaddam
>> zaerymoghaddam@gmail.com
>> --
>> View this message in context: http://karaf.922171.n3.nabble.**
>> com/Build-failure-on-Karaf-**trunk-tp4030054p4030072.html<http://karaf.922171.n3.nabble.com/Build-failure-on-Karaf-trunk-tp4030054p4030072.html>
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message