Coder Social home page Coder Social logo

Comments (8)

rvs avatar rvs commented on September 16, 2024

Brian,

you're correct we stopped publishing binary distributions of Oozie (QuickStart needs to be corrected) so there's tarball that would have oozie.war.

Now, I suspect that your build issue comes from the lack of ydoxia plugin. You might want to do the following before proceeding with the maven build:

$ git checkout ydoxia
$ mvn install

After that the following seems to generate the binary distribution for me just fine:

$ mvn clean package assembly:single -DskipTests

I'm tempted to close this issue, unless I hear from you otherwise

Thanks,
Roman.

from oozie.

briantm avatar briantm commented on September 16, 2024

The build failure was caused by an ambiguous version dependency on the build-helper-maven-plugin. The fix was to add in the core/pom.xml for:

            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>1.5</version>

from oozie.

angeloh avatar angeloh commented on September 16, 2024

What version of maven are you using for the build?

from oozie.

briantm avatar briantm commented on September 16, 2024

I had just upgraded to the latest: Apache Maven 2.2.1

You know, however, that the plugin above is not part of the maven distribution itself. So, depending on what repositories users are configured to access either locally or remotely, they may not get the version of the plugin you're assuming. That is apparently what happened to me and why specifying an explicit version removes the problem.

from oozie.

angeloh avatar angeloh commented on September 16, 2024

Could you try Apache Maven 2.2.0 this version without the above dependency in pom.xml and let us know if you still see the same errors or not? Please remember to remove the dependency from you local maven repo (~/.m2).
http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.0-bin.tar.gz

from oozie.

briantm avatar briantm commented on September 16, 2024

Probably would work. But as I had upgraded from maven 2.0.9 specifically in order to build oozie, and since I already had an earlier version of the build-helper-maven-plugin in my repo, and since the pom does not requiest a particular version, my 2.2.x maven used the existing, old plugin version. I assume this would happen for anyone like me who upgrades an older maven install and has used an earlier build-helper-maven-plugin before, as opposed to people doing a fresh install with no repository.

from oozie.

briantm avatar briantm commented on September 16, 2024

In other words, the problem is probably not the maven version, but the existence of an older build-helper-maven-plugin in the local repo, as you allude to.

from oozie.

tucu00 avatar tucu00 commented on September 16, 2024

would you try doing a build using the HEAD of master?

make sure you trash your ~/.m2/repository as it may be corrupted thanks to to the java.net repository (which now is not used anymore)

from oozie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.