[
https://issues.apache.org/jira/browse/OOZIE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guo Ruijing updated OOZIE-1652:
-------------------------------
Summary: Build oozie by JDK 1.7 in default (was: Support JDK 1.7)
1. update JIRA title
2. existing code:
<properties>
<javaVersion>1.6</javaVersion>
<targetJavaVersion>1.6</targetJavaVersion>
<sourceJavaVersion>1.6</sourceJavaVersion>
<targetJavaVersion>1.7</targetJavaVersion>
> Build oozie by JDK 1.7 in default
> ---------------------------------
>
> Key: OOZIE-1652
> URL: https://issues.apache.org/jira/browse/OOZIE-1652
> Project: Oozie
> Issue Type: Improvement
> Components: bundle
> Affects Versions: 4.0.0
> Reporter: Michael Knapp
>
> The oozie pom file requires people to be using JDK 1.6, and will not build
> with JDK 1.7. It actually sets a maximum of java 1.6.1.
> I modified it to use this:
> <version>[${javaVersion}.0,)</version>
> Now I am getting this error:
> [ERROR] Failed to execute goal on project oozie-hadoop: Could not resolve
> dependencies for project
> org.apache.oozie:oozie-hadoop:jar:2.2.0-SNAPSHOT.oozie-4.0.0: Failure to find
> org.apache.hadoop:hadoop-client:jar:2.2.0-SNAPSHOT in
> https://repository.apache.org/content/groups/snapshots was cached in the
> local repository, resolution will not be reattempted until the update
> interval of apache.snapshots.repo has elapsed or updates are forced -> [Help
> 1]
> The Oozie documentation says it was tested with hadoop 0.20 and 1, so why
> does the project depend on hadoop 2? I guess it doesn't matter that it
> depends on that, what does matter is the fact that the resource does not
> exist and the project can't be built.
> Shouldn't you provide a pre-built tar ball with all the jars already built?
> I don't think you should make everybody build the jar.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)