Git Product home page Git Product logo

Comments (2)

martinjoconnor avatar martinjoconnor commented on June 15, 2024 1

Response from Travis (via Graham):

[...begin quote...]
Thanks for reaching out and sorry for this issue.

I think I know the problem. Travis CI executes some default steps "under the hood" for Java projects. In the "install:" steps, we call "mvn install -DskipTests=true". This is what we see in your build log and this call doesn't have your Maven settings file thus that's why it fails.

If you don't need this default step (i.e. mvn install), you can add the following to your .travis.yml file:

install: true

Else, if you need it, you can add the following:

install: mvn install -DskipTests=true --settings .m2/travis-settings.xml

Can you try one of these suggestions and let us know if it helps?

Please send us the resulting build log(s) and we will continue from there.

Thanks in advance and have a great day!

-- Dominic.
[...end quote...]

from cedar-project.

martinjoconnor avatar martinjoconnor commented on June 15, 2024

We now have commercial version. Graham has opened help ticket. Here is problem description:

I have a repo called cedar-parent (https://github.com/metadatacenter/cedar-parent) that has has no dependencies. When I push to the ‘develop’ branch I successfully deploy a SNAPSHOT POM artifact (0.9.0-SNAPSHOT) to our Nexus server (http://nexus.bmir.stanford.edu/#nexus-search;quick~cedar) from the Travis build server.

My second repo called biosample-exporter (https://github.com/metadatacenter/biosample-exporter) depends on the generated parent artifact but, as mentioned, Travis seems to completely ignore my Maven configuration pointing to our Nexus server so does not find the artifact.

Here is the configuration file for the biosample-exporter:

https://github.com/metadatacenter/biosample-exporter/blob/develop/.m2/travis-settings.xml

(Note that all examples above are on the ‘develop’ branch.)

Here is the error:

https://travis-ci.org/metadatacenter/biosample-exporter

from cedar-project.

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.