Comments (11)
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.
Yeah sure I already migrated to nx-maven in my upgrade branch.
from jnxplus.
@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.
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.
from jnxplus.
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.
from jnxplus.
when I run the build, it is not terminating even after success
from jnxplus.
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.
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.
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)
- {options.outputDirLocalRepo} not working if moved to nx.json HOT 6
- NX remove does not remove Gradle module from settings.gradle.kts HOT 1
- [nx-maven] Hyphen '-' is not removed in @SpringBootApplication(scanBasePackages = "com.acme.sda-example") HOT 1
- THANK YOU
- How to use ktlint for nx-maven and nx-gradle? HOT 6
- nx show projects hangs with @jnxplus/nx-maven:0.24.3 and nx:17.0.2 HOT 17
- Version 1.0.0 with Nx 19 HOT 2
- Project crystal HOT 6
- Logs not visible when running the application HOT 4
- Gradle :projectDependencyTask fails if NX Daemon is not running HOT 3
- {options.outputDirLocalRepo} not caching HOT 11
- Export nx-maven run-task executor HOT 2
- nx-maven:run-task skipProject option HOT 8
- Project not marked as affected if dependency upgraded HOT 5
- Performance and mvnd HOT 7
- 1.2.0 and 1.3.0+ problems HOT 4
- jnxplus and nx remote caches HOT 3
- Exclude src/test from build
- consider profile dependencies in maven graph HOT 4
- Flag to not create a virtual root folder project? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jnxplus.