Mvn -Prod removes line from <script> when running

Asked

Viewed 13 times

-1

Every time I run the command below to generate . War, if I added some new js (library) in index, it removes.

mvn -Pprod clean package

When I run the system through the IDE, it works normally.

Any idea what it might be ? :|

1 answer

0

You may be creating your new script inside the folder /targetof your project. When the mvn clean <qualquer coisa> the briefcase target is deleted and generated again without your script. I’ve been through it a few times :)

  • Hi. Thanks for answering. Worst not in the Target folder.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.