Comments (6)
You're right... That was one of my main ideas at the beginning of the project, and I totally forgot it!!! So thanks for the bug report :-)
I don't think the yeoman-maven-plugin will help a lot, but it's worth checking out.
My idea at the moment (but I haven't tried it for real!) would be to run a "grunt build" by running something like the Maven Exec plugin: http://mojo.codehaus.org/exec-maven-plugin/usage.html
from generator-jhipster.
This project https://github.com/trecloux/yeoman-maven-samples show an example base on "yeoman-maven-plugin". The "yeoman-maven-plugin" simply execute "npm install", "bower install" and "grunt (test/)build".
The files structure is quiet different, but simply to mimic. Extract all CSS, SASS, JS, images, ... from webapp to a root subfolder to avoid to overwrite them or duplicate them. (i'm french, sorry or the English, i know you too ;-))
from generator-jhipster.
Yes, that's exactly what I want to do, run the bower/grunt commands from Maven, with the JHipster file structure.
I'm not sure it's a good idea to depend on yeoman-maven-plugin, as it's so simple we can just configure the maven exec plugin to do the same thing. But it's worth trying both options before deciding.
from generator-jhipster.
I did exactly that using maven exec plugin and two different scripts for unix/win. https://github.com/philippd/angular-spring-webmvc/blob/master/pom.xml
from generator-jhipster.
If @philippd solution already works, and doesn't need a plugin, I'll go for it! The only downside is the build scripts that need to be at the root of the project, can't those commands be run straight from the exec plugin?
from generator-jhipster.
I'll use the code from @philippd
It's going to be easy now that #32 is closed, but I'll need:
- more testing
- a good documentation to explain how you're supposed to use all this :-)
from generator-jhipster.
Related Issues (20)
- Spring security + Keycloak = access denied infinite loop
- Keycloak realm configuration is broken HOT 1
- Enums should be treated as an application resource instead of field type.
- Add support for Spring Cloud Gateway MVC HOT 17
- Release 8.3.0 with vulnerabilities fixed in Spring Boot 3.2.4 HOT 7
- DTO classes are generated without javadoc comments and without @Schema HOT 1
- Unnecessary imports added in 7.9.4 HOT 6
- [Angular] Console warnings happen when running tests in `main.component.spec.ts`
- LazyInitializationException for authorities with Elasticsearch HOT 3
- Error creating a basic application with Jhipster 8.3.0 HOT 4
- Unable to start application generated with jhipster 8.3.0 in prod profile HOT 7
- Deleting a Parent isn't working when it has a Child in a one-to-one relationship HOT 4
- Vue: Blank Parent column in Child entity list for both one-to-one and many-to-one relationships HOT 7
- Migrate React to Vite HOT 2
- extract client/vite generator and add support to react.
- Add spring-boot/graalvm generator HOT 1
- org.glassfish.jaxb.runtime.v2.util.StackRecorder: null HOT 1
- Release 8.4.0 HOT 6
- Is the structure of subgenerators a bit fragmented now? HOT 2
- Custom column id as UUID for oracle database
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 generator-jhipster.