Hi, Codehaus's repository was taken offline some time ago. We've addressed this with https://issues.apache.org/jira/browse/OOZIE-2293, which will be in the 4.3.0 release.
- Robert On Tue, Nov 8, 2016 at 1:51 PM, WangYQ <wangyongqiang0...@163.com> wrote: > i download oozie 4.0.2 in windows, and move this tar to linux, build with > maven, > error log: > > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Oozie Main .................................. SUCCESS [ > 1.459 s] > [INFO] Apache Oozie Hadoop Utils .......................... SUCCESS [ > 0.973 s] > [INFO] Apache Oozie Hadoop Distcp hadoop-1-4.2.0 .......... SUCCESS [ > 0.085 s] > [INFO] Apache Oozie Hadoop Auth hadoop-1-4.2.0 ............ SUCCESS [ > 0.196 s] > [INFO] Apache Oozie Hadoop Libs ........................... SUCCESS [ > 0.018 s] > [INFO] Apache Oozie Client ................................ SUCCESS > [01:43 min] > [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ > 1.966 s] > [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [ > 2.699 s] > [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [ > 0.612 s] > [INFO] Apache Oozie Core .................................. SUCCESS > [01:10 min] > [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [ > 4.478 s] > [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [ > 3.958 s] > [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [ > 5.927 s] > [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [ > 3.401 s] > [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [ > 1.805 s] > [INFO] Apache Oozie Examples .............................. SUCCESS [ > 3.240 s] > [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [ > 3.562 s] > [INFO] Apache Oozie Share Lib ............................. SUCCESS [ > 9.112 s] > [INFO] Apache Oozie Docs .................................. FAILURE > [01:03 min] > [INFO] Apache Oozie WebApp ................................ SKIPPED > [INFO] Apache Oozie Tools ................................. SKIPPED > [INFO] Apache Oozie MiniOozie ............................. SKIPPED > [INFO] Apache Oozie Distro ................................ SKIPPED > [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 04:42 min > [INFO] Finished at: 2016-11-08T20:21:07+08:00 > [INFO] Final Memory: 193M/767M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal org.apache.maven.plugins: > maven-site-plugin:2.0-beta-6:site (default) on project oozie-docs: The > site descriptor cannot be resolved from the repository: Could not transfer > artifact org.apache:apache:xml:site_en:16 from/to Codehaus repository ( > http://repository.codehaus.org/): Connect to repository.codehaus.org:80 [ > repository.codehaus.org/211.98.71.195] failed: Connection timed out > [ERROR] org.apache:apache:xml:16 > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] central (http://repo1.maven.org/maven2, releases=true, > snapshots=false), > [ERROR] Codehaus repository (http://repository.codehaus.org/, > releases=true, snapshots=false), > [ERROR] apache.snapshots.repo (https://repository.apache. > org/content/groups/snapshots, releases=true, snapshots=true), > [ERROR] datanucleus (http://www.datanucleus.org/downloads/maven2, > releases=true, snapshots=false), > [ERROR] apache.snapshots (http://repository.apache.org/snapshots, > releases=false, snapshots=true) > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [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 :oozie-docs > > > i edit pom.xml in root of oozie, remove > <repository> > <id>Codehaus repository</id> > <url>http://repository.codehaus.org/</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > > > build success, is this a bug? > >