Jump to content

any maven experts...need help...


dasari4kntr

Recommended Posts

i have "maven-resource-plugin" which has copy-resources goal...

it is copying each and every resource irrespective of ...is it modified resource or not...

 

i want to copy only modified resources / files...

 

is there any best way...?

Link to comment
Share on other sites

5 minutes ago, PhirLalSalam said:

talking about hot reload on local server?

some how related to that...

there is maven root with two modules...one module is services and another module is UI...

we have to copy the UI resources..(html, js, svg..etc) to services module...to make a war...so we are suing maven plugin which i mentioned in first post...

that war is configured in tomcat...to host UI and services...

 

now during the local development...when i made any changes in UI and build...only modified build files has to copy to the existing war...

 

i can run hot reloading if the entire setup is in node.js....but running in tomcat with some additional security setting is the org requirement...

Link to comment
Share on other sites

8 minutes ago, zarathustra said:

Bro are you a DevOps expert? 

I need some architectural level help

no bro... i am not in deveops...i know docker, little bit of kubernetis..but not expertise level....

Link to comment
Share on other sites

4 minutes ago, dasari4kntr said:

some how related to that...

there is maven root with two modules...one module is services and another module is UI...

we have to copy the UI resources..(html, js, svg..etc) to services module...to make a war...so we are suing maven plugin which i mentioned in first post...

that war is configured in tomcat...to host UI and services...

 

now during the local development...when i made any changes in UI and build...only modified build files has to copy to the existing war...

 

i can run hot reloading if the entire setup is in node.js....but running in tomcat with some additional security setting is the org requirement...

don't know I understand correctly or not but if u r using tomcat/eclispe follow these steps... ignore first step if u r not using Ivy

https://awol.ski/enable-hot-deployment-with-tomcat-eclipse-ivy/

Link to comment
Share on other sites

42 minutes ago, dasari4kntr said:

some how related to that...

there is maven root with two modules...one module is services and another module is UI...

we have to copy the UI resources..(html, js, svg..etc) to services module...to make a war...so we are suing maven plugin which i mentioned in first post...

that war is configured in tomcat...to host UI and services...

 

now during the local development...when i made any changes in UI and build...only modified build files has to copy to the existing war...

 

i can run hot reloading if the entire setup is in node.js....but running in tomcat with some additional security setting is the org requirement...

maven copy all files to build war it don't work like u expecting, but if you are using eclipse build automatically function helps and it works the same way with integrated tomcat

Link to comment
Share on other sites

1 hour ago, PhirLalSalam said:

don't know I understand correctly or not but if u r using tomcat/eclispe follow these steps... ignore first step if u r not using Ivy

https://awol.ski/enable-hot-deployment-with-tomcat-eclipse-ivy/

 

1 hour ago, alpachinao said:

maven copy all files to build war it don't work like u expecting, but if you are using eclipse build automatically function helps and it works the same way with integrated tomcat

using..intelliJ IDEA...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...