Maven projects fixes and improvements
* Fixed copy of the SQL files to the distribution * Distribution packages will now execute an automatic clean-up before assembling. While this will avoid having dirty, old files in the distribution directory, it also has a negative consequence - configuration files will be destroyed if they exist.
This commit is contained in:
parent
24f40c5549
commit
30a1080e6e
4 changed files with 39 additions and 3 deletions
legacyworlds-web-DIST
|
@ -32,9 +32,23 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Use the assembly plug-in to generate the distribution -->
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Clean the target directory before generating the distribution -->
|
||||
<plugin>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>clean-before-assembly</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Use the assembly plug-in to generate the distribution -->
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
|
|
Reference in a new issue