[
https://issues.apache.org/jira/browse/OOZIE-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andras Salamon updated OOZIE-3557:
----------------------------------
Description:
According to the Oozie [build
docs|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/ENG_Building.md],
the minimum required maven version is 3.0.1.
According to the pom.xml the minimum required version is 3.0.0
According to the test of [~asasvari] Oozie cannot be compiled using maven
3.3.9, which means we need to find the minimum required version and update the
documentation and the pom.xml
The error message for maven 3.3.9:
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:copy (copy-sharelib) on
project oozie-webapp: Unable to find/resolve artifact.
com.google.inject.ProvisionException: Unable to provision, see the following
errors:
[ERROR]
[ERROR] 1) Error injecting: private org.eclipse.aether.spi.log.Logger
org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger
[ERROR] while locating
org.apache.maven.repository.internal.DefaultVersionRangeResolver
[ERROR] while locating java.lang.Object annotated with *
[ERROR] at org.eclipse.sisu.wire.LocatorWiring
[ERROR] while locating org.eclipse.aether.impl.VersionRangeResolver
[ERROR] for parameter 2 at
org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.<init>(Unknown
Source)
[ERROR] while locating
org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector
[ERROR] while locating java.lang.Object annotated with *
[ERROR] at org.eclipse.sisu.wire.LocatorWiring {noformat}
According to my tests Oozie compiles using maven 3.5.3
was:
According to the Oozie [build
docs|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/ENG_Building.md],
the minimum required maven version is 3.0.1.
According to the pom.xml the minimum required version is 3.0.0
According to the test of [~asasvari] Oozie cannot be compiled using maven
3.3.9, which means we need to find the minimum required version and update the
documentation and the pom.xml
According to my tests Oozie compiles using maven 3.5.3
> [build] Update required minimum maven version
> ---------------------------------------------
>
> Key: OOZIE-3557
> URL: https://issues.apache.org/jira/browse/OOZIE-3557
> Project: Oozie
> Issue Type: Bug
> Affects Versions: 5.1.0, 5.2.0
> Reporter: Andras Salamon
> Priority: Major
>
> According to the Oozie [build
> docs|https://github.com/apache/oozie/blob/master/docs/src/site/markdown/ENG_Building.md],
> the minimum required maven version is 3.0.1.
> According to the pom.xml the minimum required version is 3.0.0
> According to the test of [~asasvari] Oozie cannot be compiled using maven
> 3.3.9, which means we need to find the minimum required version and update
> the documentation and the pom.xml
> The error message for maven 3.3.9:
> {noformat}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:copy (copy-sharelib)
> on project oozie-webapp: Unable to find/resolve artifact.
> com.google.inject.ProvisionException: Unable to provision, see the following
> errors:
> [ERROR]
> [ERROR] 1) Error injecting: private org.eclipse.aether.spi.log.Logger
> org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger
> [ERROR] while locating
> org.apache.maven.repository.internal.DefaultVersionRangeResolver
> [ERROR] while locating java.lang.Object annotated with *
> [ERROR] at org.eclipse.sisu.wire.LocatorWiring
> [ERROR] while locating org.eclipse.aether.impl.VersionRangeResolver
> [ERROR] for parameter 2 at
> org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector.<init>(Unknown
> Source)
> [ERROR] while locating
> org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector
> [ERROR] while locating java.lang.Object annotated with *
> [ERROR] at org.eclipse.sisu.wire.LocatorWiring {noformat}
>
> According to my tests Oozie compiles using maven 3.5.3
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)