Constantly, when reassembling an artifact, the assembly site of the artifact flies to the target folder in the root directory by default, and I need it to be collected in the jboss server jboss .

Why so, and how can I customize the default build location for the project?

  • This is a bug idea. I myself face this. Need to write in JetBrains - Tsyklop

1 answer 1

To change the target folder, which by default target in pom.xml need to change some properties:

 <build> <directory>jboss</directory> ... </build> 

This property will be used when you run the war:war target for maven-war-plugin-3.2.1 . More details can be read here .