Skip to content

Commit

Permalink
recreate productized-multi-repo-zip.xml removed from upstream (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira authored Oct 11, 2024
1 parent 6df0a06 commit eacfb2b
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
13 changes: 13 additions & 0 deletions persistence-commons/kogito-ddl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,17 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>productized</id>
<activation>
<property>
<name>productized</name>
</property>
</activation>
<properties>
<db.scripts.descriptor>src/assembly/productized-multi-repo-zip.xml</db.scripts.descriptor>
</properties>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!--
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>
<dependencySets>
<dependencySet>
<unpack>true</unpack>
<outputDirectory>.</outputDirectory>
<includes>
<include>org.kie:kie-ddl-runtimes:zip:db-scripts</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<!-- Data Index -->
<fileSet>
<directory>${project.root.dir}/data-index/data-index-storage/data-index-storage-postgresql/src/main/resources/kie-flyway/db/data-index/postgresql</directory>
<outputDirectory>postgresql/data-index</outputDirectory>
<includes>
<include>*.sql</include>
</includes>
</fileSet>
<!-- Job Service -->
<fileSet>
<directory>${project.root.dir}/jobs-service/jobs-service-postgresql-common/src/main/resources/kie-flyway/db/jobs-service/postgresql</directory>
<outputDirectory>postgresql/jobs-service</outputDirectory>
<includes>
<include>*.sql</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit eacfb2b

Please sign in to comment.