File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
addons/common/persistence/postgresql Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 33
33
<path .to.jdbc.addon>../jdbc</path .to.jdbc.addon>
34
34
<path .to.flyway.location>kie-flyway/db</path .to.flyway.location>
35
35
<path .to.script.folder>src/main/resources/${path.to.flyway.location} /persistence-jdbc/postgresql</path .to.script.folder>
36
- <path .to.migration.scripts.from >${path.to.jdbc.addon} /${path.to.script.folder} </path .to.migration.scripts.from >
37
- <path .to.migration.scripts.to >target/classes/${path.to.flyway.location} /persistence-postgresql/postgresql</path .to.migration.scripts.to >
36
+ <path .to.migration.scripts.source >${path.to.jdbc.addon} /${path.to.script.folder} </path .to.migration.scripts.source >
37
+ <path .to.migration.scripts.target >target/classes/${path.to.flyway.location} /persistence-postgresql/postgresql</path .to.migration.scripts.target >
38
38
<java .module.name>org.kie.kogito.persistence.postgresql</java .module.name>
39
39
</properties >
40
40
118
118
</execution >
119
119
</executions >
120
120
</plugin >
121
- <plugin >
122
- <artifactId >maven-clean-plugin</artifactId >
123
- <configuration >
124
- <filesets >
125
- <fileset >
126
- <directory >${path.to.script.folder} </directory >
127
- </fileset >
128
- </filesets >
129
- </configuration >
130
- </plugin >
131
121
<!-- The cleanest way would be to use the maven-dependency-plugin to unpack and copy scripts from the built artifact `kie-addons-persistence-jdbc` but there's a limitation to using this only in the `package` phase whereas we need that into the `generate-sources` phase. See also https://issues.apache.org/jira/browse/MDEP-98 -->
132
122
<plugin >
133
123
<groupId >org.apache.maven.plugins</groupId >
140
130
<goal >copy-resources</goal >
141
131
</goals >
142
132
<configuration >
143
- <outputDirectory >${path.to.migration.scripts.to } </outputDirectory >
133
+ <outputDirectory >${path.to.migration.scripts.target } </outputDirectory >
144
134
<resources >
145
135
<resource >
146
- <directory >${path.to.migration.scripts.from } </directory >
136
+ <directory >${path.to.migration.scripts.source } </directory >
147
137
</resource >
148
138
</resources >
149
139
</configuration >
You can’t perform that action at this time.
0 commit comments