Skip to content

Commit

Permalink
recreate productized-db-scripts.xml removed from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira committed Oct 11, 2024
1 parent b516e43 commit b5e95e7
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
13 changes: 13 additions & 0 deletions addons/common/persistence/ddl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,17 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>productized</id>
<activation>
<property>
<name>productized</name>
</property>
</activation>
<properties>
<db.scripts.descriptor>src/assembly/productized-db-scripts.xml</db.scripts.descriptor>
</properties>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>db-scripts</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${path.to.persistence.modules}/jdbc/src/main/resources/kie-flyway/db/persistence-jdbc/postgresql</directory>
<outputDirectory>postgresql</outputDirectory>
<includes>
<include>*.sql</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit b5e95e7

Please sign in to comment.