Il 20/Ago/2016 13:18, "Juan Hernández" <jhernand@redhat.com> ha scritto:
>
> On 08/20/2016 11:52 AM, Sandro Bonazzola wrote:
> > It's a rainy Saturday and I'm getting annoyed so I'm looking at future
> > and looks like at least in terms of maven future we have bad weather as
> > well:
> >
>
> What version of Maven is using rawhide? I use latest, 3.3.9, and it
> doesn't generate those errors.
It is a 3.4.0 pre release.
> Anyhow, I believe those errors can be
> avoided:
>
> https://gerrit.ovirt.org/#/q/topic:fix_maven_errors
>
> Hope your day gets sunnier :-) .
Still raining, but better ☺
>
> > [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> > [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
> > must be unique: ${engine.groupId}:common:test-jar -> duplicate
> > declaration of version ${engine.version} @
> > org.ovirt.engine.core:utils:[unknown-version],
> > /builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/utils/pom.xml,
> > line 155, column 17
> > [ERROR] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
> > found duplicate declaration of plugin
> > org.codehaus.mojo:exec-maven-plugin @
> > org.ovirt.engine.api:restapi-definition:[unknown-version],
> > /builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/restapi/interface/definition/pom.xml,
> > line 213, column 15
> > [WARNING] 'build.plugins.plugin.version' for
> > org.apache.maven.plugins:maven-dependency-plugin is missing. @
> > org.ovirt.engine.api:restapi-definition:[unknown-version],
> > /builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/restapi/interface/definition/pom.xml,
> > line 72, column 15
> > @
> > [ERROR] The build could not read 2 projects -> [Help 1]
> > [ERROR]
> > [ERROR] The project org.ovirt.engine.core:utils:4.1.0-SNAPSHOT
> > (/builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/utils/pom.xml)
> > has 1 error
> > [ERROR]
> > 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
> > unique: ${engine.groupId}:common:test-jar -> duplicate declaration of
> > version ${engine.version} @
> > org.ovirt.engine.core:utils:[unknown-version],
> > /builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/utils/pom.xml,
> > line 155, column 17
> > [ERROR]
> > [ERROR] The project
> > org.ovirt.engine.api:restapi-definition:4.1.0-SNAPSHOT
> > (/builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/restapi/interface/definition/pom.xml)
> > has 1 error
> > [ERROR] 'build.plugins.plugin.(groupId:artifactId)' must be unique
> > but found duplicate declaration of plugin
> > org.codehaus.mojo:exec-maven-plugin @
> > org.ovirt.engine.api:restapi-definition:[unknown-version],
> > /builddir/build/BUILD/ovirt-engine-4.1.0/backend/manager/modules/restapi/interface/definition/pom.xml,
> > line 213, column 15
> > [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/ProjectBuildingException
> >
> > (got building engine on fedora rawhide aka fc26)
> >
>
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.