Coder Social home page Coder Social logo

Comments (6)

christophd avatar christophd commented on May 24, 2024

Relative paths in parent Maven pom is a usual thing to do and the paths are correct. Maven build is successful and Maven repositories can access the Citrus artifacts. I believe Gradle interprets the relative path when reading artifacts from the Maven repository which is not adequate

from citrus.

holzerc avatar holzerc commented on May 24, 2024

Well, no other library or framework that I know has similar problems with Gradle. So it is obviously not a usual thing to do.

It is your decision to support or not support Gradle. However for the sake of other Gradle users it would be very helpful to point it out in the documentation.

from citrus.

christophd avatar christophd commented on May 24, 2024

Well, no other library or framework that you know uses relative Maven parent pom. Then all Maven projects using relative parent pom are not supported by Gradle. I think this should be pointed out.

from citrus.

rhuss avatar rhuss commented on May 24, 2024

@holzerc, maybe you can provide a concrete example with error messages ? The relative path in the poms looks correct and of course gradle should support the resolution as the vast majority of maven modules (if not the vast majorit) use relative paths this way.

And even then, if the parent POM could not be found in the filesystem it is resolved via the maven coordinates in the repository.

So I guess, your problem has a different origin.

from citrus.

holzerc avatar holzerc commented on May 24, 2024

It is very easy to reproduce the problem. Just use Citrus with Gradle. Christoph already saw the behavior twice with two different customer projects.

The only workaround he could provide was either not using Gradle or patching all Citrus pom.xml files in the local Maven repository.

from citrus.

rhuss avatar rhuss commented on May 24, 2024

ok. I'm out, since I don't have a Gradle setup with Citrus at hand to reproduce it and without a concrete, stripped down example, I can't help much.

I'm pretty sure that it can be fixed, though.

Cheers ...

from citrus.

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.