Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1624

karaf build failure on james trunk on mvn package

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 3.0.0-beta5
    • Fix Version/s: Trunk, 3.0.0-beta5
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Description

      $ mvn clean package -X -DskipTests=true

      ......
      ......
      [INFO] Apache James :: Server ............................ SUCCESS [2.266s]
      [INFO] Apache James :: Server :: Data :: API ............ SUCCESS [2.375s]
      [INFO] Apache James :: Server :: Lifecycle API ........... SUCCESS [0.987s]
      [INFO] Apache James :: Server :: Filesystem API .......... SUCCESS [1.124s]
      [INFO] Apache James :: Server :: Mailetcontainer API ..... SUCCESS [0.701s]
      [INFO] Apache James :: Server :: Common Utilities ........ SUCCESS [1.575s]
      [INFO] Apache James :: Server :: Protocols Library ....... SUCCESS [1.181s]
      [INFO] Apache James :: Server :: Core .................... SUCCESS [1.092s]
      [INFO] Apache James :: Server :: Container Spring ........ SUCCESS [2.466s]
      [INFO] Apache James :: Server :: Client .................. SUCCESS [1.088s]
      [INFO] Apache James :: Server :: DNS Service :: API ...... SUCCESS [0.363s]
      [INFO] Apache James :: Server :: DNS Service :: Library .. SUCCESS [0.638s]
      [INFO] Apache James :: Server :: Mail Queue :: API ....... SUCCESS [0.497s]
      [INFO] Apache James :: Server :: Mailetcontainer Camel ... SUCCESS [1.471s]
      [INFO] Apache James :: Server :: Mailbox Adapter ......... SUCCESS [0.658s]
      [INFO] Apache James :: Server :: DNS Service :: Implementation SUCCESS [0.480s]
      [INFO] Apache James :: Server :: Data :: Library ......... SUCCESS [0.974s]
      [INFO] Apache James :: Server :: Data :: LDAP Implementation SUCCESS [0.483s]
      [INFO] Apache James :: Server :: SMTP .................... SUCCESS [1.684s]
      [INFO] Apache James :: Server :: IMAP .................... SUCCESS [0.641s]
      [INFO] Apache James :: Server :: LMTP .................... SUCCESS [0.811s]
      [INFO] Apache James :: Server :: POP3 .................... SUCCESS [0.829s]
      [INFO] Apache James :: Server :: FetchMail ............... SUCCESS [0.632s]
      [INFO] Apache James :: Server :: Mail Queue :: File ...... SUCCESS [0.519s]
      [INFO] Apache James :: Server :: Mail Queue :: JMS ....... SUCCESS [0.964s]
      [INFO] Apache James :: Server :: Mail Queue :: ActiveMQ .. SUCCESS [0.898s]
      [INFO] Apache James :: Server :: Mailets ................. SUCCESS [1.878s]
      [INFO] Apache James :: Server :: Data :: File Persistence SUCCESS [0.719s]
      [INFO] Apache James :: Server :: Data :: JPA Persistence . SUCCESS [1.664s]
      [INFO] Apache James :: Server :: Data :: JDBC Persistence SUCCESS [1.177s]
      [INFO] Apache James :: Server :: Data :: HBase Persistence SUCCESS [3.562s]
      [INFO] Apache James :: Server :: Data :: JCR Persistence . SUCCESS [1.035s]
      [INFO] Apache James :: Server :: App ..................... SUCCESS [9.655s]
      [INFO] Apache James :: Karaf :: Features ................. SUCCESS [0.342s]
      [INFO] Apache James :: Karaf :: James Server ............. FAILURE [7.591s]
      [INFO] Apache James :: Karaf :: Integration tests ........ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 57.322s
      [INFO] Finished at: Wed May 29 11:41:01 CST 2013
      [INFO] Final Memory: 98M/465M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.0:add-features-to-repo (add-features-to-repo) on project james-karaf-distribution: Error populating repository: /Users/wdx/.m2/repository/org/apache/james/karaf/james-karaf-features/3.0.0-beta5-SNAPSHOT/james-karaf-features-3.0.0-beta5-SNAPSHOT-features.xml (No such file or directory) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.0:add-features-to-repo (add-features-to-repo) on project james-karaf-distribution: Error populating repository
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      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:319)
      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:601)
      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.apache.maven.plugin.MojoExecutionException: Error populating repository
      at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:223)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
      Caused by: java.io.FileNotFoundException: /Users/wdx/.m2/repository/org/apache/james/karaf/james-karaf-features/3.0.0-beta5-SNAPSHOT/james-karaf-features-3.0.0-beta5-SNAPSHOT-features.xml (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at java.io.FileInputStream.<init>(FileInputStream.java:97)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
      at java.net.URL.openStream(URL.java:1037)
      at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo$Repository.loadFeatures(AddFeaturesToRepoMojo.java:465)
      at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo$Repository.getFeatures(AddFeaturesToRepoMojo.java:428)
      at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.retrieveDescriptorsRecursively(AddFeaturesToRepoMojo.java:238)
      at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:152)
      ... 21 more
      [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/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :james-karaf-distribution

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              matthieu Matthieu Baechler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment