Coder Social home page Coder Social logo

Use Azure Maven@3 task about jnxplus HOT 11 CLOSED

nosaku avatar nosaku commented on July 29, 2024
Use Azure Maven@3 task

from jnxplus.

Comments (11)

khalilou88 avatar khalilou88 commented on July 29, 2024

This feature was already asked, I will make the wrapper optional during init. And generate the correct command. But you will need to migrate to nx-maven because others plugins are not maintened

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

Yeah sure I already migrated to nx-maven in my upgrade branch.

from jnxplus.

khalilou88 avatar khalilou88 commented on July 29, 2024

@nosaku I published a new version with optional wrapper. Remove .mvn folder with executables to use the mvn command.

In local machine, if you don't have maven installed, you can use wrapper generator to add a wrapper. The generator will add the wrapper to .gitignore so nx will ignore it

from jnxplus.

khalilou88 avatar khalilou88 commented on July 29, 2024

I choose this solution to not generate extra files that we don't need. But if you want to keep the wrapper, i can add a system variable that you set on azure: NX_SKIP_MAVEN_WRAPPER

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

from jnxplus.

khalilou88 avatar khalilou88 commented on July 29, 2024

This feature allow just to use the same maven from azure. So you don't have to duplicate config in wrapper folder.
I don't think you can use maven task here with goals, if you can debug the command try to copy it in the project.json

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

when I run the build, it is not terminating even after success

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

When I ran on my local Windows laptop, it just stuck forever and when I press enter key it show "build successful" but didn't terminate. I ran npm script from package.json which calls the nx build. And when running in Azure pipeline using Ubuntu self hosted agent... it takes long time.. like I am waiting for last 5 mins and never terminates.

from jnxplus.

nosaku avatar nosaku commented on July 29, 2024

Sorry my bad... it took 7 minutes but completed :-) seems self hosted agent is bit slow as it is behind a proxy. Thanks a lot for this change. It really helped me a lot to get rid of wrapper as it was not working at all on the self hosted agents.

from jnxplus.

khalilou88 avatar khalilou88 commented on July 29, 2024

how if you run a mvn install, how much time took? if somthing don't work well with nx-maven, i use maven directly

from jnxplus.

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.