Matthieu Baechler created JAMES-1624: ----------------------------------------
Summary: karaf build failure on james trunk on mvn package Key: JAMES-1624 URL: https://issues.apache.org/jira/browse/JAMES-1624 Project: James Server Issue Type: Bug Components: Build System Affects Versions: Trunk, 3.0.0-beta5 Environment: ➜ james-trunk uname -a Darwin wdx-me 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 ➜ james-trunk java -version java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) ➜ james-trunk mvn -v Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800) Maven home: /usr/share/maven Java version: 1.7.0_17, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac" ➜ james-trunk svn info Path: . Working Copy Root Path: /Users/wdx/art/open/james/james-trunk URL: http://svn.apache.org/repos/asf/james/server/trunk Repository Root: http://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1487220 Node Kind: directory Schedule: normal Last Changed Author: eric Last Changed Rev: 1476802 Last Changed Date: 2013-04-29 01:23:37 +0800 (一, 29 4 2013) Reporter: Matthieu Baechler Fix For: Trunk, 3.0.0-beta5 $ 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org