Skip to content

Commit 016188f

Browse files
committed
- renamed path variables
1 parent cf92be9 commit 016188f

File tree

1 file changed

+4
-14
lines changed
  • addons/common/persistence/postgresql

1 file changed

+4
-14
lines changed

addons/common/persistence/postgresql/pom.xml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
<path.to.jdbc.addon>../jdbc</path.to.jdbc.addon>
3434
<path.to.flyway.location>kie-flyway/db</path.to.flyway.location>
3535
<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>
3838
<java.module.name>org.kie.kogito.persistence.postgresql</java.module.name>
3939
</properties>
4040

@@ -118,16 +118,6 @@
118118
</execution>
119119
</executions>
120120
</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>
131121
<!-- 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 -->
132122
<plugin>
133123
<groupId>org.apache.maven.plugins</groupId>
@@ -140,10 +130,10 @@
140130
<goal>copy-resources</goal>
141131
</goals>
142132
<configuration>
143-
<outputDirectory>${path.to.migration.scripts.to}</outputDirectory>
133+
<outputDirectory>${path.to.migration.scripts.target}</outputDirectory>
144134
<resources>
145135
<resource>
146-
<directory>${path.to.migration.scripts.from}</directory>
136+
<directory>${path.to.migration.scripts.source}</directory>
147137
</resource>
148138
</resources>
149139
</configuration>

0 commit comments

Comments
 (0)