File tree Expand file tree Collapse file tree 2 files changed +42
-25
lines changed Expand file tree Collapse file tree 2 files changed +42
-25
lines changed Original file line number Diff line number Diff line change 31
31
</execution >
32
32
</executions >
33
33
</plugin >
34
+
35
+ <!-- http://www.liquibase.org/documentation/maven/ -->
36
+ <plugin >
37
+ <groupId >org.liquibase</groupId >
38
+ <artifactId >liquibase-maven-plugin</artifactId >
39
+ <version >3.5.3</version >
40
+ <configuration >
41
+ <changeLogFile >../sql/databaseChangeLog.sql</changeLogFile >
42
+ <driver >org.postgresql.Driver</driver >
43
+ <url >jdbc:postgresql://localhost:5432/masterjava</url >
44
+ <username >user</username >
45
+ <password >password</password >
46
+ <!-- <propertyFile>${masterjava.config}/liquibase.properties</propertyFile>-->
47
+ <!-- <propertyFileWillOverride>true</propertyFileWillOverride>-->
48
+ </configuration >
49
+ <executions >
50
+ <execution >
51
+ <phase >process-resources</phase >
52
+ <goals >
53
+ <goal >update</goal >
54
+ </goals >
55
+ </execution >
56
+ </executions >
57
+ </plugin >
34
58
</plugins >
35
59
</build >
36
60
Original file line number Diff line number Diff line change 21
21
<plugins >
22
22
<plugin >
23
23
<groupId >org.apache.maven.plugins</groupId >
24
- <artifactId >maven-war-plugin</artifactId >
25
- <version >3.2.0</version >
26
- <configuration >
27
- <failOnMissingWebXml >false</failOnMissingWebXml >
28
- <webResources >
29
- <resource >
30
- <directory >src/main/webapp</directory >
31
- </resource >
32
- <resource >
33
- <directory >${masterjava.config} </directory >
34
- <includes >
35
- <include >version.html</include >
36
- </includes >
37
- <filtering >true</filtering >
38
- </resource >
39
- <resource >
40
- <directory >${masterjava.config} </directory >
41
- <includes >
42
- <include >wsdl/mailService.wsdl</include >
43
- <include >wsdl/common.xsd</include >
44
- </includes >
45
- <targetPath >WEB-INF</targetPath >
46
- </resource >
47
- </webResources >
48
- </configuration >
24
+ <artifactId >maven-antrun-plugin</artifactId >
25
+ <version >1.8</version >
26
+ <executions >
27
+ <execution >
28
+ <phase >prepare-package</phase >
29
+ <goals >
30
+ <goal >run</goal >
31
+ </goals >
32
+ <configuration >
33
+ <target >
34
+ <copy todir =" target/mail/WEB-INF/wsdl" >
35
+ <!-- https://ant.apache.org/manual/Types/selectors.html-->
36
+ <fileset dir =" ${masterjava.config}/wsdl" includes =" mailService.wsdl,common.xsd" />
37
+ </copy >
38
+ </target >
39
+ </configuration >
40
+ </execution >
41
+ </executions >
49
42
</plugin >
50
43
</plugins >
51
44
</build >
You can’t perform that action at this time.
0 commit comments