Skip to content

Commit

Permalink
build: store etc-files in mosaic-starter and copy them to bundle (ecl…
Browse files Browse the repository at this point in the history
…ipse#423)

* build: store etc-files in mosaic-starter and copy them to bundle and integration tests
* clean: remove unnecessary properties from copy-resources definition
  • Loading branch information
kschrab authored and FunKuchen committed Nov 4, 2024
1 parent 5dd5cbd commit fb1b84a
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 577 deletions.
21 changes: 21 additions & 0 deletions bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,27 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-defaults-xml</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}/target/classes/etc</outputDirectory>
<resources>
<resource>
<directory>${project.parent.basedir}/rti/mosaic-starter/etc</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
Expand Down
3 changes: 3 additions & 0 deletions bundle/src/assembly/bundle-resources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>etc/**</exclude>
</excludes>
</fileSet>
</fileSets>

Expand Down
2 changes: 1 addition & 1 deletion bundle/src/assembly/mosaic-bundle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>src/assembly/resources/etc</directory>
<directory>${project.build.directory}/classes/etc</directory>
<outputDirectory>etc</outputDirectory>
<includes>
<include>**</include>
Expand Down
Loading

0 comments on commit fb1b84a

Please sign in to comment.